package entity import ( "time" ) type SystemUser struct { Id int `json:"id" xorm:"pk autoincr" ` // id Name string `json:"name" ` // 名称 SystemAccount string `json:"system_account" ` // 账号 OrganizationId string `json:"organization_id" xorm:"organization_id"` // 所属组织 Password string `json:"password"` // 密码 State int `json:"state" xorm:"state"` // 状态0禁用1启用 Logo string `json:"logo" xorm:"logo"` // 头像logo CreatedBy int `json:"created_by" ` // 创建者 CreatedTime time.Time `json:"created_time" xorm:"created" ` // 创建时间 UpdatedBy int `json:"updated_by" ` // 更新者 UpdatedTime time.Time `json:"updated_time" xorm:"updated" ` // 更新时间 IsDeleted int `json:"is_deleted" xorm:"is_deleted"` // 是否删除 Phone string `json:"phone" xorm:"phone"` // 手机号 } type SystemUserInfo struct { Id int `json:"id" xorm:"pk autoincr" ` // id Name string `json:"name" ` // 名称 SystemAccount string `json:"system_account" ` // 账号 OrganizationId string `json:"organization_id" xorm:"organization_id"` // 所属组织 Password string `json:"password,omitempty"` // 密码 State int `json:"state" xorm:"state"` // 状态0禁用1启用 Logo string `json:"logo" xorm:"logo"` // 头像logo IsDeleted int `json:"is_deleted" xorm:"is_deleted"` // 是否删除 Phone string `json:"phone" xorm:"phone"` // 手机号 }