SysTableColUser_gen.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package models
  2. import (
  3. //__import_packages__
  4. )
  5. type SysTableColUser struct {
  6. //主键
  7. Id string `xorm:"'id' varchar(36) pk notnull "json:"id"`
  8. //编码
  9. Code string `xorm:"'code' varchar(200) notnull "json:"code"`
  10. //值
  11. Value string `xorm:"'value' text notnull "json:"value"`
  12. //用户id
  13. UserId string `xorm:"'user_id' varchar(36) notnull "json:"user_id"`
  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 *SysTableColUser) TableName() string {
  26. return "sys_table_col_user"
  27. }
  28. func init() {
  29. AddTableName("sys_table_col_user")
  30. RegisterModel(new(SysTableColUser))
  31. }