using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Count { public class MCountDTO { #region PrivateMembers #region Count private int countid; private string countcode; private string countname; private byte counttype; #region ItemCategory private int categoryid; private string categorycode; private string categoryname; #endregion #region ItemSubCategory private int subcategoryid; private string subcategorycode; private string subcategoryname; #endregion private double countsinglecount; private byte countistwist; private double countlengthperkg; private double countweightpermeter; #region Item private int itemid; private string itemcode; private string itemname; #endregion #region FirstCount private int firstcountid; private string firstcountcode; private string firstcountname; #endregion #region SecondCount private int secondcountid; private string secondcountcode; private string secondcountname; #endregion #region ThirdCount private int thirdcountid; private string thirdcountcode; private string thirdcountname; #endregion #region Base private int countcreatedbyid; //Created By Person (User Id) private DateTime countcreatedon; //Created On Date private int countmodifiedbyid; //Modified By Person (User Id) private DateTime countmodifiedon; //Modified On Date #endregion #region Standard private Int16 countsortorder; private byte countstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 countversion; //No Of Times Updated #endregion #endregion #region PublicMembers public int MCountId { get { return countid; } set { countid = value; } } public string MCountCode { get { return countcode; } set { countcode = value; } } public string MCountName { get { return countname; } set { countname = value; } } public byte MCountType { get { return counttype; } set { counttype = value; /*CountTypeValue = ((Gb4EnumDTO.CountTypeValue)counttype).ToString() ------> DEVADMIN*/ ; } } public string CountTypeValue; #region ItemCategory public int CategoryId { get { return categoryid; } set { categoryid = value; } } public string CategoryCode { get { return categorycode; } set { categorycode = value; } } public string CategoryName { get { return categoryname; } set { categoryname = value; } } #endregion #region ItemSubCategory public int SubCategoryId { get { return subcategoryid; } set { subcategoryid = value; } } public string SubCategoryCode { get { return subcategorycode; } set { subcategorycode = value; } } public string SubCategoryName { get { return subcategoryname; } set { subcategoryname = value; } } #endregion public double MCountSingleCount { get { return countsinglecount; } set { countsinglecount = value; } } public byte MCountIsTwist { get { return countistwist; } set { countistwist = value; /*MCountIsTwistValue = ((Gb4EnumDTO.MCountIsTwistValue)countistwist).ToString() ------>DEVADMIN */; } } public string MCountIsTwistValue; public double MCountLengthPerKg { get { return countlengthperkg; } set { countlengthperkg = value; } } public double MCountWeightPerMeter { get { return countweightpermeter; } set { countweightpermeter = value; } } #region Item public int ItemId { get { return itemid; } set { itemid = value; } } public string ItemCode { get { return itemcode; } set { itemcode = value; } } public string ItemName { get { return itemname; } set { itemname = value; } } #endregion #region FirsrCount public int FirstCountId { get { return firstcountid; } set { firstcountid = value; } } public string FirstCountCode { get { return firstcountcode; } set { firstcountcode = value; } } public string FirstCountName { get { return firstcountname; } set { firstcountname = value; } } #endregion #region SecondCount public int SecondCountId { get { return secondcountid; } set { secondcountid = value; } } public string SecondCountCode { get { return secondcountcode; } set { secondcountcode = value; } } public string SecondCountName { get { return secondcountname; } set { secondcountname = value; } } #endregion #region ThirdCount public int ThirdCountId { get { return thirdcountid; } set { thirdcountid = value; } } public string ThirdCountCode { get { return thirdcountcode; } set { thirdcountcode = value; } } public string ThirdCountName { get { return thirdcountname; } set { thirdcountname = value; } } #endregion #region Base public int MCountCreatedById { get { return countcreatedbyid; } //Created By Person (User Id) set { countcreatedbyid = value; } //Created By Person (User Id) } public DateTime MCountCreatedOn { get { return countcreatedon; } //Created On Date set { countcreatedon = value; } //Created On Date } public int MCountModifiedById { get { return countmodifiedbyid; } //Modified By Person (User Id) set { countmodifiedbyid = value; } } public DateTime MCountModifiedOn { get { return countmodifiedon; } //Modified On Date set { countmodifiedon = value; } } #endregion #region Standard public Int16 MCountSortOrder { get { return countsortorder; } set { countsortorder = value; } } public byte MCountStatus { get { return countstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { countstatus = value; } } public Int16 MCountVersion { get { return countversion; } //No Of Times Updated set { countversion = value; } } #endregion #endregion #endregion } }