20 lines
519 B
Go
20 lines
519 B
Go
|
|
package response
|
||
|
|
|
||
|
|
import (
|
||
|
|
"time"
|
||
|
|
)
|
||
|
|
|
||
|
|
type BannersResponse struct {
|
||
|
|
ID uint `json:"id"`
|
||
|
|
Title string `json:"title"`
|
||
|
|
Description *string `json:"description"`
|
||
|
|
ThumbnailPath *string `json:"thumbnail_path"`
|
||
|
|
ThumbnailUrl *string `json:"thumbnail_url"`
|
||
|
|
Position *string `json:"position"`
|
||
|
|
Status *string `json:"status"`
|
||
|
|
IsActive *bool `json:"is_active"`
|
||
|
|
CreatedAt time.Time `json:"created_at"`
|
||
|
|
UpdatedAt time.Time `json:"updated_at"`
|
||
|
|
}
|
||
|
|
|