FivePD API
Models

Department

Represents the 'departments' table.

This model represents the database table fivepd_departments. When modifying any properties of this model, ensure that you have saved the changes using the DatabaseContext.

Properties

Id

Gets or sets the identifier.

Type: int

Name

Gets or sets the name.

Type: string

Callsign

Gets or sets the callsign.

Type: string

UseGlobalRanks

Gets or sets a value indicating whether this department uses global or custom ranks.

Type: bool

CallsignFormat

Gets or sets the callsign format.

Type: List<CallsignFormatItem>

MaxUsers

Gets or sets the maximum number of users.

Type: int

DefaultRank

Gets or sets the default rank which will be assigned to new members upon joining.

Type: Rank

Users

Gets or sets the users of this department.

Type: IList<User>

Divisions

Gets or sets the divisions of this department.

Type: IList<Division>

CalloutDetailsDepartments

Gets or sets the callout details of this department.

Type: IList<CalloutDetailsDepartment>

AreaCoordinates

Gets or sets the area coordinates of this department.

Type: IList<DepartmentAreaCoordinate>

DepartmentRanks

Gets or sets the DepartmentRanks.

Type: IList<DepartmentRank>