model

package
v0.0.0-...-0818f1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const TableNameArActivityInfo = "ar_activity_info"
View Source
const TableNameArAgreement = "ar_agreement"
View Source
const TableNameArAppConfig = "ar_app_config"
View Source
const TableNameArCarouselMap = "ar_carousel_map"
View Source
const TableNameArCustomerService = "ar_customer_service"
View Source
const TableNameArCustomerServiceGroup = "ar_customer_service_group"
View Source
const TableNameArDataView = "ar_data_view"
View Source
const TableNameArDataViewLog = "ar_data_view_log"
View Source
const TableNameArEvent = "ar_event"
View Source
const TableNameArFeedback = "ar_feedback"
View Source
const TableNameArGrandPrize = "ar_grand_prize"
View Source
const TableNameArIPWhite = "ar_ip_white"
View Source
const TableNameArInterfaceConfig = "ar_interface_config"
View Source
const TableNameArMerchant = "ar_merchant"
View Source
const TableNameArMessageRead = "ar_message_read"
View Source
const TableNameArNoticeMessage = "ar_notice_message"
View Source
const TableNameArNotificationMessage = "ar_notification_message"

Variables

This section is empty.

Functions

This section is empty.

Types

type ArActivityInfo

type ArActivityInfo struct {
	ID          int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
	MerchantID  int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`    // 商户ID
	Title       string `gorm:"column:title;not null;comment:活动标题" json:"title"`                // 活动标题
	JumpType    int32  `gorm:"column:jump_type;not null;comment:跳转方式,1:图片" json:"jump_type"`   // 跳转方式,1:图片
	Status      int32  `gorm:"column:status;not null;comment:状态0:关闭,1:开启" json:"status"`       // 状态0:关闭,1:开启
	Cover       string `gorm:"column:cover;not null;comment:封面图片" json:"cover"`                // 封面图片
	ActivityPic string `gorm:"column:activity_pic;not null;comment:活动图" json:"activity_pic"`   // 活动图
	CreatedAt   int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`      // 创建时间
	UpdatedAt   int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`               // 修改时间
	DeletedAt   int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`               // 删除时间
	Sort        int32  `gorm:"column:sort;not null;comment:排序" json:"sort"`                    // 排序
	ActiveType  string `gorm:"column:active_type;comment:活动类型" json:"active_type"`             // 活动类型
}

ArActivityInfo 活动资讯

func (*ArActivityInfo) TableName

func (*ArActivityInfo) TableName() string

TableName ArActivityInfo's table name

type ArAgreement

type ArAgreement struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
	MerchantID int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`  // 商户ID
	Type       int32  `gorm:"column:type;not null;comment:类型,1:隐私协议,2:风险协议" json:"type"`    // 类型,1:隐私协议,2:风险协议
	Content    string `gorm:"column:content;not null;comment:协议内容" json:"content"`          // 协议内容
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`    // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`             // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`             // 删除时间
}

ArAgreement 协议管理

func (*ArAgreement) TableName

func (*ArAgreement) TableName() string

TableName ArAgreement's table name

type ArAppConfig

type ArAppConfig struct {
	ID                    int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"`                // 主键ID
	MerchantID            int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`                   // 商户ID
	RightOpen             int32  `gorm:"column:right_open;comment:首页右上角APP下载开关,0:关闭,1:开启" json:"right_open"`            // 首页右上角APP下载开关,0:关闭,1:开启
	IconOpen              int32  `gorm:"column:icon_open;comment:首页APP icon下载开关,0:关闭,1:开启" json:"icon_open"`            // 首页APP icon下载开关,0:关闭,1:开启
	IosDownURL            string `gorm:"column:ios_down_url;comment:苹果下载地址" json:"ios_down_url"`                        // 苹果下载地址
	IosVersion            string `gorm:"column:ios_version;comment:ios版本" json:"ios_version"`                           // ios版本
	IosHousingVersion     string `gorm:"column:ios_housing_version;comment:ios套壳版本号" json:"ios_housing_version"`        // ios套壳版本号
	AndroidDownURL        string `gorm:"column:android_down_url;comment:安卓下载地址" json:"android_down_url"`                // 安卓下载地址
	AndroidVersion        string `gorm:"column:android_version;comment:安卓版本号" json:"android_version"`                   // 安卓版本号
	AndroidHousingVersion string `gorm:"column:android_housing_version;comment:安卓套壳版本号" json:"android_housing_version"` // 安卓套壳版本号
	IsForceUpdate         int32  `gorm:"column:is_force_update;comment:是否强制更新,0:否,1:是" json:"is_force_update"`          // 是否强制更新,0:否,1:是
	CreatedAt             int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`                     // 创建时间
	UpdatedAt             int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`                              // 修改时间
	DeletedAt             int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`                              // 删除时间
}

