caipin 4 лет назад
Родитель
Сommit
3f9d9567cb
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      models/cm_annex.go

+ 2 - 1
models/cm_annex.go

@@ -6,8 +6,9 @@ import (
 
 type CmAnnex struct {
 	Id         int       `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
-	DataType   int       `xorm:"not null default 0 comment('类型1合同回款') TINYINT(1)"`
+	DataType   int       `xorm:"not null default 0 comment('类型1合同回款2.质量附件3.安全附件') TINYINT(1)"`
 	DataId     int       `xorm:"not null default 0 comment('归属ID') INT(11)"`
+	AccountId  int       `xorm:"not null default 0 comment('账号ID') INT(11)"`
 	Name       string    `xorm:"comment('附件名称') VARCHAR(64)"`
 	OssUrl     string    `xorm:"comment('访问路径') VARCHAR(255)"`
 	CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`