Passport/pkg/internal/models/statuses.go
2024-06-26 17:59:15 +08:00

21 lines
447 B
Go

package models
type StatusAttitude = uint8
const (
AttitudeNeutral = StatusAttitude(iota)
AttitudePositive
AttitudeNegative
)
type Status struct {
BaseModel
Type string `json:"type"`
Label string `json:"label"`
Attitude StatusAttitude `json:"attitude"`
IsNoDisturb bool `json:"is_no_disturb"`
IsInvisible bool `json:"is_invisible"`
AccountID uint `json:"account_id"`
}