123456789101112131415161718192021222324252627282930313233343536 |
- // 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 TableNameBatchMsgCopy1 = "batch_msg_copy1"
- // BatchMsgCopy1 批量消息表
- type BatchMsgCopy1 struct {
- ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
- CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;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 | 修改日期
- DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期
- Status int64 `gorm:"column:status;comment:状态 0 未开始 1 发送中 2 发送完成 3 发送中止" json:"status"` // 状态 0 未开始 1 发送中 2 发送完成 3 发送中止
- BatchNo string `gorm:"column:batch_no;comment:批次号" json:"batch_no"` // 批次号
- Fromwxid string `gorm:"column:fromwxid;comment:发送方微信ID" json:"fromwxid"` // 发送方微信ID
- Msg string `gorm:"column:msg;comment:内容" json:"msg"` // 内容
- Tag string `gorm:"column:tag;comment:发送规则 all 全部 tag1,tag2 按tag发送" json:"tag"` // 发送规则 all 全部 tag1,tag2 按tag发送
- Total int64 `gorm:"column:total;comment:总数" json:"total"` // 总数
- Success int64 `gorm:"column:success;comment:成功数量" json:"success"` // 成功数量
- Fail int64 `gorm:"column:fail;comment:失败数量" json:"fail"` // 失败数量
- StartTime time.Time `gorm:"column:start_time;comment:开始时间" json:"start_time"` // 开始时间
- StopTime time.Time `gorm:"column:stop_time;comment:结束时间" json:"stop_time"` // 结束时间
- }
- // TableName BatchMsgCopy1's table name
- func (*BatchMsgCopy1) TableName() string {
- return TableNameBatchMsgCopy1
- }
|