智慧食堂
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.

17 lines
1.2 KiB

  1. package model
  2. type NursingHomeUserRefundDay struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. OutTradeNo string `json:"out_trade_no" xorm:"default '' comment('订单号') VARCHAR(50)"`
  5. OutRequestNo string `json:"out_request_no" xorm:"not null default '' comment('退款请求号') VARCHAR(50)"`
  6. Uid int `json:"uid" xorm:"not null default 0 comment('uid') INT(11)"`
  7. IdentityId int `json:"identity_id" xorm:"not null default 0 comment('身份id') INT(11)"`
  8. RecordsId int `json:"records_id" xorm:"not null default 0 comment('记录id') INT(11)"`
  9. State int `json:"state" xorm:"not null default 1 comment('状态(1:审核中 2:审核通过 3:审核拒绝 4:退款已完成)') TINYINT(1)"`
  10. Amount string `json:"amount" xorm:"not null default 0.00 comment('金额') DECIMAL(6,2)"`
  11. Memo string `json:"memo" xorm:"not null default '' comment('备注') VARCHAR(255)"`
  12. RefundDate string `json:"refund_date" xorm:"not null default '0000-00-00 00:00:00' comment('退款时间') CHAR(50)"`
  13. CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
  14. UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"`
  15. }