// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" "gorm.io/gorm" ) const TableNameWhatsappChannel = "whatsapp_channel" // WhatsappChannel Whatsapp通道表 type WhatsappChannel struct { ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` CreatedAt time.Time `gorm:"column:created_at;not null;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期 UpdatedAt time.Time `gorm:"column:updated_at;not null;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期 Status int64 `gorm:"column:status;default:1;comment:Status 1: normal 2: ban | 状态 1 正常 2 禁用" json:"status"` // Status 1: normal 2: ban | 状态 1 正常 2 禁用 DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期 Ak string `gorm:"column:ak" json:"ak"` Sk string `gorm:"column:sk" json:"sk"` WaID string `gorm:"column:wa_id;not null;comment:通道ID" json:"wa_id"` // 通道ID WaName string `gorm:"column:wa_name;not null;comment:通道名" json:"wa_name"` // 通道名 OrganizationID int64 `gorm:"column:organization_id;default:1;comment:机构 ID" json:"organization_id"` // 机构 ID WabaID int64 `gorm:"column:waba_id;not null;comment:WABA ID" json:"waba_id"` // WABA ID BusinessID int64 `gorm:"column:business_id;not null;comment:商品平台ID" json:"business_id"` // 商品平台ID VerifyAccount string `gorm:"column:verify_account;not null;comment:认证主体" json:"verify_account"` // 认证主体 } // TableName WhatsappChannel's table name func (*WhatsappChannel) TableName() string { return TableNameWhatsappChannel }