Documentation ¶
Index ¶
- type TSysUser
- func (entity *TSysUser) AutoMigrate(db *gorm.DB) error
- func (entity *TSysUser) GetCorpId() int32
- func (entity *TSysUser) GetCreateBy() int32
- func (entity *TSysUser) GetCreateOn() model.LocalTime
- func (entity *TSysUser) GetEmail() string
- func (entity *TSysUser) GetEmployeeId() int32
- func (entity *TSysUser) GetExtParams() string
- func (entity *TSysUser) GetId() int32
- func (entity *TSysUser) GetMobileNo() string
- func (entity *TSysUser) GetOpBy() int32
- func (entity *TSysUser) GetOpOn() model.LocalTime
- func (entity *TSysUser) GetOrgId() int32
- func (entity *TSysUser) GetPasswd() string
- func (entity *TSysUser) GetRealname() string
- func (entity *TSysUser) GetRemark() string
- func (entity *TSysUser) GetStatus() int8
- func (entity *TSysUser) GetUsername() string
- func (entity *TSysUser) Ini(iniPk bool) *TSysUser
- func (entity *TSysUser) IniNil(iniPk bool) *TSysUser
- func (entity *TSysUser) SetCorpId(CorpId int32)
- func (entity *TSysUser) SetCreateBy(CreateBy int32)
- func (entity *TSysUser) SetCreateOn(CreateOn model.LocalTime)
- func (entity *TSysUser) SetEmail(Email string)
- func (entity *TSysUser) SetEmployeeId(EmployeeId int32)
- func (entity *TSysUser) SetExtParams(ExtParams string)
- func (entity *TSysUser) SetId(Id int32)
- func (entity *TSysUser) SetMobileNo(MobileNo string)
- func (entity *TSysUser) SetOpBy(OpBy int32)
- func (entity *TSysUser) SetOpOn(OpOn model.LocalTime)
- func (entity *TSysUser) SetOrgId(OrgId int32)
- func (entity *TSysUser) SetPasswd(Passwd string)
- func (entity *TSysUser) SetRealname(Realname string)
- func (entity *TSysUser) SetRemark(Remark string)
- func (entity *TSysUser) SetStatus(Status int8)
- func (entity *TSysUser) SetUsername(Username string)
- func (entity *TSysUser) String() string
- func (entity *TSysUser) TableName() string
- func (entity *TSysUser) ToString() string
- func (entity *TSysUser) Unmarshal(body string) error
- func (entity *TSysUser) UnmarshalBy(body []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TSysUser ¶
type TSysUser struct { /* 主键 */ Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY;comment:'主键'" json:"id"` /* 工号 */ Username *string `gorm:"column:username;type:varchar(32);comment:'工号'" json:"username"` /* 密码 */ Passwd *string `gorm:"column:passwd;type:varchar(64);comment:'密码'" json:"passwd"` /* */ Realname *string `gorm:"column:realname;type:varchar(128);comment:''" json:"realname"` /* 企业ID */ CorpId *int32 `gorm:"column:corp_id;type:int(11);comment:'企业ID'" json:"corpId"` /* 组织结构ID */ OrgId *int32 `gorm:"column:org_id;type:int(11);comment:'组织结构ID'" json:"orgId"` /* */ MobileNo *string `gorm:"column:mobile_no;type:varchar(32);comment:''" json:"mobileNo"` /* 公司邮箱 */ Email *string `gorm:"column:email;type:varchar(255);comment:'公司邮箱'" json:"email"` /* 状态(1:启用;0:停用) */ Status *int8 `gorm:"column:status;type:tinyint(4);comment:'状态(1:启用;0:停用)'" json:"status"` /* 备注 */ Remark *string `gorm:"column:remark;type:varchar(500);comment:'备注'" json:"remark"` /* 创建人 */ CreateBy *int32 `gorm:"column:create_by;type:int(11);comment:'创建人';default:0" json:"createBy"` /* 创建时间 */ CreateOn *model.LocalTime `gorm:"column:create_on;type:datetime;comment:'创建时间'" json:"createOn"` /* 操作人 */ OpBy *int32 `gorm:"column:op_by;type:int(11);comment:'操作人';default:0" json:"opBy"` /* 操作时间 */ OpOn *model.LocalTime `gorm:"column:op_on;type:datetime;comment:'操作时间'" json:"opOn"` /* 扩展属性 */ ExtParams *string `gorm:"column:ext_params;type:varchar(1000);comment:'扩展属性'" json:"extParams"` /* 员工标识 */ EmployeeId *int32 `gorm:"column:employee_id;type:int(11);comment:'员工标识';default:0" json:"employeeId"` }
系统用户表
func (*TSysUser) GetCreateBy ¶
func (*TSysUser) GetCreateOn ¶
func (*TSysUser) GetEmployeeId ¶
func (*TSysUser) GetExtParams ¶
func (*TSysUser) GetMobileNo ¶
func (*TSysUser) GetRealname ¶
func (*TSysUser) GetUsername ¶
func (*TSysUser) SetCreateBy ¶
func (*TSysUser) SetCreateOn ¶
func (*TSysUser) SetEmployeeId ¶
func (*TSysUser) SetExtParams ¶
func (*TSysUser) SetMobileNo ¶
func (*TSysUser) SetRealname ¶
func (*TSysUser) SetUsername ¶
func (*TSysUser) UnmarshalBy ¶
Click to show internal directories.
Click to hide internal directories.