59 lines
1.2 KiB
C#
59 lines
1.2 KiB
C#
///
|
|
/// Copyright (c) 2017-2019 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
|
|
namespace Users.Entities
|
|
{
|
|
/// <summary> Identifies the type of a database </summary>
|
|
public enum DBType
|
|
{
|
|
MySql, /// MySQL database
|
|
SQLite, /// SQLite
|
|
Count
|
|
}
|
|
|
|
/// <summary> Identifies the database based on the content </summary>
|
|
public enum DBKind
|
|
{
|
|
Config,
|
|
Results,
|
|
RemoteConfig,
|
|
Count
|
|
}
|
|
|
|
public enum LoginMethod
|
|
{
|
|
UserName, /// = alias, abbreviation
|
|
FullName, /// = description
|
|
Number,
|
|
Count
|
|
}
|
|
|
|
public enum AuthorizedAs
|
|
{
|
|
PowerUser,
|
|
LocalUser,
|
|
RemoteUser,
|
|
Count
|
|
}
|
|
|
|
/// <summary>
|
|
/// GID-s of user groups, each user is member of one or more groups.
|
|
/// </summary>
|
|
public enum GID
|
|
{
|
|
Testers,
|
|
TestingSpecialists,
|
|
HeadOfLab,
|
|
MaintenanceSpecialists,
|
|
Metrologists,
|
|
CalibrationSpecialists,
|
|
Administrators, /// application / network / database administrator
|
|
TraceabilityManagement,
|
|
MetrologicalAuthority,
|
|
WaterMeterAuthority,
|
|
NrOfGroups, /// Number of groups (this is not a GroupID)
|
|
}
|
|
}
|