ArAppConfig app下载地址

func (*ArAppConfig) TableName

func (*ArAppConfig) TableName() string

TableName ArAppConfig's table name

type ArCarouselMap

type ArCarouselMap struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"`      // 主键ID
	Pic        string `gorm:"column:pic;not null;comment:图片地址" json:"pic"`                         // 图片地址
	JumpURL    string `gorm:"column:jump_url;comment:跳转链接" json:"jump_url"`                        // 跳转链接
	Sort       int32  `gorm:"column:sort;not null;comment:排序" json:"sort"`                         // 排序
	Status     int32  `gorm:"column:status;not null;default:1;comment:状态,0:关闭,1:显示" json:"status"` // 状态,0:关闭,1:显示
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`           // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`                    // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`                    // 删除时间
	MerchantID int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`         // 商户ID
}

ArCarouselMap 轮播图管理

func (*ArCarouselMap) TableName

func (*ArCarouselMap) TableName() string

TableName ArCarouselMap's table name

type ArCustomerService

type ArCustomerService struct {
	ID                   int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"`                  // 主键ID
	MerchantID           int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`                     // 商户ID
	CustomerServiceType  int32  `gorm:"column:customer_service_type;not null;comment:客服类型" json:"customer_service_type"` // 客服类型
	CommunicationType    int32  `gorm:"column:communication_type;not null;comment:通讯类型" json:"communication_type"`       // 通讯类型
	Title                string `gorm:"column:title;not null;comment:名称" json:"title"`                                   // 名称
	CommunicationAddress string `gorm:"column:communication_address;not null;comment:通讯地址" json:"communication_address"` // 通讯地址
	Sort                 int32  `gorm:"column:sort;not null;comment:排序" json:"sort"`                                     // 排序
	Status               int32  `gorm:"column:status;not null;comment:状态,0:关闭,1:启用" json:"status"`                       // 状态,0:关闭,1:启用
	CreatedAt            int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`                       // 创建时间
	UpdatedAt            int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`                                // 修改时间
	DeletedAt            int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`                                // 删除时间
}

ArCustomerService 客服管理

func (*ArCustomerService) TableName

func (*ArCustomerService) TableName() string

TableName ArCustomerService's table name

type ArCustomerServiceGroup

type ArCustomerServiceGroup struct {
	ID                int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"`            // 主键ID
	MerchantID        int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`               // 商户ID
	GroupPic          string `gorm:"column:group_pic;not null;comment:群图标" json:"group_pic"`                    // 群图标
	Title             string `gorm:"column:title;not null;comment:主标题" json:"title"`                            // 主标题
	Subheading        string `gorm:"column:subheading;not null;comment:副标题" json:"subheading"`                  // 副标题
	CommunicationType int32  `gorm:"column:communication_type;not null;comment:通讯类型" json:"communication_type"` // 通讯类型
	JumpAddress       string `gorm:"column:jump_address;not null;comment:跳转地址" json:"jump_address"`             // 跳转地址
	Status            int32  `gorm:"column:status;not null;comment:状态,0:禁用,1:启用" json:"status"`                 // 状态,0:禁用,1:启用
	CreatedAt         int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`                 // 创建时间
	UpdatedAt         int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`                          // 修改时间
	DeletedAt         int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`                          // 删除时间
}

