model

package
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FivenetAccounts

type FivenetAccounts struct {
	ID               uint64     `sql:"primary_key" json:"id"`
	CreatedAt        *time.Time `json:"created_at"`
	UpdatedAt        *time.Time `json:"updated_at"`
	Enabled          *bool      `json:"enabled"`
	Username         *string    `json:"username"`
	Password         *string    `json:"password"`
	License          string     `json:"license"`
	RegToken         *string    `json:"reg_token"`
	OverrideJob      *string    `json:"override_job"`
	OverrideJobGrade *int32     `json:"override_job_grade"`
	Superuser        *bool      `json:"superuser"`
	LastChar         *int32     `json:"last_char"`
}

type FivenetAttrs

type FivenetAttrs struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	PermissionID uint64     `json:"permission_id"`
	Key          string     `json:"key"`
	Type         string     `json:"type"`
	ValidValues  *string    `json:"valid_values"`
}

type FivenetAuditLog

type FivenetAuditLog struct {
	ID            uint64     `sql:"primary_key" json:"id"`
	CreatedAt     *time.Time `json:"created_at"`
	UserID        int32      `json:"user_id"`
	UserJob       string     `json:"user_job"`
	TargetUserID  *int32     `json:"target_user_id"`
	TargetUserJob *string    `json:"target_user_job"`
	Service       string     `json:"service"`
	Method        string     `json:"method"`
	State         int16      `json:"state"`
	Data          *string    `json:"data"`
}

type FivenetCalendar

type FivenetCalendar struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	DeletedAt   *time.Time `json:"deleted_at"`
	Job         *string    `json:"job"`
	Name        string     `json:"name"`
	Description *string    `json:"description"`
	Public      *bool      `json:"public"`
	Closed      *bool      `json:"closed"`
	Color       *string    `json:"color"`
	CreatorID   *int32     `json:"creator_id"`
	CreatorJob  string     `json:"creator_job"`
}

type FivenetCalendarEntries

type FivenetCalendarEntries struct {
	ID         uint64     `sql:"primary_key" json:"id"`
	CreatedAt  *time.Time `json:"created_at"`
	UpdatedAt  *time.Time `json:"updated_at"`
	DeletedAt  *time.Time `json:"deleted_at"`
	CalendarID uint64     `json:"calendar_id"`
	Job        *string    `json:"job"`
	StartTime  time.Time  `json:"start_time"`
	EndTime    *time.Time `json:"end_time"`
	Title      string     `json:"title"`
	Content    *string    `json:"content"`
	Closed     *bool      `json:"closed"`
	RsvpOpen   *bool      `json:"rsvp_open"`
	CreatorID  *int32     `json:"creator_id"`
	CreatorJob string     `json:"creator_job"`
	Recurring  *string    `json:"recurring"`
}

type FivenetCalendarJobAccess

type FivenetCalendarJobAccess struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	CalendarID   uint64     `json:"calendar_id"`
	Job          string     `json:"job"`
	MinimumGrade int32      `json:"minimum_grade"`
	Access       int16      `json:"access"`
}

type FivenetCalendarRsvp

type FivenetCalendarRsvp struct {
	EntryID   uint64     `sql:"primary_key" json:"entry_id"`
	CreatedAt *time.Time `json:"created_at"`
	UserID    int32      `sql:"primary_key" json:"user_id"`
	Response  *int16     `json:"response"`
}

type FivenetCalendarSubs

type FivenetCalendarSubs struct {
	CalendarID uint64     `json:"calendar_id"`
	EntryID    *uint64    `json:"entry_id"`
	UserID     int32      `json:"user_id"`
	CreatedAt  *time.Time `json:"created_at"`
	Confirmed  bool       `json:"confirmed"`
	Muted      bool       `json:"muted"`
}

type FivenetCalendarUserAccess

type FivenetCalendarUserAccess struct {
	ID         uint64     `sql:"primary_key" json:"id"`
	CreatedAt  *time.Time `json:"created_at"`
	CalendarID *uint64    `json:"calendar_id"`
	UserID     int32      `json:"user_id"`
	Access     int16      `json:"access"`
}

type FivenetCentrumDispatches

type FivenetCentrumDispatches struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	Job         string     `json:"job"`
	Message     string     `json:"message"`
	Description *string    `json:"description"`
	Attributes  *string    `json:"attributes"`
	References  *string    `json:"references"`
	X           *float64   `json:"x"`
	Y           *float64   `json:"y"`
	Postal      *string    `json:"postal"`
	Anon        bool       `json:"anon"`
	CreatorID   int32      `json:"creator_id"`
}

type FivenetCentrumDispatchesAsgmts

type FivenetCentrumDispatchesAsgmts struct {
	DispatchID uint64     `sql:"primary_key" json:"dispatch_id"`
	UnitID     uint64     `sql:"primary_key" json:"unit_id"`
	CreatedAt  *time.Time `json:"created_at"`
	ExpiresAt  *time.Time `json:"expires_at"`
}

type FivenetCentrumDispatchesStatus

type FivenetCentrumDispatchesStatus struct {
	ID         uint64     `sql:"primary_key" json:"id"`
	CreatedAt  *time.Time `json:"created_at"`
	DispatchID uint64     `json:"dispatch_id"`
	UnitID     *uint64    `json:"unit_id"`
	Status     int16      `json:"status"`
	Reason     *string    `json:"reason"`
	Code       *string    `json:"code"`
	X          *float64   `json:"x"`
	Y          *float64   `json:"y"`
	Postal     *string    `json:"postal"`
	UserID     *int32     `json:"user_id"`
}

type FivenetCentrumMarkers

type FivenetCentrumMarkers struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	ExpiresAt   *time.Time `json:"expires_at"`
	Job         string     `json:"job"`
	Name        string     `json:"name"`
	Description *string    `json:"description"`
	X           *float64   `json:"x"`
	Y           *float64   `json:"y"`
	Postal      *string    `json:"postal"`
	Color       *string    `json:"color"`
	Icon        *string    `json:"icon"`
	MarkerType  int16      `json:"marker_type"`
	MarkerData  *[]byte    `json:"marker_data"`
	CreatorID   *int32     `json:"creator_id"`
}

type FivenetCentrumSettings

type FivenetCentrumSettings struct {
	Job              string  `sql:"primary_key" json:"job"`
	Enabled          bool    `json:"enabled"`
	Mode             *int32  `json:"mode"`
	FallbackMode     *int32  `json:"fallback_mode"`
	PredefinedStatus *string `json:"predefined_status"`
	Timings          *string `json:"timings"`
}

type FivenetCentrumUnits

type FivenetCentrumUnits struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	DeletedAt   *time.Time `json:"deleted_at"`
	Job         string     `json:"job"`
	Name        string     `json:"name"`
	Initials    string     `json:"initials"`
	Color       string     `json:"color"`
	Description *string    `json:"description"`
	Attributes  *string    `json:"attributes"`
	HomePostal  *string    `json:"home_postal"`
}

type FivenetCentrumUnitsJobAccess added in v0.9.4

type FivenetCentrumUnitsJobAccess struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	UnitID       uint64     `json:"unit_id"`
	Job          string     `json:"job"`
	MinimumGrade int32      `json:"minimum_grade"`
	Access       int16      `json:"access"`
}

type FivenetCentrumUnitsQualificationsAccess added in v0.9.4

type FivenetCentrumUnitsQualificationsAccess struct {
	ID              uint64     `sql:"primary_key" json:"id"`
	CreatedAt       *time.Time `json:"created_at"`
	UnitID          uint64     `json:"unit_id"`
	QualificationID uint64     `json:"qualification_id"`
	Access          int16      `json:"access"`
}

type FivenetCentrumUnitsStatus

type FivenetCentrumUnitsStatus struct {
	ID        uint64     `sql:"primary_key" json:"id"`
	CreatedAt *time.Time `json:"created_at"`
	UnitID    uint64     `json:"unit_id"`
	Status    int16      `json:"status"`
	Reason    *string    `json:"reason"`
	Code      *string    `json:"code"`
	UserID    *int32     `json:"user_id"`
	X         *float64   `json:"x"`
	Y         *float64   `json:"y"`
	Postal    *string    `json:"postal"`
	CreatorID *int32     `json:"creator_id"`
}

type FivenetCentrumUnitsUsers

type FivenetCentrumUnitsUsers struct {
	UnitID uint64 `sql:"primary_key" json:"unit_id"`
	UserID int32  `sql:"primary_key" json:"user_id"`
}

type FivenetCentrumUsers

type FivenetCentrumUsers struct {
	Job        string `json:"job"`
	UserID     int32  `sql:"primary_key" json:"user_id"`
	Identifier string `json:"identifier"`
}

type FivenetConfig

type FivenetConfig struct {
	Key          int64      `sql:"primary_key" json:"key"`
	CreatedAt    *time.Time `json:"created_at"`
	UpdatedAt    *time.Time `json:"updated_at"`
	AppConfig    *string    `json:"app_config"`
	PluginConfig *string    `json:"plugin_config"`
}

type FivenetDocuments

type FivenetDocuments struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	DeletedAt   *time.Time `json:"deleted_at"`
	CategoryID  *uint64    `json:"category_id"`
	Title       string     `json:"title"`
	Summary     string     `json:"summary"`
	ContentType int16      `json:"content_type"`
	Content     string     `json:"content"`
	Data        *string    `json:"data"`
	CreatorID   *int32     `json:"creator_id"`
	CreatorJob  string     `json:"creator_job"`
	State       string     `json:"state"`
	Closed      *bool      `json:"closed"`
	Public      bool       `json:"public"`
	TemplateID  *uint64    `json:"template_id"`
}

type FivenetDocumentsActivity

