using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Pack { public class PackDTO { private int packid; private string packcode; private string packname; private byte packconversiontype; private double packconversionfactor; #region Base private int packcreatedbyid; //Created By Person (User Id) private DateTime packcreatedon; //Created On Date private string packcreatedbyname; //Created By Person private int packmodifiedbyid; //Modified By Person (User Id) private DateTime packmodifiedon; //Modified On Date private string packmodifiedbyname; //Modified By Person #endregion #region Standard private Int16 packsortorder; private byte packstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 packversion; //No Of Times Updated #endregion public int PackId { get { return packid; } set { packid = value; } } public string PackCode { get { return packcode; } set { packcode = value; } } public string PackName { get { return packname; } set { packname = value; } } public byte PackConversionType { get { return packconversiontype; } set { packconversiontype = value; } } public double PackConversionFactor { get { return packconversionfactor; } set { packconversionfactor = value; } } #region Base public int PackCreatedById { get { return packcreatedbyid; } //Created By Person (User Id) set { packcreatedbyid = value; } //Created By Person (User Id) } public DateTime PackCreatedOn { get { return packcreatedon; } //Created On Date set { packcreatedon = value; } //Created On Date } public string PackCreatedByName { get { return packcreatedbyname; } //Created By Name set { packcreatedbyname = value; } //Created By Name } public int PackModifiedById { get { return packmodifiedbyid; } //Modified By Person (User Id) set { packmodifiedbyid = value; } } public DateTime PackModifiedOn { get { return packmodifiedon; } //Modified On Date set { packmodifiedon = value; } } public string PackModifiedByName { get { return packmodifiedbyname; } //Modified by name set { packmodifiedbyname = value; } //Modified by name } #endregion #region Standard public Int16 PackSortOrder { get { return packsortorder; } set { packsortorder = value; } } public byte PackStatus { get { return packstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { packstatus = value; } } public Int16 PackVersion { get { return packversion; } //No Of Times Updated set { packversion = value; } } #endregion } }