Passport/pkg/internal/models/statuses.go

21 lines
447 B
Go
Raw Normal View History

2024-06-26 09:59:15 +00:00
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"`
}