type FivenetDocumentsActivity struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	DocumentID   uint64     `json:"document_id"`
	ActivityType int16      `json:"activity_type"`
	CreatorID    *int32     `json:"creator_id"`
	CreatorJob   string     `json:"creator_job"`
	Reason       *string    `json:"reason"`
	Data         *string    `json:"data"`
}

type FivenetDocumentsCategories

type FivenetDocumentsCategories struct {
	ID          uint64  `sql:"primary_key" json:"id"`
	Name        string  `json:"name"`
	Description *string `json:"description"`
	Job         string  `json:"job"`
	Color       *string `json:"color"`
	Icon        *string `json:"icon"`
}

type FivenetDocumentsComments

type FivenetDocumentsComments struct {
	ID         uint64     `sql:"primary_key" json:"id"`
	CreatedAt  *time.Time `json:"created_at"`
	UpdatedAt  *time.Time `json:"updated_at"`
	DeletedAt  *time.Time `json:"deleted_at"`
	DocumentID uint64     `json:"document_id"`
	Comment    *string    `json:"comment"`
	CreatorID  int32      `json:"creator_id"`
	CreatorJob string     `json:"creator_job"`
}

type FivenetDocumentsJobAccess

type FivenetDocumentsJobAccess struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	DocumentID   uint64     `json:"document_id"`
	Job          string     `json:"job"`
	MinimumGrade int32      `json:"minimum_grade"`
	Access       int16      `json:"access"`
}

type FivenetDocumentsPins

type FivenetDocumentsPins struct {
	DocumentID uint64     `sql:"primary_key" json:"document_id"`
	Job        string     `sql:"primary_key" json:"job"`
	CreatedAt  *time.Time `json:"created_at"`
	State      *bool      `json:"state"`
	CreatorID  int32      `json:"creator_id"`
}

type FivenetDocumentsReferences

type FivenetDocumentsReferences struct {
	ID               uint64     `sql:"primary_key" json:"id"`
	CreatedAt        *time.Time `json:"created_at"`
	DeletedAt        *time.Time `json:"deleted_at"`
	SourceDocumentID uint64     `json:"source_document_id"`
	Reference        int16      `json:"reference"`
	TargetDocumentID uint64     `json:"target_document_id"`
	CreatorID        *int32     `json:"creator_id"`
}

type FivenetDocumentsRelations

type FivenetDocumentsRelations struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	DeletedAt    *time.Time `json:"deleted_at"`
	DocumentID   uint64     `json:"document_id"`
	SourceUserID *int32     `json:"source_user_id"`
	Relation     int16      `json:"relation"`
	TargetUserID int32      `json:"target_user_id"`
}

type FivenetDocumentsRequests

type FivenetDocumentsRequests struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	DocumentID  uint64     `json:"document_id"`
	RequestType int16      `json:"request_type"`
	CreatorID   *int32     `json:"creator_id"`
	CreatorJob  string     `json:"creator_job"`
	Reason      *string    `json:"reason"`
	Data        *string    `json:"data"`
	Accepted    *bool      `json:"accepted"`
}

type FivenetDocumentsTemplates

type FivenetDocumentsTemplates struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	UpdatedAt    *time.Time `json:"updated_at"`
	DeletedAt    *time.Time `json:"deleted_at"`
	Weight       *uint32    `json:"weight"`
	CategoryID   *uint64    `json:"category_id"`
	Title        string     `json:"title"`
	Description  string     `json:"description"`
	Color        *string    `json:"color"`
	Icon         *string    `json:"icon"`
	ContentTitle string     `json:"content_title"`
	Content      string     `json:"content"`
	State        string     `json:"state"`
	Access       *string    `json:"access"`
	Schema       *string    `json:"schema"`
	Workflow     *string    `json:"workflow"`
	CreatorJob   string     `json:"creator_job"`
}

type FivenetDocumentsTemplatesJobAccess

type FivenetDocumentsTemplatesJobAccess struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	UpdatedAt    *time.Time `json:"updated_at"`
	TemplateID   uint64     `json:"template_id"`
	Job          string     `json:"job"`
	MinimumGrade int32      `json:"minimum_grade"`
	Access       int16      `json:"access"`
}

type FivenetDocumentsUserAccess

type FivenetDocumentsUserAccess struct {
	ID         uint64     `sql:"primary_key" json:"id"`
	CreatedAt  *time.Time `json:"created_at"`
	DocumentID *uint64    `json:"document_id"`
	UserID     int32      `json:"user_id"`
	Access     int16      `json:"access"`
}

type FivenetDocumentsWorkflowState added in v0.9.4

type FivenetDocumentsWorkflowState struct {
	DocumentID        uint64     `json:"document_id"`
	NextReminderTime  *time.Time `json:"next_reminder_time"`
	NextReminderCount *int32     `json:"next_reminder_count"`
	AutoCloseTime     *time.Time `json:"auto_close_time"`
}

type FivenetDocumentsWorkflowUsers added in v0.9.4

