57 lines
2.1 KiB
Go
57 lines
2.1 KiB
Go
package tencent
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// AccountRelation 腾讯广告账户关系实体
|
|
type AccountRelation struct {
|
|
Id int64 `orm:"id" json:"id" description:"主键ID"`
|
|
TenantId int64 `orm:"tenant_id" json:"tenantId" description:"租户ID"`
|
|
Creator string `orm:"creator" json:"creator" description:"创建人"`
|
|
CreatedAt *time.Time `orm:"created_at" json:"createdAt" description:"创建时间"`
|
|
Updater string `orm:"updater" json:"updater" description:"更新人"`
|
|
UpdatedAt *time.Time `orm:"updated_at" json:"updatedAt" description:"更新时间"`
|
|
DeletedAt *time.Time `orm:"deleted_at" json:"deletedAt" description:"软删除时间"`
|
|
AccountID int64 `orm:"account_id" json:"accountId" description:"账户ID"`
|
|
CorporationName string `orm:"corporation_name" json:"corporationName" description:"公司名称"`
|
|
CommentDataList string `orm:"comment_data_list" json:"commentDataList" description:"备注数据列表JSON"`
|
|
IsAdx bool `orm:"is_adx" json:"isAdx" description:"是否ADX"`
|
|
IsBid bool `orm:"is_bid" json:"isBid" description:"是否BID"`
|
|
IsMp bool `orm:"is_mp" json:"isMp" description:"是否MP"`
|
|
}
|
|
|
|
// AccountRelationCol 账户关系表字段定义
|
|
type AccountRelationCol struct {
|
|
ID string
|
|
TenantID string
|
|
Creator string
|
|
CreatedAt string
|
|
Updater string
|
|
UpdatedAt string
|
|
DeletedAt string
|
|
AccountID string
|
|
CorporationName string
|
|
CommentDataList string
|
|
IsAdx string
|
|
IsBid string
|
|
IsMp string
|
|
}
|
|
|
|
// AccountRelationCols 账户关系表字段常量
|
|
var AccountRelationCols = AccountRelationCol{
|
|
ID: "id",
|
|
TenantID: "tenant_id",
|
|
Creator: "creator",
|
|
CreatedAt: "created_at",
|
|
Updater: "updater",
|
|
UpdatedAt: "updated_at",
|
|
DeletedAt: "deleted_at",
|
|
AccountID: "account_id",
|
|
CorporationName: "corporation_name",
|
|
CommentDataList: "comment_data_list",
|
|
IsAdx: "is_adx",
|
|
IsBid: "is_bid",
|
|
IsMp: "is_mp",
|
|
}
|