This commit is contained in:
mmrbnjd
2024-08-06 17:24:25 +03:30
parent 3d29d3bd55
commit 95c0a6a93f
10 changed files with 88 additions and 232 deletions

View File

@@ -16,9 +16,7 @@ namespace Back.Data.Models
#endregion
#region autofild
//سریال صورتحساب داخلی حافظه مالیاتی
[MaxLength(10)]
public string? inno { get { return ID.ToString("0000000000"); } }
//تاریخ و زمان صدور صورتحساب )میالدی(
[MaxLength(13)]
public long? indatim { get { return new DateTimeOffset(InvoicIssueDate.Trim().ToMiladi()).ToUnixTimeMilliseconds(); } }
@@ -98,6 +96,9 @@ namespace Back.Data.Models
#endregion
#region fild
//سریال صورتحساب داخلی حافظه مالیاتی
[MaxLength(10)]
public string? inno { get; set; }
public string Title { get; set; }
public string? Des { get; set; }
public InvoiceType invoiceType { get; set; }