SysOptionset_gen.go 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package models
  2. import (
  3. //__import_packages__
  4. )
  5. type SysOptionset 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. Value string `xorm:"'value' text notnull "json:"value"`
  14. //创建人
  15. CreateBy string `xorm:"'create_by' varchar(36) notnull "json:"create_by"`
  16. //创建时间
  17. CreateTime LocalTime `xorm:"'create_time' notnull "json:"create_time"`
  18. //最后更新人
  19. LastUpdateBy string `xorm:"'last_update_by' varchar(36) notnull "json:"last_update_by"`
  20. //最后更新时间
  21. LastUpdateTime int64 `xorm:"'last_update_time' notnull "json:"last_update_time"`
  22. //是否删除 1:删除 0:正常
  23. DelFlag int32 `xorm:"'del_flag' notnull "json:"del_flag"`
  24. }
  25. func (t *SysOptionset) TableName() string {
  26. return "sys_optionset"
  27. }
  28. func init() {
  29. AddTableName("sys_optionset")
  30. RegisterModel(new(SysOptionset))
  31. }