You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.0 KiB
33 lines
1.0 KiB
package model |
|
|
|
import "go-common/library/time" |
|
|
|
// Card info. |
|
type Card struct { |
|
ID int64 `json:"id"` |
|
Name string `json:"name"` |
|
State int32 `json:"state"` |
|
Deleted int32 `json:"deleted"` |
|
IsHot int32 `json:"is_hot"` |
|
CardURL string `json:"card_url"` |
|
BigCradURL string `json:"big_card_url"` |
|
CardType int32 `json:"card_type"` |
|
CardTypeName string `json:"card_type_name"` |
|
OrderNum int64 `json:"order_num"` |
|
GroupID int64 `json:"group_id"` |
|
Operator string `json:"operator"` |
|
Ctime time.Time `json:"ctime"` |
|
Mtime time.Time `json:"mtime"` |
|
} |
|
|
|
// UserCard user card info. |
|
type UserCard struct { |
|
Mid int64 `json:"mid"` |
|
ID int64 `json:"id"` |
|
CardURL string `json:"card_url"` |
|
BigCradURL string `json:"big_card_url"` |
|
CardType int32 `json:"card_type"` |
|
Name string `json:"name"` |
|
ExpireTime int64 `json:"expire_time"` |
|
CardTypeName string `json:"card_type_name"` |
|
}
|
|
|