caipin 4 년 전
부모
커밋
b325cab64f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)"`