xcx_user_models.go 1.1KB

1234567891011121314151617181920212223
  1. package models
  2. type XcxAdminUserRole struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. PatientName string `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
  5. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  6. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  7. Code string `gorm:"column:code" json:"code" form:"code"`
  8. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  9. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  10. Status int64 `gorm:"column:status" json:"status" form:"status"`
  11. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  12. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  13. Appid string `gorm:"column:appid" json:"appid" form:"appid"`
  14. Appsecret string `gorm:"column:appsecret" json:"appsecret" form:"appsecret"`
  15. SessionKey string `gorm:"column:session_key" json:"session_key" form:"session_key"`
  16. }
  17. func (XcxAdminUserRole) TableName() string {
  18. return "xcx_admin_user_role"
  19. }