Files
erp/model/entity/data/anchor.go
2026-06-10 15:59:11 +08:00

36 lines
917 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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",
}