Created
August 9, 2023 08:27
-
-
Save otienoelvis/fa137cefbf31b44f76f7c98f9f9ecc48 to your computer and use it in GitHub Desktop.
ItemModelDto.cs
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 ItemModelDto | |
{ | |
[Required] | |
public string BusinessId { get; set; } | |
// [Required] | |
// public string Pin { get; set; } | |
// [Required] | |
// public string BranchId { get; set; } | |
[Required] | |
public string ItemCode { get; set; } | |
[Required] | |
public string itemClassificationCode { get; set; } | |
[Required] | |
public string ItemTypeCode { get; set; } | |
[Required] | |
public string ItemName { get; set; } | |
public string? ItemStandardName { get; set; } | |
[Required] | |
public string OriginCode { get; set; } | |
[Required] | |
public string packagingUnitCode { get; set; } | |
[Required] | |
public string quantityUnitCode { get; set; } | |
[Required] | |
public string taxationTypeCode { get; set; } | |
public string? BatchNumber { get; set; } | |
public string? BarCode { get; set; } | |
[Required] | |
public decimal DefaultPrice { get; set; } | |
public decimal GroupPrice1 { get; set; } | |
public decimal GroupPrice2 { get; set; } | |
public decimal GroupPrice3 { get; set; } | |
public decimal GroupPrice4 { get; set; } | |
public decimal GroupPrice5 { get; set; } | |
public string? AdditionalInfo { get; set; } | |
public decimal SafetyQuantity { get; set; } | |
[Required] | |
public string InsuranceApplicable { get; set; } | |
[Required] | |
public string UsedUnused { get; set; } | |
[Required] | |
public string RegId { get; set; } | |
[Required] | |
public string RegName { get; set; } | |
[Required] | |
public string ModifierId { get; set; } | |
[Required] | |
public string ModifierName { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment