Files
moadiran/Shared/DTOs/Warehouse/CirculationDto.cs

43 lines
1.3 KiB
C#
Raw Permalink Normal View History

2025-01-11 10:10:47 +03:30
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 = "رسید")]
2025-01-22 13:02:53 +03:30
Receipt=10,
2025-01-11 10:10:47 +03:30
[Display(Name = "حواله")]
2025-01-22 13:02:53 +03:30
Remittance=20
2025-01-11 10:10:47 +03:30
}
public class CirculationDto
{
2025-01-22 13:02:53 +03:30
public int ID { get; set; }
2025-01-11 10:10:47 +03:30
public int CODID { get; set; }
2025-01-20 14:10:15 +03:30
[Display(Name = "کالا")]
2025-01-11 10:10:47 +03:30
public string? CODTitle { get; set; }
2025-01-20 14:10:15 +03:30
[Display(Name = "تعداد")]
2025-01-19 17:44:20 +03:30
public decimal Count { get; set; }
2025-01-20 14:10:15 +03:30
[Display(Name = "تاریخ")]
2025-01-11 10:10:47 +03:30
public string Date { get; set; }
2025-01-20 14:10:15 +03:30
[Display(Name = "اجازه فروش")]
2025-01-11 10:10:47 +03:30
public bool? ForSale { get; set; }
2025-01-20 14:10:15 +03:30
[Display(Name = "نوع")]
2025-01-11 10:10:47 +03:30
public string ModelTypeTitle { get; set; }
public int ModelTypeID { get; set; }
2025-01-20 14:10:15 +03:30
[Display(Name = "توضیحات")]
2025-01-11 10:10:47 +03:30
public string info { get; set; }
public TypeCirculation Type { get; set; }
2025-01-20 14:10:15 +03:30
[Display(Name = "نوع سند")]
public string msgType { get { return Type.GetEnumDisplayName(); } }
2025-01-22 13:02:53 +03:30
public int? invoiceID { get; set; }
2025-01-25 20:46:47 +03:30
public DateTime CreateDt { get; set; }
2025-01-11 10:10:47 +03:30
}
}