using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Store { public class StoreDTO { #region PrivateMembers #region Store private int storeid; private string storecode; private string storename; private byte storetype; private byte storeisplanning = 0; private byte storeisstockvalue = 0; #region OrganizationUnit private int organizationunitid; private string organizationunitcode; private string organizationunitname; #endregion #region PartyBranch private int partybranchid; private string partybranchcode; private string partybranchname; #endregion private byte storeisreservation = 1; private int l1id = -1; private string l1name; private int l2id = -1; private string l2name; private int l3id = -1; private string l3name; private int l4id = -1; private string l4name; private int l5id = -1; private string l5name; private int defaultbizdimensionvaluesetid = -1; #endregion #region Base private int storecreatedbyid; //Created By Person (User Id) private string storecreatedbyname; //Created By Person (User Name) private DateTime storecreatedon; //Created On Date private int storemodifiedbyid; //Modified By Person (User Id) private string storemodifiedbyname; //Modified By Person (User Name) private DateTime storemodifiedon; //Modified On Date #endregion #region Standard private Int16 storesortorder; private byte storestatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 storeversion; //No Of Times Updated private byte storesourcetype; //SourceType #endregion #endregion #region PublicMembers #region Store public int StoreId { get { return storeid; } set { storeid = value; } } public string StoreCode { get { return storecode; } set { storecode = value; } } public string StoreName { get { return storename; } set { storename = value; } } public byte StoreType { get { return storetype; } set { storetype = value; } } public byte StoreIsPlanning { get { return storeisplanning; } set { storeisplanning = value; } } public byte StoreIsStockValue { get { return storeisstockvalue; } set { storeisstockvalue = value; } } #region OrganizationUnit public int OrganizationUnitId { get { return organizationunitid; } set { organizationunitid = value; } } public string OrganizationUnitCode { get { return organizationunitcode; } set { organizationunitcode = value; } } public string OrganizationUnitName { get { return organizationunitname; } set { organizationunitname = value; } } #endregion #region PartyBranch public int PartyBranchId { get { return partybranchid; } set { partybranchid = value; } } public string PartyBranchCode { get { return partybranchcode; } set { partybranchcode = value; } } public string PartyBranchName { get { return partybranchname; } set { partybranchname = value; } } #endregion #endregion #region Base public int StoreCreatedById { get { return storecreatedbyid; } //Created By Person (User Id) set { storecreatedbyid = value; } //Created By Person (User Id) } public string StoreCreatedByName { get { return storecreatedbyname; } //Created By Person (User Name) set { storecreatedbyname = value; } //Created By Person (User Name) } public DateTime StoreCreatedOn { get { return storecreatedon; } //Created On Date set { storecreatedon = value; } //Created On Date } public int StoreModifiedById { get { return storemodifiedbyid; } //Modified By Person (User Id) set { storemodifiedbyid = value; } } public string StoreModifiedByName { get { return storemodifiedbyname; } //Modified By Person (User Name) set { storemodifiedbyname = value; } } public DateTime StoreModifiedOn { get { return storemodifiedon; } //Modified On Date set { storemodifiedon = value; } } #endregion #region Standard public Int16 StoreSortOrder { get { return storesortorder; } set { storesortorder = value; } } public byte StoreStatus { get { return storestatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { storestatus = value; } } public Int16 StoreVersion { get { return storeversion; } //No Of Times Updated set { storeversion = value; } } public byte StoreSourceType { get { return storesourcetype; } //SourceType set { storesourcetype = value; } } #endregion public byte StoreIsReservation { get { return storeisreservation; } set { storeisreservation = value; } } public int L1Id { get { return l1id; } set { l1id = value; } } public string L1Name { get { return l1name; } set { l1name = value; } } public int L2Id { get { return l2id; } set { l2id = value; } } public string L2Name { get { return l2name; } set { l2name = value; } } public int L3Id { get { return l3id; } set { l3id = value; } } public string L3Name { get { return l3name; } set { l3name = value; } } public int L4Id { get { return l4id; } set { l4id = value; } } public string L4Name { get { return l4name; } set { l4name = value; } } public int L5Id { get { return l5id; } set { l5id = value; } } public string L5Name { get { return l5name; } set { l5name = value; } } public int DefaultBizdimensionValueSetid { get { return defaultbizdimensionvaluesetid; } set { defaultbizdimensionvaluesetid = value; } } #endregion } }