using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Counter { public class CounterDTO { #region PrivateMembers #region Counter private int counterid; //Id private string countercode; //Code private string countername; //Name private string counterparentcounterids; //ParentCounterIds private byte counterlevels; //Levels private string counterremarks; //Remarks private string counterterminalid; #endregion #region OU private int organizationunitid; //Id private string organizationunitcode; //Code private string organizationunitname; //Name #endregion #region ParentCounter private int parentcounterid; //Id private string parentcountercode; //Code private string parentcountername; #endregion #region Store private int storeid; //Id private string storecode; //Code private string storename; #endregion #region Supervisor private int supervisorid; //Id private string supervisorcode; //Code private string supervisorname; #endregion #region Base private int countercreatedbyid; //CreatedById private DateTime countercreatedon; //CreatedOn private int countermodifiedbyid; //ModifiedById private DateTime countermodifiedon; //ModifiedOn private string countercreatedbyname; private string countermodifiedbyname; #endregion #region Standard private Int16 countersortorder; //SortOrder private byte counterstatus; //Status private Int16 counterversion; //Version #endregion #endregion #region PublicMembers #region Counter public int CounterId { get { return counterid; } //Id set { counterid = value; } //Id } public string CounterCode { get { return countercode; } //Code set { countercode = value; } //Code } public string CounterName { get { return countername; } //Name set { countername = value; } //Name } public string CounterParentCounterIds { get { return counterparentcounterids; } //ParentCounterIds set { counterparentcounterids = value; } //ParentCounterIds } public string CounterTerminalId { get { return counterterminalid; } //CounterTerminalId set { counterterminalid = value; } //CounterTerminalId } #region OU public int OrganizationUnitId { get { return organizationunitid; } //Id set { organizationunitid = value; } //Id } public string OrganizationUnitCode { get { return organizationunitcode; } //Code set { organizationunitcode = value; } //Code } public string OrganizationUnitName { get { return organizationunitname; } //Name set { organizationunitname = value; } //Name } #endregion #region Store public int StoreId { get { return storeid; } //Id set { storeid = value; } //Id } public string StoreCode { get { return storecode; } //Code set { storecode = value; } //Code } public string StoreName { get { return storename; } //Name set { storename = value; } //Name } #endregion #region Supervisor public int SupervisorId { get { return supervisorid; } //Id set { supervisorid = value; } //Id } public string SupervisorCode { get { return supervisorcode; } //Code set { supervisorcode = value; } //Code } public string SupervisorName { get { return supervisorname; } //Name set { supervisorname = value; } //Name } #endregion #region ParentCounter public int ParentCounterId { get { return parentcounterid; } //Id set { parentcounterid = value; } //Id } public string ParentCounterCode { get { return parentcountercode; } //Code set { parentcountercode = value; } //Code } public string ParentCounterName { get { return parentcountername; } //Name set { parentcountername = value; } //Name } #endregion public byte CounterLevels { get { return counterlevels; } //Levels set { counterlevels = value; } //Levels } public string CounterRemarks { get { return counterremarks; } //Remarks set { counterremarks = value; } //Remarks } #endregion #region Base public int CounterCreatedById { get { return countercreatedbyid; } //CreatedById set { countercreatedbyid = value; } //CreatedById } public DateTime CounterCreatedOn { get { return countercreatedon; } //CreatedOn set { countercreatedon = value; } //CreatedOn } public int CounterModifiedById { get { return countermodifiedbyid; } //ModifiedById set { countermodifiedbyid = value; } //ModifiedById } public DateTime CounterModifiedOn { get { return countermodifiedon; } //ModifiedOn set { countermodifiedon = value; } //ModifiedOn } public string CounterCreatedByName { get { return countercreatedbyname; } //createdbyid set { countercreatedbyname = value; } //createdbyid } public string CounterModifiedByName { get { return countermodifiedbyname; } //createdbyid set { countermodifiedbyname = value; } //createdbyid } #endregion #region Standard public Int16 CounterSortOrder { get { return countersortorder; } //SortOrder set { countersortorder = value; } //SortOrder } public byte CounterStatus { get { return counterstatus; } //Status set { counterstatus = value; } //Status } public Int16 CounterVersion { get { return counterversion; } //Version set { counterversion = value; } //Version } #endregion #region TempField private string counterostatus = ""; public string CounteroStatus { get { return counterostatus; } //Status set { counterostatus = value; } //Status } #endregion #endregion } }