一物一码
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

15 rader
729 B

  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. }