package constants

const (
	UnverifiedStatus = iota + 1
	VerifiedStatus
	ActiveStatus
	PassiveStatus
	DisabledStatus
	DelayedPaymentStatus
	SettledPaymentStatus
	AwaitingPaymentStatus
	MailVerificationSubject = "Nur noch ein kleiner Schritt!"
	MailRegistrationSubject = "Neues Mitglied hat sich registriert"
	MailWelcomeSubject      = "Willkommen beim Dörpsmobil Hasloh e.V."
	MailContactSubject      = "Jemand hat das Kontaktformular gefunden"
)

var Roles = struct {
	Member int8
	Viewer int8
	Editor int8
	Admin  int8
}{
	Member: 0,
	Viewer: 1,
	Editor: 4,
	Admin:  8,
}

var Licences = struct {
	AM  string
	A1  string
	A2  string
	A   string
	B   string
	C1  string
	C   string
	D1  string
	D   string
	BE  string
	C1E string
	CE  string
	D1E string
	DE  string
	L   string
	T   string
}{
	AM:  "AM",
	A1:  "A1",
	A2:  "A2",
	A:   "A",
	B:   "B",
	C1:  "C1",
	C:   "C",
	D1:  "D1",
	D:   "D",
	BE:  "BE",
	C1E: "C1E",
	CE:  "CE",
	D1E: "D1E",
	DE:  "DE",
	L:   "L",
	T:   "T",
}

var Priviliges = struct {
	View   int8
	Create int8
	Update int8
	Delete int8
}{
	View:   0,
	Update: 10,
	Create: 20,
	Delete: 30,
}

const PRIV_VIEW = 1
const PRIV_ADD = 2
const PRIV_EDIT = 4
const PRIV_DELETE = 8
