serv full ticket

This commit is contained in:
mmrbnjd
2024-05-01 15:42:21 +03:30
parent 827aa36860
commit 720b2f00ce
23 changed files with 353 additions and 58 deletions

View File

@@ -0,0 +1,17 @@
using System.ComponentModel.DataAnnotations;
namespace Shared.DTOs
{
public enum CustomerType:int
{
[Display(Name = "حقیقی")]
genuine = 1,
[Display(Name = "حقوقی")]
legal = 2,
[Display(Name = "مشارکت مدنی")]
CivilPartnership = 3,
[Display(Name = "اتباع عیر ایرانی")]
NonIranianNationals = 4
}
}

View File

@@ -0,0 +1,25 @@
using System.ComponentModel.DataAnnotations;
namespace Shared.DTOs
{
public enum InvoiceType:int
{
[Display(Name = "پیشنهاد قیمت")]
Bidding=10,
//[Display(Name = "فاکتور")]
//Factor=11,
//[Display(Name = "قطعی")]
//Final=12,
[Display(Name = "لغو")]
CANCEL = 0,
[Display(Name = "فروش")]
Sale=1,
[Display(Name = "ابطالی")]
Cancellation=3,
[Display(Name = "اصلاحی")]
Repair=2,
[Display(Name = "برگشت از فروش")]
BackFrmSale = 4
}
}

View File

@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace Shared.DTOs
{
public enum SentStatus
{
[Display(Name = "ارسال شده")]
Send,
[Display(Name = "موفق")]
Successful,
[Display(Name = "ناموفق")]
Unsuccessful,
[Display(Name = "در حال پردازش")]
pending,
[Display(Name = "نامشخص")]
Unknown,
[Display(Name = "یافت نشده")]
NOT_FOUND
}
}

12
Shared/Enums/SideType.cs Normal file
View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace Shared.DTOs
{
public enum SideType
{
[Display(Name = "مشتری")]
Customer,
[Display(Name = "کارشناس")]
Expert
}
}

View File

@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
namespace Shared.DTOs
{
public enum StatusOrder
{
[Display(Name = "ساخته شده")]
Create,
[Display(Name = "پرداخت شده")]
Paid,
[Display(Name = "انصراف داده شده")]
Cancel
}
}

View File

@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace Shared.DTOs
{
public enum StatusTicket
{
[Display(Name = "فرد ناشناس")]
unknownPerson,
[Display(Name = "در انتظار بررسی")]
Awaitingreview,
[Display(Name = "خوانده شده/ در حال بررسی")]
Read_Checking,
[Display(Name = "پاسخ داده شده")]
hasbeenanswered,
[Display(Name = "پاِیان")]
End,
[Display(Name = "انصراف")]
optout,
}
}