Created
August 17, 2023 11:22
-
-
Save otienoelvis/a0903748ac707611bc0ce5d3ea905f12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel.DataAnnotations; | |
namespace DAL.ViewModels; | |
public class StockInOutDto | |
{ | |
[Required] | |
public string BusinessId { get; set; } | |
[Required] | |
public int StoredReleasedNo { get; set; } | |
[Required] | |
public int OriginalStoredReleasedNo { get; set; } | |
[Required] | |
public string RegistrationTypeCode { get; set; } | |
public string? CustomerTin { get; set; } | |
public string? CustomerNm { get; set; } | |
public string? CustomerBhfId { get; set; } | |
[Required] | |
public string StoredReleasedTypeCode { get; set; } | |
[Required] | |
public string OccurredDateTime { get; set; } | |
[Required] | |
public int TotalItemCount { get; set; } | |
[Required] | |
public decimal TotalTaxableAmount { get; set; } | |
[Required] | |
public decimal TotalVat { get; set; } | |
[Required] | |
public decimal TotalAmount { get; set; } | |
public string? Remark { get; set; } | |
[Required] | |
public string RegistrationId { get; set; } | |
[Required] | |
public string RegistrationName { get; set; } | |
[Required] | |
public string ModifierId { get; set; } | |
[Required] | |
public string ModifierName { get; set; } | |
public List<StockInoutItemDto> itemList { get; set; } | |
} | |
public class StockInoutItemDto | |
{ | |
[Required] | |
public int ItemSequence { get; set; } | |
public string? ItemCode { get; set; } | |
[Required] | |
public string itemClassificationCode { get; set; } | |
[Required] | |
public string ItemName { get; set; } | |
public string? Barcode { get; set; } | |
[Required] | |
public string PackagingUnitCode { get; set; } | |
[Required] | |
public int Package { get; set; } | |
[Required] | |
public string QuantityUnitCode { get; set; } | |
[Required] | |
public decimal Quantity { get; set; } | |
public string? itemExprDt { get; set; } | |
[Required] | |
public decimal UnitPrice { get; set; } | |
[Required] | |
public decimal SupplyAmount { get; set; } | |
[Required] | |
public decimal DiscountAmount { get; set; } | |
[Required] | |
public decimal TaxableAmount { get; set; } | |
[Required] | |
public string TaxationTypeCode { get; set; } | |
[Required] | |
public decimal TaxAmount { get; set; } | |
[Required] | |
public decimal TotalAmount { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment