16 lines
471 B
Go
16 lines
471 B
Go
|
package model
|
||
|
|
||
|
type Pool struct {
|
||
|
ID int64 `json:"id"`
|
||
|
Name string `json:"name"`
|
||
|
CreatedAt string `json:"created_at"`
|
||
|
UpdatedAt string `json:"updated_at"`
|
||
|
CreatorID int64 `json:"creator_id"`
|
||
|
Description string `json:"description"`
|
||
|
IsActive bool `json:"is_active"`
|
||
|
Category string `json:"category"`
|
||
|
PostIDS []int64 `json:"post_ids"`
|
||
|
CreatorName string `json:"creator_name"`
|
||
|
PostCount int64 `json:"post_count"`
|
||
|
}
|