caipin hace 4 años
padre
commit
b325cab64f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      models/cm_tree_contracts.go

+ 1 - 0
models/cm_tree_contracts.go

@@ -6,6 +6,7 @@ import (
 
 
 type CmTreeContracts struct {
 type CmTreeContracts struct {
 	Id               int       `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
 	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)"`
 	TreeId           int       `xorm:"not null comment('树ID') INT(11)"`
 	ParentId         int       `xorm:"not null default 0 comment('父级ID') INT(11)"`
 	ParentId         int       `xorm:"not null default 0 comment('父级ID') INT(11)"`
 	Name             string    `xorm:"not null comment('名称') VARCHAR(64)"`
 	Name             string    `xorm:"not null comment('名称') VARCHAR(64)"`