// 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" ) const TableNameMultiNotifyDatum = "multi_notify_data" // MultiNotifyDatum mapped from table type MultiNotifyDatum struct { ID int64 `gorm:"column:id;primaryKey" json:"id"` Source string `gorm:"column:source;not null;comment:来源" json:"source"` // 来源 NotifyID string `gorm:"column:notify_id;not null;comment:回调通知id" json:"notify_id"` // 回调通知id OrderNo string `gorm:"column:order_no;not null;comment:订单号" json:"order_no"` // 订单号 OutBizNo string `gorm:"column:out_biz_no;not null;comment:外部业务号" json:"out_biz_no"` // 外部业务号 CouponID string `gorm:"column:coupon_id;not null;comment:券id" json:"coupon_id"` // 券id StockID string `gorm:"column:stock_id;not null;comment:微信批次号" json:"stock_id"` // 微信批次号 ConsumeAmount int32 `gorm:"column:consume_amount;not null;comment:核销金额" json:"consume_amount"` // 核销金额 ConsumeTime *time.Time `gorm:"column:consume_time;not null;comment:核销时间" json:"consume_time"` // 核销时间 EventType string `gorm:"column:event_type;not null;comment:通知的类型" json:"event_type"` // 通知的类型 OriginalData string `gorm:"column:original_data;not null;comment:微信回调通知原始数据" json:"original_data"` // 微信回调通知原始数据 NoticeNum int32 `gorm:"column:notice_num;not null;comment:通知下游次数" json:"notice_num"` // 通知下游次数 CreateTime *time.Time `gorm:"column:create_time;not null;comment:创建时间" json:"create_time"` // 创建时间 UpdateTime *time.Time `gorm:"column:update_time;comment:修改时间" json:"update_time"` // 修改时间 } // TableName MultiNotifyDatum's table name func (*MultiNotifyDatum) TableName() string { return TableNameMultiNotifyDatum }