go-common/app/admin/main/reply/model/action.go

22 lines
403 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
import (
xtime "go-common/library/time"
)
// Action 点赞或踩
const (
ActionNormal int32 = 0 // 未踩赞
ActionLike int32 = 1 // 赞
ActionHate int32 = 2 // 踩
)
// Action reply action info
type Action struct {
ID int64 `json:"-"`
RpID int64 `json:"rpid"`
Action int8 `json:"action"`
Mid int64 `json:"mid"`
CTime xtime.Time `json:"-"`
}