cm_folder.go 573 B

123456789101112131415
  1. package models
  2. import (
  3. "time"
  4. )
  5. type CmFolder struct {
  6. Id int `xorm:"not null pk autoincr comment('自增ID') INT(11)"`
  7. Name string `xorm:"not null comment('名称') VARCHAR(64)"`
  8. ProjectId int `xorm:"comment('项目ID') INT(11)"`
  9. TenderId int `xorm:"comment('标段ID') INT(11)"`
  10. ParentId int `xorm:"not null default 0 comment('父级ID') INT(11)"`
  11. CreateTime time.Time `xorm:"comment('创建时间') DATETIME"`
  12. UpdateTime time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') TIMESTAMP"`
  13. }