package models import ( "eta/eta_task/global" "eta/eta_task/utils" "time" ) type EdbinfoSendMsgRecord struct { Id int `gorm:"column:id;primaryKey;autoIncrement"` UserId int TradeCode string CreateTime time.Time } func AddEdbinfoSendMsgRecord(item *EdbinfoSendMsgRecord) (err error) { err = global.DbMap[utils.DbNameReport].Create(item).Error return }