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.
31 lines
736 B
31 lines
736 B
package model |
|
|
|
import ( |
|
"go-common/library/time" |
|
) |
|
|
|
// CardGroup card group info. |
|
type CardGroup struct { |
|
ID int64 `json:"id"` |
|
Name string `json:"name"` |
|
State int8 `json:"state"` |
|
Deleted int8 `json:"deleted"` |
|
Operator string `json:"operator"` |
|
OrderNum int64 `json:"order_num"` |
|
Ctime time.Time `json:"ctime"` |
|
Mtime time.Time `json:"mtime"` |
|
} |
|
|
|
// AllGroupResp all group resp. |
|
type AllGroupResp struct { |
|
List []*GroupInfo `json:"list"` |
|
UserCard *UserCard `json:"user_card,omitempty"` |
|
} |
|
|
|
// GroupInfo group info |
|
type GroupInfo struct { |
|
GroupID int64 `json:"group_id"` |
|
GroupName string `json:"group_name"` |
|
Cards []*Card `json:"cards"` |
|
OrderNum int64 `json:"-"` |
|
}
|
|
|