1
This commit is contained in:
parent
82215f3d35
commit
11e66e3e18
@ -16,14 +16,14 @@ Recipients:
|
|||||||
Attachments:
|
Attachments:
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"item_id": 100001,
|
"itemid": 100001,
|
||||||
"item_num": 100
|
"itemnum": 100
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
type Mail struct {
|
type Mail struct {
|
||||||
UniKey *string `gorm:"column:unikey" json:"unikey"`
|
UniKey *string `gorm:"column:unikey;<-:create" json:"unikey"`
|
||||||
MailId int64 `gorm:"primaryKey;column:mail_id;<-:create" json:"mail_id,string"`
|
MailId int64 `gorm:"primaryKey;column:mail_id;<-:create" json:"mail_id,string"`
|
||||||
MailType int32 `gorm:"column:mail_type;<-:create" json:"mail_type"`
|
MailType int32 `gorm:"column:mail_type;<-:create" json:"mail_type"`
|
||||||
Subject string `gorm:"column:subject" json:"subject"`
|
Subject string `gorm:"column:subject" json:"subject"`
|
||||||
@ -34,8 +34,8 @@ type Mail struct {
|
|||||||
SendTime int32 `gorm:"column:sendtime" json:"sendtime"`
|
SendTime int32 `gorm:"column:sendtime" json:"sendtime"`
|
||||||
UserRegStartTime int32 `gorm:"column:user_reg_start_time" json:"user_reg_start_time"`
|
UserRegStartTime int32 `gorm:"column:user_reg_start_time" json:"user_reg_start_time"`
|
||||||
UserRegEndTime int32 `gorm:"column:user_reg_end_time" json:"user_reg_end_time"`
|
UserRegEndTime int32 `gorm:"column:user_reg_end_time" json:"user_reg_end_time"`
|
||||||
Tag1 int32 `gorm:"column:tag1" json:"tag1"`
|
Tag1 int32 `gorm:"column:tag1;<-:create" json:"tag1"`
|
||||||
Tag2 int32 `gorm:"column:tag2;" json:"tag2"`
|
Tag2 int32 `gorm:"column:tag2;<-:create" json:"tag2"`
|
||||||
ExpireTime int32 `gorm:"column:expiretime" json:"expiretime"`
|
ExpireTime int32 `gorm:"column:expiretime" json:"expiretime"`
|
||||||
CreateTime int32 `gorm:"column:createtime;<-:create" json:"createtime"`
|
CreateTime int32 `gorm:"column:createtime;<-:create" json:"createtime"`
|
||||||
ModifyTime int32 `gorm:"column:modifytime" json:"modifytime"`
|
ModifyTime int32 `gorm:"column:modifytime" json:"modifytime"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user