catface_backend_go/app/model/encounter_result.go
2024-10-20 21:01:12 +08:00

15 lines
469 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
import "time"
type EncounterList struct {
UserId int `form:"user_id" json:"user_id"`
Title string
Avatar string
AvatarHeight int `form:"avatar_height" json:"avatar_height"`
AvatarWidth int `form:"avatar_width" json:"avatar_width"`
UpdatedAt *time.Time `json:"updated_at,omitempty"` // TIP 设为 *time.Timeomitempty 和 autoUpdated 就都可以生效
UserName string `form:"user_name" json:"user_name"`
}