...
|
...
|
@@ -12,12 +12,11 @@ type UserCompany struct { |
|
|
CompanyId int64 `orm:"column(company_id)" description:"表company.id 公司编号"`
|
|
|
UserId int64 `orm:"column(user_id)" description:"表user.id 用户编号"`
|
|
|
NickName string `orm:"column(nick_name);size(100)" description:"昵称"`
|
|
|
DepartmentId int `orm:"column(department_id)" description:"部门id"`
|
|
|
PositionId int `orm:"column(position_id)" description:"职位id"`
|
|
|
ChanceTotal int `orm:"column(chance_total)" description:"发表机会数"`
|
|
|
CommentTotal int `orm:"column(comment_total)" description:"发表评论总数"`
|
|
|
CreateAt time.Time `orm:"column(create_at);type(timestamp)" description:"创建时间"`
|
|
|
UpdateAt time.Time `orm:"column(update_at);type(timestamp)" description:"更新时间"`
|
|
|
Enable int8 `orm:"column(enable)" description:"有效状态"`
|
|
|
}
|
|
|
|
|
|
func (t *UserCompany) TableName() string {
|
...
|
...
|
|