| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package models
- import (
- //__import_packages__
- )
- type SysUserTemplateDetail struct {
- //主键
- Id string `xorm:"'id' varchar(36) pk notnull "json:"id"`
- //模板ID
- TempId string `xorm:"'temp_id' varchar(200) notnull "json:"temp_id"`
- //名称
- Name string `xorm:"'name' varchar(50) notnull "json:"name"`
- //值
- Value string `xorm:"'value' varchar(50) notnull "json:"value"`
- //模板类型 0:数值项 1:单选项 2:文字项 3:列表项
- Type int64 `xorm:"'type' int notnull "json:"type"`
- //模板内容
- Content string `xorm:"'content' text notnull "json:"content"`
- //优先级
- Priority int64 `xorm:"'priority' int notnull "json:"priority"`
- //是否删除 1:删除 0:正常
- DelFlag int32 `xorm:"'del_flag' notnull "json:"del_flag"`
- //创建人
- CreateBy string `xorm:"'create_by' varchar(36) notnull "json:"create_by"`
- //创建时间
- CreateTime LocalTime `xorm:"'create_time' notnull "json:"create_time"`
- //最后更新人
- LastUpdateBy string `xorm:"'last_update_by' varchar(36) notnull "json:"last_update_by"`
- //最后更新时间
- LastUpdateTime int64 `xorm:"'last_update_time' notnull "json:"last_update_time"`
- }
- func (t *SysUserTemplateDetail) TableName() string {
- return "sys_user_template_detail"
- }
- func init() {
- AddTableName("sys_user_template_detail")
- RegisterModel(new(SysUserTemplateDetail))
- }
|