zhangqian
2023-08-29 d3a78e4c791821b298075b700e9fc14030d12ec2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package example
 
import (
    "srm/global"
    "srm/model/system"
)
 
type ExaCustomer struct {
    global.GVA_MODEL
    CustomerName       string         `json:"customerName" form:"customerName" gorm:"comment:客户名"`                // 客户名
    CustomerPhoneData  string         `json:"customerPhoneData" form:"customerPhoneData" gorm:"comment:客户手机号"`    // 客户手机号
    SysUserID          uint           `json:"sysUserId" form:"sysUserId" gorm:"comment:管理ID"`                     // 管理ID
    SysUserAuthorityID uint           `json:"sysUserAuthorityID" form:"sysUserAuthorityID" gorm:"comment:管理角色ID"` // 管理角色ID
    SysUser            system.SysUser `json:"sysUser" form:"sysUser" gorm:"comment:管理详情"`                         // 管理详情
}