苏州瑞玛APS项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
396 B

package global
type User struct {
PlantNr int `xorm:"not null pk comment('工厂ID') INT(0)" form:"pid" json:"plantNr"`
UserId string `xorm:"not null pk comment('用户ID') VARCHAR(40)" form:"userid" json:"userId"`
Role string `xorm:"comment('用户角色') VARCHAR(40)" form:"role" json:"role"`
RoleId int `xorm:"comment('角色编码') int(11)" json:"roleId"` // 角色编码
}