type FivenetDocumentsWorkflowUsers struct {
	DocumentID            uint64     `json:"document_id"`
	UserID                int32      `json:"user_id"`
	ManualReminderTime    *time.Time `json:"manual_reminder_time"`
	ManualReminderMessage *string    `json:"manual_reminder_message"`
}

type FivenetInternetAds added in v0.9.4

type FivenetInternetAds struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	DeletedAt   *time.Time `json:"deleted_at"`
	Disabled    *bool      `json:"disabled"`
	AdType      int16      `json:"ad_type"`
	StartsAt    *time.Time `json:"starts_at"`
	EndsAt      *time.Time `json:"ends_at"`
	Title       string     `json:"title"`
	Description string     `json:"description"`
	Image       *string    `json:"image"`
	ApproverJob *string    `json:"approver_job"`
	ApproverID  *int32     `json:"approver_id"`
	CreatorJob  *string    `json:"creator_job"`
	CreatorID   *int32     `json:"creator_id"`
}

type FivenetInternetDomains added in v0.9.4

type FivenetInternetDomains struct {
	ID         uint64     `sql:"primary_key" json:"id"`
	CreatedAt  *time.Time `json:"created_at"`
	UpdatedAt  *time.Time `json:"updated_at"`
	DeletedAt  *time.Time `json:"deleted_at"`
	Name       string     `json:"name"`
	CreatorJob *string    `json:"creator_job"`
	CreatorID  *int32     `json:"creator_id"`
}

type FivenetInternetPages added in v0.9.4

type FivenetInternetPages struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	DeletedAt   *time.Time `json:"deleted_at"`
	DomainID    uint64     `json:"domain_id"`
	Path        string     `json:"path"`
	Title       string     `json:"title"`
	Description string     `json:"description"`
	Data        *string    `json:"data"`
	CreatorJob  *string    `json:"creator_job"`
	CreatorID   *int32     `json:"creator_id"`
}

type FivenetJobAttrs

type FivenetJobAttrs struct {
	Job       string  `sql:"primary_key" json:"job"`
	AttrID    uint64  `sql:"primary_key" json:"attr_id"`
	MaxValues *string `json:"max_values"`
}

type FivenetJobCitizenAttributes

type FivenetJobCitizenAttributes struct {
	ID    uint64  `sql:"primary_key" json:"id"`
	Job   string  `json:"job"`
	Name  string  `json:"name"`
	Color *string `json:"color"`
}

type FivenetJobPermissions

type FivenetJobPermissions struct {
	Job          string `sql:"primary_key" json:"job"`
	PermissionID uint64 `sql:"primary_key" json:"permission_id"`
	Val          bool   `json:"val"`
}

type FivenetJobProps

type FivenetJobProps struct {
	Job                 string     `json:"job"`
	UpdatedAt           *time.Time `json:"updated_at"`
	Theme               *string    `json:"theme"`
	LivemapMarkerColor  *string    `json:"livemap_marker_color"`
	QuickButtons        *string    `json:"quick_buttons"`
	RadioFrequency      *string    `json:"radio_frequency"`
	DiscordGuildID      *string    `json:"discord_guild_id"`
	DiscordLastSync     *time.Time `json:"discord_last_sync"`
	DiscordSyncSettings *string    `json:"discord_sync_settings"`
	DiscordSyncChanges  *string    `json:"discord_sync_changes"`
	Motd                *string    `json:"motd"`
	LogoURL             *string    `json:"logo_url"`
	Settings            *string    `json:"settings"`
	CitizenAttributes   *string    `json:"citizen_attributes"`
}

type FivenetJobsConduct

type FivenetJobsConduct struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	UpdatedAt    *time.Time `json:"updated_at"`
	Job          string     `json:"job"`
	Type         int16      `json:"type"`
	Message      *string    `json:"message"`
	ExpiresAt    *time.Time `json:"expires_at"`
	TargetUserID *int32     `json:"target_user_id"`
	CreatorID    *int32     `json:"creator_id"`
}

type FivenetJobsLabels added in v0.9.4

type FivenetJobsLabels struct {
	ID    uint64  `sql:"primary_key" json:"id"`
	Job   string  `json:"job"`
	Name  string  `json:"name"`
	Color *string `json:"color"`
	Order *int32  `json:"order"`
}

type FivenetJobsLabelsUsers added in v0.9.4

type FivenetJobsLabelsUsers struct {
	UserID  int32  `json:"user_id"`
	Job     string `json:"job"`
	LabelID uint64 `json:"label_id"`
}

type FivenetJobsTimeclock

type FivenetJobsTimeclock struct {
	Job       string     `sql:"primary_key" json:"job"`
	UserID    int32      `sql:"primary_key" json:"user_id"`
	Date      time.Time  `sql:"primary_key" json:"date"`
	StartTime *time.Time `json:"start_time"`
	EndTime   *time.Time `json:"end_time"`
	SpentTime *float64   `json:"spent_time"`
}

type FivenetJobsUserActivity

