一物一码
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.

plan_settle.go 729 B

2 years ago
1234567891011121314
  1. package model
  2. import (
  3. "time"
  4. )
  5. type PlanSettle struct {
  6. Id int `json:"id" xorm:"not null pk autoincr INT(10)"`
  7. PlanName string `json:"plan_name" xorm:"not null default '' comment('方案名称') VARCHAR(128)"`
  8. Memo string `json:"memo" xorm:"not null default '' comment('备注') VARCHAR(512)"`
  9. SettleMode int `json:"settle_mode" xorm:"not null default 0 comment('0组合条件,1固定条件') TINYINT(1)"`
  10. SettleCondition string `json:"settle_condition" xorm:"comment('当组合时候存json,固定存数字(组合条件时settleTime为0时是立即结算)') TEXT"`
  11. UpdateTime time.Time `json:"update_time" xorm:"default CURRENT_TIMESTAMP TIMESTAMP"`
  12. }