batch_msg_copy1.gen.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. import (
  6. "time"
  7. "gorm.io/gorm"
  8. )
  9. const TableNameBatchMsgCopy1 = "batch_msg_copy1"
  10. // BatchMsgCopy1 批量消息表
  11. type BatchMsgCopy1 struct {
  12. ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  13. CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
  14. UpdatedAt time.Time `gorm:"column:updated_at;not null;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
  15. DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期
  16. Status int64 `gorm:"column:status;comment:状态 0 未开始 1 发送中 2 发送完成 3 发送中止" json:"status"` // 状态 0 未开始 1 发送中 2 发送完成 3 发送中止
  17. BatchNo string `gorm:"column:batch_no;comment:批次号" json:"batch_no"` // 批次号
  18. Fromwxid string `gorm:"column:fromwxid;comment:发送方微信ID" json:"fromwxid"` // 发送方微信ID
  19. Msg string `gorm:"column:msg;comment:内容" json:"msg"` // 内容
  20. Tag string `gorm:"column:tag;comment:发送规则 all 全部 tag1,tag2 按tag发送" json:"tag"` // 发送规则 all 全部 tag1,tag2 按tag发送
  21. Total int64 `gorm:"column:total;comment:总数" json:"total"` // 总数
  22. Success int64 `gorm:"column:success;comment:成功数量" json:"success"` // 成功数量
  23. Fail int64 `gorm:"column:fail;comment:失败数量" json:"fail"` // 失败数量
  24. StartTime time.Time `gorm:"column:start_time;comment:开始时间" json:"start_time"` // 开始时间
  25. StopTime time.Time `gorm:"column:stop_time;comment:结束时间" json:"stop_time"` // 结束时间
  26. }
  27. // TableName BatchMsgCopy1's table name
  28. func (*BatchMsgCopy1) TableName() string {
  29. return TableNameBatchMsgCopy1
  30. }