This commit is contained in:
mmrbnjd
2025-01-11 10:10:47 +03:30
parent fa3ca6a7cb
commit 6d03fedbeb
12 changed files with 450 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
using Shared.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs.Warehouse
{
public enum TypeCirculation
{
[Display(Name = "رسید")]
Receipt,
[Display(Name = "حواله")]
Remittance
}
public class CirculationDto
{
public int CODID { get; set; }
public string? CODTitle { get; set; }
public int Count { get; set; }
public string Date { get; set; }
public bool? ForSale { get; set; }
public string ModelTypeTitle { get; set; }
public int ModelTypeID { get; set; }
public string info { get; set; }
public TypeCirculation Type { get; set; }
}
}

View File

@@ -0,0 +1,21 @@
using Shared.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs.Warehouse
{
public class ReceiptDto
{
public int? ID { get; set; }
public int CODID { get; set; }
public string? CODTitle { get; set; }
public int Count { get; set; }
public string Date { get; set; }
public bool ForSale { get; set; }
public TypeReceipt Type { get; set; }
public string info { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using Shared.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs.Warehouse
{
public class RemittanceDto
{
public int? ID { get; set; }
public int CODID { get; set; }
public string CODTitle { get; set; }
public int Count { get; set; }
public string Date { get; set; }
public TypeRemittance Type { get; set; }
public string info { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.Enums
{
public enum TypeReceipt
{
[Display(Name = "خرید")]
Shopping=1,
[Display(Name = "امانت")]
trust=2
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.Enums
{
public enum TypeRemittance
{
[Display(Name = "فروش")]
Sale=3,
[Display(Name = "امانت")]
trust=4
}
}