ArCustomerServiceGroup 客服群管理

func (*ArCustomerServiceGroup) TableName

func (*ArCustomerServiceGroup) TableName() string

TableName ArCustomerServiceGroup's table name

type ArDataView

type ArDataView struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"`                    // 主键ID
	MerchantID int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`                       // 商户ID
	ModelType  int32  `gorm:"column:model_type;not null;comment:模块类型,1:用户资产,2:用户基础,3:运营,9:其他" json:"model_type"` // 模块类型,1:用户资产,2:用户基础,3:运营,9:其他
	Type       int64  `gorm:"column:type;not null;comment:类型" json:"type"`                                       // 类型
	Value      string `gorm:"column:value;not null;comment:json类型" json:"value"`                                 // json类型
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`                         // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`                                  // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`                                  // 删除时间
}

ArDataView mapped from table <ar_data_view>

func (*ArDataView) TableName

func (*ArDataView) TableName() string

TableName ArDataView's table name

type ArDataViewLog

type ArDataViewLog struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
	DataViewID int64  `gorm:"column:data_view_id;not null;comment:配置ID" json:"data_view_id"`  // 配置ID
	NewValue   string `gorm:"column:new_value;not null;comment:新值" json:"new_value"`          // 新值
	OldValue   string `gorm:"column:old_value;not null;comment:原始值" json:"old_value"`         // 原始值
	Operator   string `gorm:"column:operator;not null;comment:操作人" json:"operator"`           // 操作人
	OperatorID int64  `gorm:"column:operator_id;not null;comment:操作人ID" json:"operator_id"`   // 操作人ID
	IP         string `gorm:"column:ip;comment:Ip地址" json:"ip"`                               // Ip地址
	IPAddress  string `gorm:"column:ip_address;comment:ip归属地" json:"ip_address"`              // ip归属地
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`      // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`               // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`               // 删除时间
}

ArDataViewLog mapped from table <ar_data_view_log>

func (*ArDataViewLog) TableName

func (*ArDataViewLog) TableName() string

TableName ArDataViewLog's table name

type ArEvent

type ArEvent struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
	MerchantID int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`  // 商户ID
	BrandType  string `gorm:"column:brand_type;not null;comment:厂商类型" json:"brand_type"`    // 厂商类型
	BrandName  string `gorm:"column:brand_name;not null;comment:厂商名称" json:"brand_name"`    // 厂商名称
	EventNum   string `gorm:"column:event_num;not null;comment:事件编码" json:"event_num"`      // 事件编码
	APIURL     string `gorm:"column:api_url;not null;comment:api_url" json:"api_url"`       // api_url
	APIToken   string `gorm:"column:api_token;not null;comment:api_token" json:"api_token"` // api_token
	Sort       int32  `gorm:"column:sort;not null;comment:排序" json:"sort"`                  // 排序
	Status     int32  `gorm:"column:status;comment:状态,0:关,1:开" json:"status"`               // 状态,0:关,1:开
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`    // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`             // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`             // 删除时间
	OperatorID int64  `gorm:"column:operator_id;comment:操作人id" json:"operator_id"`          // 操作人id
}

ArEvent 事件设置

func (*ArEvent) TableName

func (*ArEvent) TableName() string

TableName ArEvent's table name

type ArFeedback

type ArFeedback struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
	MerchantID int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`    // 商户ID
	UserID     int64  `gorm:"column:user_id;not null;comment:用户ID" json:"user_id"`            // 用户ID
	Content    string `gorm:"column:content;not null;comment:反馈内容" json:"content"`            // 反馈内容
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`      // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`               // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`               // 删除时间
}

ArFeedback 意见反馈

func (*ArFeedback) TableName

func (*ArFeedback) TableName() string

TableName ArFeedback's table name

type ArGrandPrize

