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

36 lines
1.1 KiB
Go
Raw Permalink 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"
)
// 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",
}