using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.Code { public class CodeMasterDTO { #region PrivateMembers #region Code private string codemasterid; private string codemastercode; private string codemastername; #region Entity private string entityid; private string entitycode; private string entityname; private string entitybaseclassid; private int entitysecuritylevel; //0 to 99 Any Number private int entitytype; //0.Master,1.Transaction,2.Utilities,3.Reports,4.Other private int entityispersist; //0.yes,1.No private int entityscope; //0.Public,1.Private,2.Protected private int entitynature; //0.Entity,1.Value,2.Services private string entitysection; private int entityimplementationtype; //0.Auto,1.integrated,2.Add-On private int entityiscodeapplicable; //0.YES, 1.NO private int entitymaxcodesize; //Maximum code size applicable for this master private int entitydefaultsize; //Default code size applicable for this master //private int entityismulticategory; //Does this Entity need multicategory codification? //private int entityisauto; //AutoCode generation option required //private int entityismanual; //ManualCode generation option required //private int entityisformula; //Is Formula Based Code //private int entityorganizationunittype; //0.None,1.General,2.Company Wise, 3.Company Branch Wise private string entitypocotodtolinkid; //Poco To DTO Link #endregion private long codemastermaxcodesize; //Maximum code size applicable for this master private long codemasterdefaultsize; //Default code size applicable for this master private int codemasterismulticategory; //Does this codemaster need multicategory codification private int codemasterisauto; //AutoCode generation option private int codemasterismanual; //Manual Code generation option private int codemasterisformula; //Formula Based Code private int codemasterisformulafields; private int codemasterisformulabasedfield; private int codemasteriscoderequired; private long codemastercodesize; private int codemasterorganizationunittype; //0.None,1.General,2.Company Wise, 3.Company Branch Wise #region Remarks private string remarksremarksid; private string remarkslinkid; //id of the original entity private int remarksslno; private string remarksparticulars; private string remarksnature; //nature of the remarks- eg. General, Payment, Delivery, etc #endregion #endregion #region Base private string codemastercreatedbyid; //Created By Person (User Id) private DateTime codemastercreatedon; //Created On Date #endregion #region Standard #endregion #endregion #region PublicMembers #region Code public string CodeMasterId { get { return codemasterid; } set { codemasterid = value; } } public string CodeMasterCode { get { return codemastercode; } set { codemastercode = value; } } public string CodeMasterName { get { return codemastername; } set { codemastername = value; } } #region Entity public string EntityId { get { return entityid; } set { entityid = value; } } public string EntityCode { get { return entitycode; } set { entitycode = value; } } public string EntityName { get { return entityname; } set { entityname = value; } } public string EntityBaseClassId { get { return entitybaseclassid; } set { entitybaseclassid = value; } } public int EntitySecurityLevel { get { return entitysecuritylevel; } //0 to 99 Any Number set { entitysecuritylevel = value; } //0 to 99 Any Number } public int EntityType { get { return entitytype; } //0.Master,1.Transaction,2.Utilities,3.Reports,4.Other set { entitytype = value; } //0.Master,1.Transaction,2.Utilities,3.Reports,4.Other } public int EntityIsPersist { get { return entityispersist; } //0.yes,1.No set { entityispersist = value; } //0.yes,1.No } public int EntityScope { get { return entityscope; } //0.Public,1.Private,2.Protected set { entityscope = value; } //0.Public,1.Private,2.Protected } public int EntityNature { get { return entitynature; } //0.Entity,1.Value,2.Services set { entitynature = value; } //0.Entity,1.Value,2.Services } public string EntitySection { get { return entitysection; } set { entitysection = value; } } public int EntityImplementationType { get { return entityimplementationtype; } //0.Auto,1.integrated,2.Add-On set { entityimplementationtype = value; } //0.Auto,1.integrated,2.Add-On } public int EntityIsCodeApplicable { get { return entityiscodeapplicable; } //0.YES, 1.NO set { entityiscodeapplicable = value; } //0.YES, 1.NO } public int EntityMaxCodeSize { get { return entitymaxcodesize; } //Maximum code size applicable for this master set { entitymaxcodesize = value; } //Maximum code size applicable for this master } public int EntityDefaultSize { get { return entitydefaultsize; } //Default code size applicable for this master set { entitydefaultsize = value; } //Default code size applicable for this master } public string EntityPocoToDTOLinkId { get { return entitypocotodtolinkid; } //Poco To DTO Link set { entitypocotodtolinkid = value; } //Poco To DTO Link } #endregion public long CodeMasterMaxCodeSize { get { return codemastermaxcodesize; } //Maximum code size applicable for this master set { codemastermaxcodesize = value; } } //Maximum code size applicable for this master public long CodeMasterDefaultSize { get { return codemasterdefaultsize; } //Default code size applicable for this master set { codemasterdefaultsize = value; } } //Default code size applicable for this master public int CodeMasterIsMultiCategory { get { return codemasterismulticategory; } //Does this codemaster need multicategory codification set { codemasterismulticategory = value; } //Does this codemaster need multicategory codification } public int CodeMasterIsAuto { get { return codemasterisauto; } //AutoCode generation option set { codemasterisauto = value; } //AutoCode generation option } public int CodeMasterIsManual { get { return codemasterismanual; } //Manual Code generation option set { codemasterismanual = value; } //Manual Code generation option } public int CodeMasterIsFormula { get { return codemasterisformula; } //Formula Based Code set { codemasterisformula = value; } //Formula Based Code } public int CodeMasterIsFormulaFields { get { return codemasterisformulafields; } set { codemasterisformulafields = value; } } public int CodeMasterISFormulaBasedField { get { return codemasterisformulabasedfield; } set { codemasterisformulabasedfield = value; } } public int CodeMasterIsCodeRequired { get { return codemasteriscoderequired; } set { codemasteriscoderequired = value; } } public long CodeMasterCodeSize { get { return codemastercodesize; } set { codemastercodesize = value; } } public int CodeMasterOrganizationUnitType { get { return codemasterorganizationunittype; } //0.None,1.General,2.Company Wise, 3.Company Branch Wise set { codemasterorganizationunittype = value; } //0.None,1.General,2.Company Wise, 3.Company Branch Wise } #region Remarks public string RemarksRemarksId { get { return remarksremarksid; } set { remarksremarksid = value; } } public string RemarksLinkId { get { return remarkslinkid; } //id of the original entity set { remarkslinkid = value; } //id of the original entity } public int RemarksSlNo { get { return remarksslno; } set { remarksslno = value; } } public string RemarksParticulars { get { return remarksparticulars; } set { remarksparticulars = value; } } public string RemarksNature { get { return remarksnature; } //nature of the remarks- eg. General, Payment, Delivery, etc set { remarksnature = value; } //nature of the remarks- eg. General, Payment, Delivery, etc } #endregion #endregion #region Base public string CodeMasterCreatedById { get { return codemastercreatedbyid; } //Created By Person (User Id) set { codemastercreatedbyid = value; } //Created By Person (User Id) } public DateTime CodeMasterCreatedOn { get { return codemastercreatedon; } //Created On Date set { codemastercreatedon = value; } //Created On Date } #endregion #region Standard #endregion #endregion } }