63 lines
1.1 KiB
C#
63 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Auth.Contracts;
|
|
|
|
public static class AppEnum
|
|
{
|
|
public enum Roles
|
|
{
|
|
[Display(Name = "أدمن للموقع")]
|
|
Owner,
|
|
|
|
[Display(Name = "أدمن")]
|
|
Admin,
|
|
|
|
[Display(Name = "منظم")]
|
|
Moderator,
|
|
|
|
[Display(Name = "طبيعي")]
|
|
Standard,
|
|
|
|
}
|
|
|
|
public enum RequestType
|
|
{
|
|
[Display(Name = "مالية")]
|
|
Financial,
|
|
|
|
[Display(Name = "بصمة")]
|
|
Punches,
|
|
|
|
[Display(Name = "إذن غياب")]
|
|
AbsencePermission,
|
|
|
|
[Display(Name = "إذن تأخير - خروج مبكر")]
|
|
LeavePermission
|
|
}
|
|
|
|
public enum FinancialType
|
|
{
|
|
[Display(Name = "سلفة")]
|
|
Loan,
|
|
|
|
[Display(Name = "حافز")]
|
|
Incentive
|
|
}
|
|
|
|
public enum RequestStatus
|
|
{
|
|
[Display(Name = "منتظرة")]
|
|
Postponed,
|
|
|
|
[Display(Name = "مقبولة")]
|
|
Accepted,
|
|
|
|
[Display(Name = "مرفوضة")]
|
|
Declined
|
|
}
|
|
}
|