// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( "github.com/gogf/gf/os/gtime" "lims_adapter/model/account/internal" ) // BaseAccount is the golang structure for table base_account. type BaseAccount internal.BaseAccount // Fill with you ideas below. type BaseAccountResp struct { Id int `orm:"Id,primary" json:"id"` // 主键 Account string `orm:"Account" json:"account"` // 账户 AccountName string `orm:"AccountName" json:"accountName"` // 账户名称 Surplus float64 `orm:"Surplus" json:"surplus"` // 账户余额 Available float64 `orm:"Available" json:"available"` // 可用余额 Limit float64 `orm:"Limit" json:"limit"` // 使用限额 Advance int `orm:"Advance" json:"advance"` // 优先级 UserId int `orm:"UserId" json:"userId"` // 使用人Id RealName string `orm:"RealName" json:"realName"` } type AccountReq struct { PageNun int `json:"pageNum"` PageSize int `json:"pageSize"` Account string `json:"account"` AccountName string `json:"accountName"` RealName string `json:"realName"` } type BaseAccountRsp struct { Records []BaseAccount `json:"records"` Total int `json:"total"` } type CalculateAmountReq struct { AppointId int `json:"appointId"` SignInTime *gtime.Time `json:"sign_in_time"` // 签到时间 SignOutTime *gtime.Time `json:"sign_out_time"` // 签退时间 }type SubAccountReq struct { SubId string `json:"subid"` }