caipin 4 years ago
parent
commit
b325cab64f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      models/cm_tree_contracts.go

+ 1 - 0
models/cm_tree_contracts.go

@@ -6,6 +6,7 @@ import (
 
 type CmTreeContracts struct {
 	Id               int       `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
+	TreeType         int       `xorm:"not null default 0 comment('项目节类型(0收入,1支出)') TINYINT(1)"`
 	TreeId           int       `xorm:"not null comment('树ID') INT(11)"`
 	ParentId         int       `xorm:"not null default 0 comment('父级ID') INT(11)"`
 	Name             string    `xorm:"not null comment('名称') VARCHAR(64)"`