github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_person_license.go (about) 1 package sys_model 2 3 import ( 4 "github.com/SupenBysz/gf-admin-community/sys_model/sys_entity" 5 "github.com/kysion/base-library/base_model" 6 ) 7 8 type PersonLicense struct { 9 Id int64 `json:"id" description:"ID"` 10 IdcardFrontPath string `json:"idcardFrontPath" description:"身份证头像面照片"` 11 IdcardBackPath string `json:"idcardBackPath" description:"身份证国徽面照片"` 12 No string `json:"no" description:"身份证号"` 13 Gender int `json:"gender" description:"性别"` 14 Nation string `json:"nation" description:"名族"` 15 Name string `json:"name" description:"姓名"` 16 Birthday string `json:"birthday" description:"出生日期"` 17 Address string `json:"address" description:"家庭住址"` 18 IssuingAuthorit string `json:"issuingAuthorit" description:"签发机关"` 19 IssuingDate string `json:"issuingDate" description:"签发日期"` 20 ExpriyDate string `json:"expriyDate" description:""` 21 Remark string `json:"remark" description:"备注信息"` 22 LatestAuditLogId int64 `json:"latestAuditLogId" description:"最新的审核记录id"` 23 24 State int `json:"state" description:"状态:0失效、1正常" v:"in:0,1#状态错误"` 25 AuthType int `json:"authType" description:"认证类型:"` 26 } 27 28 type PersonLicenseRes sys_entity.SysPersonLicense 29 type PersonLicenseListRes base_model.CollectRes[sys_entity.SysPersonLicense] 30 31 type AuditPersonLicense struct { 32 UnionMainId int64 `json:"unionMainId" dc:"资质审核关联的业务主体ID"` // 个人资质的unionMainId, 没有则为0 33 LicenseId int64 `json:"licenseId" dc:"资质ID"` 34 UserId int64 `json:"userId" dc:"上传资质的userId"` // 个人资质存在待上传的问题, 所以userID代表上传者 35 OwnerUserId int64 `json:"ownerUserId" dc:"资质的所属userId" ` 36 PersonLicense 37 }