type ArGrandPrize struct {
	ID               int64   `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"`                         // 主键ID
	MerchantID       int64   `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`                            // 商户ID
	MultiplierStart  float64 `gorm:"column:multiplier_start;not null;default:0;comment:倍率区间-开始" json:"multiplier_start"`     // 倍率区间-开始
	MultiplierEnd    float64 `gorm:"column:multiplier_end;not null;default:0;comment:倍率区间-结束" json:"multiplier_end"`         // 倍率区间-结束
	OrderAmountStart float64 `gorm:"column:order_amount_start;not null;default:0;comment:下单金额-开始" json:"order_amount_start"` // 下单金额-开始
	OrderAmountEnd   float64 `gorm:"column:order_amount_end;not null;comment:下单金额-结束" json:"order_amount_end"`               // 下单金额-结束
	Bonus            float64 `gorm:"column:bonus;not null;comment:奖金" json:"bonus"`                                          // 奖金
	Sort             int32   `gorm:"column:sort;not null;comment:排序" json:"sort"`                                            // 排序
	SendDay          int32   `gorm:"column:send_day;comment:每日发送次数" json:"send_day"`                                         // 每日发送次数
	Status           int32   `gorm:"column:status;comment:是否开启,0:,关闭1:开启," json:"status"`                                    // 是否开启,0:,关闭1:开启,
	Operator         string  `gorm:"column:operator;comment:操作人" json:"operator"`                                            // 操作人
	OperatorID       int64   `gorm:"column:operator_id;comment:操作人ID" json:"operator_id"`                                    // 操作人ID
	CreatedAt        int64   `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`                              // 创建时间
	UpdatedAt        int64   `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`                                       // 修改时间
	DeletedAt        int64   `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`                                       // 删除时间
}

ArGrandPrize 大奖奖励配置

func (*ArGrandPrize) TableName

func (*ArGrandPrize) TableName() string

TableName ArGrandPrize's table name

type ArIPWhite

type ArIPWhite struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
	MerchantID int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`    // 商户ID
	IP         string `gorm:"column:ip;not null;comment:ip" json:"ip"`                        // ip
	Status     int32  `gorm:"column:status;comment:状态,0:关闭,1:开启" json:"status"`               // 状态,0:关闭,1:开启
	Remark     string `gorm:"column:remark;comment:备注" json:"remark"`                         // 备注
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`      // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`               // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`               // 删除时间
}

ArIPWhite ip白名单

func (*ArIPWhite) TableName

func (*ArIPWhite) TableName() string

TableName ArIPWhite's table name

type ArInterfaceConfig