type FivenetJobsUserActivity struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	Job          string     `json:"job"`
	SourceUserID *int32     `json:"source_user_id"`
	TargetUserID int32      `json:"target_user_id"`
	ActivityType int16      `json:"activity_type"`
	Reason       *string    `json:"reason"`
	Data         *string    `json:"data"`
}

type FivenetJobsUserProps

type FivenetJobsUserProps struct {
	UserID       int32      `json:"user_id"`
	Job          string     `json:"job"`
	AbsenceBegin *time.Time `json:"absence_begin"`
	AbsenceEnd   *time.Time `json:"absence_end"`
	Note         *string    `json:"note"`
	NamePrefix   *string    `json:"name_prefix"`
	NameSuffix   *string    `json:"name_suffix"`
}

type FivenetLawbooks

type FivenetLawbooks struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	Name        string     `json:"name"`
	Description *string    `json:"description"`
}

type FivenetLawbooksLaws

type FivenetLawbooksLaws struct {
	ID            uint64     `sql:"primary_key" json:"id"`
	CreatedAt     *time.Time `json:"created_at"`
	UpdatedAt     *time.Time `json:"updated_at"`
	LawbookID     uint64     `json:"lawbook_id"`
	Name          string     `json:"name"`
	Description   *string    `json:"description"`
	Hint          *string    `json:"hint"`
	Fine          *uint64    `json:"fine"`
	DetentionTime *uint64    `json:"detention_time"`
	StvoPoints    *uint64    `json:"stvo_points"`
}

type FivenetMailerEmails added in v0.9.4

type FivenetMailerEmails struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	UpdatedAt    *time.Time `json:"updated_at"`
	DeletedAt    *time.Time `json:"deleted_at"`
	Deactivated  *bool      `json:"deactivated"`
	Job          *string    `json:"job"`
	UserID       *int32     `json:"user_id"`
	Email        string     `json:"email"`
	EmailChanged *time.Time `json:"email_changed"`
	Label        *string    `json:"label"`
	Internal     *bool      `json:"internal"`
	CreatorID    *int32     `json:"creator_id"`
}

type FivenetMailerEmailsJobAccess added in v0.9.4

type FivenetMailerEmailsJobAccess struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	EmailID      uint64     `json:"email_id"`
	Job          string     `json:"job"`
	MinimumGrade int32      `json:"minimum_grade"`
	Access       int16      `json:"access"`
}

type FivenetMailerEmailsQualificationsAccess added in v0.9.4

type FivenetMailerEmailsQualificationsAccess struct {
	ID              uint64     `sql:"primary_key" json:"id"`
	CreatedAt       *time.Time `json:"created_at"`
	EmailID         uint64     `json:"email_id"`
	QualificationID uint64     `json:"qualification_id"`
	Access          int16      `json:"access"`
}

type FivenetMailerEmailsUserAccess added in v0.9.4

type FivenetMailerEmailsUserAccess struct {
	ID        uint64     `sql:"primary_key" json:"id"`
	CreatedAt *time.Time `json:"created_at"`
	EmailID   uint64     `json:"email_id"`
	UserID    int32      `json:"user_id"`
	Access    int16      `json:"access"`
}

type FivenetMailerMessages added in v0.9.4

type FivenetMailerMessages struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	ThreadID     uint64     `json:"thread_id"`
	SenderID     uint64     `json:"sender_id"`
	CreatedAt    *time.Time `json:"created_at"`
	UpdatedAt    *time.Time `json:"updated_at"`
	DeletedAt    *time.Time `json:"deleted_at"`
	Title        string     `json:"title"`
	Content      string     `json:"content"`
	Data         *string    `json:"data"`
	CreatorID    *int32     `json:"creator_id"`
	CreatorJob   *string    `json:"creator_job"`
	CreatorEmail string     `json:"creator_email"`
}

type FivenetMailerSettings added in v0.9.4

type FivenetMailerSettings struct {
	EmailID   uint64  `sql:"primary_key" json:"email_id"`
	Signature *string `json:"signature"`
}

type FivenetMailerSettingsBlocked added in v0.9.4

type FivenetMailerSettingsBlocked struct {
	EmailID     uint64 `sql:"primary_key" json:"email_id"`
	TargetEmail string `sql:"primary_key" json:"target_email"`
}

type FivenetMailerTemplates added in v0.9.4

type FivenetMailerTemplates struct {
	ID         uint64     `sql:"primary_key" json:"id"`
	CreatedAt  *time.Time `json:"created_at"`
	UpdatedAt  *time.Time `json:"updated_at"`
	DeletedAt  *time.Time `json:"deleted_at"`
	EmailID    uint64     `json:"email_id"`
	Title      string     `json:"title"`
	Content    string     `json:"content"`
	CreatorJob *string    `json:"creator_job"`
	CreatorID  *int32     `json:"creator_id"`
}

type FivenetMailerThreads added in v0.9.4

