// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package model import ( "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 int `orm:"Surplus" json:"surplus"` // 账户余额 Available int `orm:"Available" json:"available"` // 可用余额 Limit int `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 []BaseAccountResp `json:"records"` Total int `json:"total"'` }