排班管理、主播管理、直播账号管理
This commit is contained in:
35
model/entity/data/live_account.go
Normal file
35
model/entity/data/live_account.go
Normal file
@@ -0,0 +1,35 @@
|
||||
package data
|
||||
|
||||
import (
|
||||
"gitea.com/red-future/common/beans"
|
||||
)
|
||||
|
||||
// LiveAccount 直播账号实体
|
||||
type LiveAccount struct {
|
||||
beans.SQLBaseDO `orm:",inherit"`
|
||||
Platform string `orm:"platform" json:"platform" description:"直播平台(抖音/快手/淘宝等)"`
|
||||
AccountName string `orm:"account_name" json:"accountName" description:"账号名称"`
|
||||
AccountId string `orm:"account_id" json:"accountId" description:"账号ID"`
|
||||
Status int `orm:"status" json:"status" description:"状态(0停用 1正常)"`
|
||||
Remark string `orm:"remark" json:"remark" description:"备注"`
|
||||
}
|
||||
|
||||
// LiveAccountCol 直播账号表字段定义
|
||||
type LiveAccountCol struct {
|
||||
beans.SQLBaseCol
|
||||
Platform string
|
||||
AccountName string
|
||||
AccountId string
|
||||
Status string
|
||||
Remark string
|
||||
}
|
||||
|
||||
// LiveAccountCols 直播账号表字段常量
|
||||
var LiveAccountCols = LiveAccountCol{
|
||||
SQLBaseCol: beans.DefSQLBaseCol,
|
||||
Platform: "platform",
|
||||
AccountName: "account_name",
|
||||
AccountId: "account_id",
|
||||
Status: "status",
|
||||
Remark: "remark",
|
||||
}
|
||||
Reference in New Issue
Block a user