type FivenetMailerThreads struct {
	ID             uint64     `sql:"primary_key" json:"id"`
	CreatedAt      *time.Time `json:"created_at"`
	UpdatedAt      *time.Time `json:"updated_at"`
	DeletedAt      *time.Time `json:"deleted_at"`
	Title          string     `json:"title"`
	CreatorEmailID uint64     `json:"creator_email_id"`
	CreatorID      *int32     `json:"creator_id"`
	CreatorEmail   string     `json:"creator_email"`
}

type FivenetMailerThreadsRecipients added in v0.9.4

type FivenetMailerThreadsRecipients struct {
	ID        uint64     `sql:"primary_key" json:"id"`
	CreatedAt *time.Time `json:"created_at"`
	ThreadID  uint64     `json:"thread_id"`
	EmailID   uint64     `json:"email_id"`
	Email     string     `json:"email"`
}

type FivenetMailerThreadsState added in v0.9.4

type FivenetMailerThreadsState struct {
	ThreadID  uint64     `sql:"primary_key" json:"thread_id"`
	EmailID   uint64     `sql:"primary_key" json:"email_id"`
	LastRead  *time.Time `json:"last_read"`
	Unread    *bool      `json:"unread"`
	Important *bool      `json:"important"`
	Favorite  *bool      `json:"favorite"`
	Muted     *bool      `json:"muted"`
	Archived  *bool      `json:"archived"`
}

type FivenetNotifications

type FivenetNotifications struct {
	ID        uint64     `sql:"primary_key" json:"id"`
	CreatedAt *time.Time `json:"created_at"`
	ReadAt    *time.Time `json:"read_at"`
	UserID    *int32     `json:"user_id"`
	Job       *string    `json:"job"`
	Title     string     `json:"title"`
	Type      int16      `json:"type"`
	Content   *string    `json:"content"`
	Category  int16      `json:"category"`
	Data      *string    `json:"data"`
	Starred   *bool      `json:"starred"`
}

type FivenetOauth2Accounts

type FivenetOauth2Accounts struct {
	AccountID  uint64     `json:"account_id"`
	CreatedAt  *time.Time `json:"created_at"`
	Provider   string     `json:"provider"`
	ExternalID string     `json:"external_id"`
	Username   string     `json:"username"`
	Avatar     string     `json:"avatar"`
}

type FivenetPermissions

type FivenetPermissions struct {
	ID        uint64     `sql:"primary_key" json:"id"`
	CreatedAt *time.Time `json:"created_at"`
	Category  string     `json:"category"`
	Name      string     `json:"name"`
	GuardName string     `json:"guard_name"`
}

type FivenetQualifications

type FivenetQualifications struct {
	ID                 uint64     `sql:"primary_key" json:"id"`
	CreatedAt          *time.Time `json:"created_at"`
	UpdatedAt          *time.Time `json:"updated_at"`
	DeletedAt          *time.Time `json:"deleted_at"`
	Job                string     `json:"job"`
	Weight             *uint32    `json:"weight"`
	Closed             *bool      `json:"closed"`
	Abbreviation       string     `json:"abbreviation"`
	Title              string     `json:"title"`
	Description        *string    `json:"description"`
	Content            *string    `json:"content"`
	CreatorID          *int32     `json:"creator_id"`
	CreatorJob         string     `json:"creator_job"`
	DiscordSyncEnabled *bool      `json:"discord_sync_enabled"`
	DiscordSettings    *string    `json:"discord_settings"`
	ExamMode           *int16     `json:"exam_mode"`
	ExamSettings       *string    `json:"exam_settings"`
	LabelSyncEnabled   *bool      `json:"label_sync_enabled"`
	LabelSyncFormat    *string    `json:"label_sync_format"`
}

type FivenetQualificationsExamQuestions

type FivenetQualificationsExamQuestions struct {
	ID              uint64     `sql:"primary_key" json:"id"`
	QualificationID uint64     `json:"qualification_id"`
	CreatedAt       *time.Time `json:"created_at"`
	UpdatedAt       *time.Time `json:"updated_at"`
	Title           string     `json:"title"`
	Description     *string    `json:"description"`
	Data            *string    `json:"data"`
	Answer          *string    `json:"answer"`
	Points          *int32     `json:"points"`
}

type FivenetQualificationsExamResponses

type FivenetQualificationsExamResponses struct {
	QualificationID uint64  `sql:"primary_key" json:"qualification_id"`
	UserID          int32   `sql:"primary_key" json:"user_id"`
	Responses       *string `json:"responses"`
}

type FivenetQualificationsExamUsers

type FivenetQualificationsExamUsers struct {
	QualificationID uint64     `sql:"primary_key" json:"qualification_id"`
	UserID          int32      `sql:"primary_key" json:"user_id"`
	CreatedAt       *time.Time `json:"created_at"`
	StartedAt       *time.Time `json:"started_at"`
	EndsAt          *time.Time `json:"ends_at"`
	EndedAt         *time.Time `json:"ended_at"`
}

type FivenetQualificationsJobAccess

