智慧食堂
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nursing_home_user_with_day.go 842 B

1 year ago
123456789101112
  1. package model
  2. type NursingHomeUserWithDay struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. OrdNo string `json:"ord_no" xorm:"not null default '' comment('订单号') VARCHAR(50)"`
  5. Uid int `json:"uid" xorm:"not null default 0 comment('用户id') INT(11)"`
  6. IdentityId int `json:"identity_id" xorm:"not null default 0 comment('身份id') INT(11)"`
  7. Kind int `json:"kind" xorm:"not null default 1 comment('就餐类型(1:早餐 2:午餐 3:晚餐)') TINYINT(1)"`
  8. Amount string `json:"amount" xorm:"not null default '' comment('金额') CHAR(50)"`
  9. Date string `json:"date" xorm:"not null default '0000-00-00' comment('日期') CHAR(50)"`
  10. State int `json:"state" xorm:"not null default 1 comment('状态(1:待就餐 2:已就餐 3:退款中 4:已退款)') TINYINT(1)"`
  11. }