排班管理、主播管理、直播账号管理
This commit is contained in:
35
model/entity/data/anchor.go
Normal file
35
model/entity/data/anchor.go
Normal file
@@ -0,0 +1,35 @@
|
||||
package data
|
||||
|
||||
import (
|
||||
"gitea.com/red-future/common/beans"
|
||||
)
|
||||
|
||||
// Anchor 主播实体
|
||||
type Anchor struct {
|
||||
beans.SQLBaseDO `orm:",inherit"`
|
||||
Name string `orm:"name" json:"name" description:"主播姓名"`
|
||||
Phone string `orm:"phone" json:"phone" description:"联系电话"`
|
||||
Code string `orm:"code" json:"code" description:"工号"`
|
||||
Status int `orm:"status" json:"status" description:"状态(0停用 1正常)"`
|
||||
Remark string `orm:"remark" json:"remark" description:"备注"`
|
||||
}
|
||||
|
||||
// AnchorCol 主播表字段定义
|
||||
type AnchorCol struct {
|
||||
beans.SQLBaseCol
|
||||
Name string
|
||||
Phone string
|
||||
Code string
|
||||
Status string
|
||||
Remark string
|
||||
}
|
||||
|
||||
// AnchorCols 主播表字段常量
|
||||
var AnchorCols = AnchorCol{
|
||||
SQLBaseCol: beans.DefSQLBaseCol,
|
||||
Name: "name",
|
||||
Phone: "phone",
|
||||
Code: "code",
|
||||
Status: "status",
|
||||
Remark: "remark",
|
||||
}
|
||||
Reference in New Issue
Block a user