type ArInterfaceConfig struct {
	ID              int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"`          // 主键ID
	MerchantID      int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`             // 商户ID
	Logo1           string `gorm:"column:logo1;comment:logo1" json:"logo1"`                                 // logo1
	Icon            string `gorm:"column:icon;comment:icon" json:"icon"`                                    // icon
	SiteName        string `gorm:"column:site_name;not null;comment:站点名称" json:"site_name"`                 // 站点名称
	LanguageList    string `gorm:"column:language_list;not null;comment:前台语言配置" json:"language_list"`       // 前台语言配置
	DefaultLanguage string `gorm:"column:default_language;not null;comment:前台默认语言" json:"default_language"` // 前台默认语言
	Currency        string `gorm:"column:currency;not null;comment:货币符号" json:"currency"`                   // 货币符号
	NameShowType    int32  `gorm:"column:name_show_type;not null;comment:体现人姓名大小写" json:"name_show_type"`   // 体现人姓名大小写
	CreatedAt       int64  `gorm:"column:created_at;not null" json:"created_at"`
	UpdatedAt       int64  `gorm:"column:updated_at" json:"updated_at"`
	DeletedAt       int64  `gorm:"column:deleted_at" json:"deleted_at"`
	PhoneConfig     string `gorm:"column:phone_config;not null;comment:区号手机号长度格式设置" json:"phone_config"` // 区号手机号长度格式设置
}

ArInterfaceConfig 接口配置

func (*ArInterfaceConfig) TableName

func (*ArInterfaceConfig) TableName() string

TableName ArInterfaceConfig's table name

type ArMerchant

type ArMerchant struct {
	ID           int64  `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	MerchantID   int64  `gorm:"column:merchant_id;not null;comment:商户id" json:"merchant_id"`     // 商户id
	MerchantName string `gorm:"column:merchant_name;not null;comment:商户名称" json:"merchant_name"` // 商户名称
	CreatedAt    int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`       // 创建时间
	UpdatedAt    int64  `gorm:"column:updated_at" json:"updated_at"`
	DeletedAt    string `gorm:"column:deleted_at" json:"deleted_at"`
	MerchantCode string `gorm:"column:merchant_code;comment:商户编码" json:"merchant_code"` // 商户编码
}

ArMerchant mapped from table <ar_merchant>

func (*ArMerchant) TableName

func (*ArMerchant) TableName() string

TableName ArMerchant's table name

type ArMessageRead

type ArMessageRead struct {
	ID        int64 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
	UserID    int64 `gorm:"column:user_id;not null;comment:用户ID" json:"user_id"`            // 用户ID
	MessageID int64 `gorm:"column:message_id;not null;comment:消息ID" json:"message_id"`      // 消息ID
	CreatedAt int64 `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`      // 创建时间
	UpdatedAt int64 `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`               // 修改时间
	DeletedAt int64 `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`               // 删除时间
	Type      int32 `gorm:"column:type;not null;comment:消息类型" json:"type"`                  // 消息类型
}

ArMessageRead mapped from table <ar_message_read>

func (*ArMessageRead) TableName

func (*ArMessageRead) TableName() string

TableName ArMessageRead's table name

type ArNoticeMessage

type ArNoticeMessage struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
	MerchantID int64  `gorm:"column:merchant_id;not null" json:"merchant_id"`
	Type       int32  `gorm:"column:type;not null;comment:消息类型,0:弹窗消息,1:滚动消息" json:"type"` // 消息类型,0:弹窗消息,1:滚动消息
	Title      string `gorm:"column:title;not null;comment:标题" json:"title"`               // 标题
	Content    string `gorm:"column:content;not null;comment:内容" json:"content"`           // 内容
	Status     int32  `gorm:"column:status;not null;comment:状态,0:禁用,1:启用" json:"status"`   // 状态,0:禁用,1:启用
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`   // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`            // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`            // 删除时间
	UserID     int64  `gorm:"column:user_id;comment:用户id,服务消息时必填" json:"user_id"`          // 用户id,服务消息时必填
}

ArNoticeMessage 通知消息

func (*ArNoticeMessage) TableName

func (*ArNoticeMessage) TableName() string

TableName ArNoticeMessage's table name

type ArNotificationMessage

type ArNotificationMessage struct {
	ID         int64  `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键ID" json:"id"` // 主键ID
	MerchantID int64  `gorm:"column:merchant_id;not null;comment:商户ID" json:"merchant_id"`    // 商户ID
	Language   string `gorm:"column:language;not null;comment:语言" json:"language"`            // 语言
	Type       int32  `gorm:"column:type;not null;comment:类型" json:"type"`                    // 类型
	Title      string `gorm:"column:title;not null;comment:标题" json:"title"`                  // 标题
	Content    string `gorm:"column:content;not null;comment:内容" json:"content"`              // 内容
	CreatedAt  int64  `gorm:"column:created_at;not null;comment:创建时间" json:"created_at"`      // 创建时间
	UpdatedAt  int64  `gorm:"column:updated_at;comment:修改时间" json:"updated_at"`               // 修改时间
	DeletedAt  int64  `gorm:"column:deleted_at;comment:删除时间" json:"deleted_at"`               // 删除时间
}

ArNotificationMessage 公告消息

func (*ArNotificationMessage) TableName

func (*ArNotificationMessage) TableName() string

TableName ArNotificationMessage's table name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL