package checkoutfields type CheckoutField struct { ID int16 `gorm:"primaryKey"` CheckoutPhone bool `gorm:"not null;default:false"` CheckoutAddress bool `gorm:"not null;default:false"` CheckoutSnap bool `gorm:"not null;default:false"` CheckoutInsta bool `gorm:"not null;default:false"` CheckoutTelegram bool `gorm:"not null;default:false"` CheckoutSimpleX bool `gorm:"not null;default:false"` CheckoutWhatsapp bool `gorm:"not null;default:false"` CheckoutSignal bool `gorm:"not null;default:false"` CheckoutNotes bool `gorm:"not null;default:false"` CheckoutHour bool `gorm:"not null;default:false"` } type settingsPayload struct { Phone bool `json:"phone"` Address bool `json:"address"` Snap bool `json:"snap"` Insta bool `json:"insta"` Telegram bool `json:"telegram"` SimpleX bool `json:"simplex"` Whatsapp bool `json:"whatsapp"` Signal bool `json:"signal"` Notes bool `json:"notes"` Hour bool `json:"hour"` } func (CheckoutField) TableName() string { return "checkout_fields" }