type FivenetQualificationsJobAccess struct {
	ID              uint64     `sql:"primary_key" json:"id"`
	CreatedAt       *time.Time `json:"created_at"`
	QualificationID uint64     `json:"qualification_id"`
	Job             string     `json:"job"`
	MinimumGrade    int32      `json:"minimum_grade"`
	Access          int16      `json:"access"`
}

type FivenetQualificationsRequests

type FivenetQualificationsRequests struct {
	CreatedAt       *time.Time `json:"created_at"`
	DeletedAt       *time.Time `json:"deleted_at"`
	QualificationID uint64     `json:"qualification_id"`
	UserID          int32      `json:"user_id"`
	UserComment     *string    `json:"user_comment"`
	Status          *int16     `json:"status"`
	ApprovedAt      *time.Time `json:"approved_at"`
	ApproverComment *string    `json:"approver_comment"`
	ApproverID      *int32     `json:"approver_id"`
	ApproverJob     *string    `json:"approver_job"`
}

type FivenetQualificationsRequirements

type FivenetQualificationsRequirements struct {
	ID                    uint64     `sql:"primary_key" json:"id"`
	CreatedAt             *time.Time `json:"created_at"`
	QualificationID       uint64     `json:"qualification_id"`
	TargetQualificationID uint64     `json:"target_qualification_id"`
}

type FivenetQualificationsResults

type FivenetQualificationsResults struct {
	ID              uint64     `sql:"primary_key" json:"id"`
	CreatedAt       *time.Time `json:"created_at"`
	DeletedAt       *time.Time `json:"deleted_at"`
	QualificationID uint64     `json:"qualification_id"`
	UserID          int32      `json:"user_id"`
	Status          *int16     `json:"status"`
	Score           *int32     `json:"score"`
	Summary         *string    `json:"summary"`
	CreatorID       *int32     `json:"creator_id"`
	CreatorJob      string     `json:"creator_job"`
}

type FivenetRoleAttrs

type FivenetRoleAttrs struct {
	RoleID    uint64     `sql:"primary_key" json:"role_id"`
	CreatedAt *time.Time `json:"created_at"`
	UpdatedAt *time.Time `json:"updated_at"`
	AttrID    uint64     `sql:"primary_key" json:"attr_id"`
	Value     *string    `json:"value"`
}

type FivenetRolePermissions

type FivenetRolePermissions struct {
	RoleID       uint64 `sql:"primary_key" json:"role_id"`
	PermissionID uint64 `sql:"primary_key" json:"permission_id"`
	Val          bool   `json:"val"`
}

type FivenetRoles

type FivenetRoles struct {
	ID        uint64     `sql:"primary_key" json:"id"`
	CreatedAt *time.Time `json:"created_at"`
	Job       string     `json:"job"`
	Grade     int32      `json:"grade"`
}

type FivenetUserActivity

type FivenetUserActivity struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	SourceUserID *int32     `json:"source_user_id"`
	TargetUserID int32      `json:"target_user_id"`
	Type         int16      `json:"type"`
	Key          string     `json:"key"`
	OldValue     *string    `json:"old_value"`
	NewValue     *string    `json:"new_value"`
	Reason       *string    `json:"reason"`
}

type FivenetUserCitizenAttributes

type FivenetUserCitizenAttributes struct {
	UserID      int32  `json:"user_id"`
	AttributeID uint64 `json:"attribute_id"`
}

type FivenetUserLocations

type FivenetUserLocations struct {
	Identifier string     `sql:"primary_key" json:"identifier"`
	Job        string     `json:"job"`
	X          *float64   `json:"x"`
	Y          *float64   `json:"y"`
	Hidden     *bool      `json:"hidden"`
	UpdatedAt  *time.Time `json:"updated_at"`
}

type FivenetUserProps

type FivenetUserProps struct {
	UserID                  int32      `json:"user_id"`
	UpdatedAt               *time.Time `json:"updated_at"`
	Wanted                  *bool      `json:"wanted"`
	Job                     *string    `json:"job"`
	JobGrade                *int32     `json:"job_grade"`
	TrafficInfractionPoints *uint32    `json:"traffic_infraction_points"`
	OpenFines               *int64     `json:"open_fines"`
	BloodType               *string    `json:"blood_type"`
	Avatar                  *string    `json:"avatar"`
	MugShot                 *string    `json:"mug_shot"`
	Email                   *string    `json:"email"`
}

type FivenetWikiPageActivity added in v0.9.4

type FivenetWikiPageActivity struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	PageID       uint64     `json:"page_id"`
	ActivityType int16      `json:"activity_type"`
	CreatorID    *int32     `json:"creator_id"`
	CreatorJob   string     `json:"creator_job"`
	Reason       *string    `json:"reason"`
	Data         *string    `json:"data"`
}

type FivenetWikiPageJobAccess added in v0.9.4

