36 lines
917 B
Go
36 lines
917 B
Go
package data
|
||
|
||
import (
|
||
"gitea.redpowerfuture.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",
|
||
}
|