SysTagGroup_gen.go 1004 B

12345678910111213141516171819202122232425262728293031323334
  1. package models
  2. import (
  3. //__import_packages__
  4. )
  5. type SysTagGroup struct {
  6. //主键
  7. Id string `xorm:"'id' varchar(36) pk notnull "json:"id"`
  8. //名称
  9. Name string `xorm:"'name' varchar(36) notnull "json:"name"`
  10. //编码
  11. Code string `xorm:"'code' varchar(200) notnull "json:"code"`
  12. //创建人
  13. CreateBy string `xorm:"'create_by' varchar(36) notnull "json:"create_by"`
  14. //创建时间
  15. CreateTime LocalTime `xorm:"'create_time' notnull "json:"create_time"`
  16. //最后更新人
  17. LastUpdateBy string `xorm:"'last_update_by' varchar(36) notnull "json:"last_update_by"`
  18. //最后更新时间
  19. LastUpdateTime int64 `xorm:"'last_update_time' notnull "json:"last_update_time"`
  20. //是否删除 1:删除 0:正常
  21. DelFlag int32 `xorm:"'del_flag' notnull "json:"del_flag"`
  22. }
  23. func (t *SysTagGroup) TableName() string {
  24. return "sys_tag_group"
  25. }
  26. func init() {
  27. AddTableName("sys_tag_group")
  28. RegisterModel(new(SysTagGroup))
  29. }