employee.go 454 字节
package models

type Employee struct {
	TableName string `pg:"employees,alias:employee"`
	// 员工ID
	Id int64 `pg:",pk"`
	// 公司ID
	CompanyId int64
	// 统一用户UID
	Uid int64
	// 员工姓名
	EmployeeName string
	// 员工账号
	EmployeeAccount string
	// 员工头像URL
	EmployeeAvatarUrl string
	// 当前素币
	SuMoney float64
	// 员工状态(启用或者禁用)
	Status int
	// 员工权限集合
	Permissions []int `pg:",array"`
}