type FivenetWikiPageJobAccess struct {
	ID           uint64     `sql:"primary_key" json:"id"`
	CreatedAt    *time.Time `json:"created_at"`
	PageID       uint64     `json:"page_id"`
	Job          string     `json:"job"`
	MinimumGrade int32      `json:"minimum_grade"`
	Access       int16      `json:"access"`
}

type FivenetWikiPageUserAccess added in v0.9.4

type FivenetWikiPageUserAccess struct {
	ID        uint64     `sql:"primary_key" json:"id"`
	CreatedAt *time.Time `json:"created_at"`
	PageID    uint64     `json:"page_id"`
	UserID    int32      `json:"user_id"`
	Access    int16      `json:"access"`
}

type FivenetWikiPages added in v0.9.4

type FivenetWikiPages struct {
	ID          uint64     `sql:"primary_key" json:"id"`
	Job         string     `json:"job"`
	ParentID    *uint64    `json:"parent_id"`
	ContentType int16      `json:"content_type"`
	CreatedAt   *time.Time `json:"created_at"`
	UpdatedAt   *time.Time `json:"updated_at"`
	DeletedAt   *time.Time `json:"deleted_at"`
	Toc         *bool      `json:"toc"`
	Public      bool       `json:"public"`
	Slug        string     `json:"slug"`
	Title       string     `json:"title"`
	Description string     `json:"description"`
	Content     string     `json:"content"`
	Data        *string    `json:"data"`
	CreatorID   *int32     `json:"creator_id"`
}

type GksphoneJobMessage

type GksphoneJobMessage struct {
	ID      int32     `sql:"primary_key" json:"id"`
	Name    *string   `json:"name"`
	Number  *string   `json:"number"`
	Message *string   `json:"message"`
	Photo   *string   `json:"photo"`
	Gps     *string   `json:"gps"`
	Owner   int32     `json:"owner"`
	Jobm    *string   `json:"jobm"`
	Anon    *string   `json:"anon"`
	Time    time.Time `json:"time"`
}

type GksphoneSettings

type GksphoneSettings struct {
	ID          int32   `sql:"primary_key" json:"id"`
	Identifier  *string `json:"identifier"`
	Crypto      *string `json:"crypto"`
	PhoneNumber *string `json:"phone_number"`
	AvatarURL   *string `json:"avatar_url"`
}

type JobGrades

type JobGrades struct {
	JobName string `sql:"primary_key" json:"job_name"`
	Grade   int32  `sql:"primary_key" json:"grade"`
	Name    string `json:"name"`
	Label   string `json:"label"`
	Salary  int32  `json:"salary"`
}

type Jobs

type Jobs struct {
	Name  string  `sql:"primary_key" json:"name"`
	Label *string `json:"label"`
}

type Licenses

type Licenses struct {
	Type  string `sql:"primary_key" json:"type"`
	Label string `json:"label"`
}

type OwnedVehicles

type OwnedVehicles struct {
	Owner     *string `json:"owner"`
	Plate     string  `sql:"primary_key" json:"plate"`
	Model     string  `json:"model"`
	Vehicle   *string `json:"vehicle"`
	Type      string  `json:"type"`
	Stored    bool    `json:"stored"`
	Carseller *int32  `json:"carseller"`
	Owners    *string `json:"owners"`
	Trunk     *string `json:"trunk"`
	Glovebox  *string `json:"glovebox"`
}

type UserLicenses

type UserLicenses struct {
	Type  string `sql:"primary_key" json:"type"`
	Owner string `sql:"primary_key" json:"owner"`
}

type Users

type Users struct {
	ID           int32      `json:"id"`
	Identifier   string     `sql:"primary_key" json:"identifier"`
	Group        *string    `json:"group"`
	Skin         *string    `json:"skin"`
	Job          *string    `json:"job"`
	JobGrade     *int32     `json:"job_grade"`
	Loadout      *string    `json:"loadout"`
	Position     *string    `json:"position"`
	Firstname    *string    `json:"firstname"`
	Lastname     *string    `json:"lastname"`
	Dateofbirth  *string    `json:"dateofbirth"`
	Sex          *string    `json:"sex"`
	Height       *string    `json:"height"`
	IsDead       *bool      `json:"is_dead"`
	LastProperty *string    `json:"last_property"`
	Jail         int32      `json:"jail"`
	Inventory    *string    `json:"inventory"`
	PhoneNumber  *string    `json:"phone_number"`
	Accounts     *string    `json:"accounts"`
	Tattoos      *string    `json:"tattoos"`
	Disabled     *bool      `json:"disabled"`
	Visum        *int32     `json:"visum"`
	Playtime     *int32     `json:"playtime"`
	LevelData    *string    `json:"levelData"`
	OnDuty       *int8      `json:"onDuty"`
	Health       *int32     `json:"health"`
	Armor        *int32     `json:"armor"`
	CreatedAt    *time.Time `json:"created_at"`
	LastSeen     *time.Time `json:"last_seen"`
	Metadata     *string    `json:"metadata"`
	Crew         *string    `json:"crew"`
	CrewLeader   *bool      `json:"crewLeader"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL