ignore event xorm field

This commit is contained in:
Ulric Qin 2020-03-28 18:50:52 +08:00
parent 6b87069f8e
commit cb64d2cb98
1 changed files with 3 additions and 3 deletions

View File

@ -29,9 +29,9 @@ type Event struct {
Nid int64 `json:"nid"`
NeedUpgrade int `json:"need_upgrade"`
AlertUpgrade string `json:"alert_upgrade"`
RecvUserIDs []int64 `json:"recv_user_ids"`
RecvUserObjs []User `json:"recv_user_objs"`
RealUpgrade bool `json:"real_upgrade"`
RecvUserIDs []int64 `json:"recv_user_ids" xorm:"-"`
RecvUserObjs []User `json:"recv_user_objs" xorm:"-"`
RealUpgrade bool `json:"real_upgrade" xorm:"-"`
}
type EventDetail struct {