智莺生活mysql模型库
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.
 
 

12 lines
811 B

  1. package models
  2. type InstallmentPaymentRepaidFlow struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. RecordId int `json:"record_id" xorm:"not null default 0 comment('记录ID') INT(11)"`
  5. Uid int `json:"uid" xorm:"not null default 0 comment('用户ID') INT(11)"`
  6. Amount string `json:"amount" xorm:"not null default 0.0 comment('金额') DECIMAL(12,1)"`
  7. WhichRepaymentPeriod int `json:"which_repayment_period" xorm:"not null default 1 comment('第x还款') TINYINT(3)"`
  8. CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"`
  9. UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"`
  10. }