using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkDAL.DTO.Formula { public class FormulaDTO { #region PrivateMembers #region Formula private int formulaid; //Id private string formulacode; //Code private string formulaname; //Name private byte formulaformulatype; //FormulaType private byte formuladatatype; //DataType private double formuladatasize; //DataSize private string formulaexpression; //Expression private string formulaprintingname; private string formularemarks; private byte formulaisrunningtotal = 1;//0 Yes 1 No Default it should be NO added by Vikash on 25th May 2021 for Redmine 32293 private byte formulaisprocessduringarrear = 0;// 0 yes and 1 No ..Always Yes should go private string formulaoldexpression = ""; #region Project private int moduleid; //Id private string modulecode; //Code private string modulename; //Name #endregion private string formulasection; //Section private byte formulaphase; //Phase private string formulafunctionname; //FunctionName #endregion #region Base private int formulacreatedbyid; //CreatedById private string formulacreatedbyname; //CreatedByName private DateTime formulacreatedon; //CreatedOn private int formulamodifiedbyid; //ModifiedById private string formulamodifiedbyname; //ModifiedByName private DateTime formulamodifiedon; //ModifiedOn #endregion #region Standard private Int16 formulasortorder; //SortOrder private byte formulastatus; //Status private Int16 formulaversion; //Version private byte formulasourcetype; //SourceType #endregion #endregion #region PublicMembers #region Formula public int FormulaId { get { return formulaid; } //Id set { formulaid = value; } //Id } public string FormulaCode { get { return formulacode; } //Code set { formulacode = value; } //Code } public string FormulaName { get { return formulaname; } //Name set { formulaname = value; } //Name } public byte FormulaFormulaType { get { return formulaformulatype; } //FormulaType set { formulaformulatype = value; } //FormulaType } public byte FormulaDataType { get { return formuladatatype; } //DataType set { formuladatatype = value; } //DataType } public double FormulaDataSize { get { return formuladatasize; } //DataSize set { formuladatasize = value; } //DataSize } public string FormulaExpression { get { return formulaexpression; } //Expression set { formulaexpression = value; } //Expression } public string FormulaPrintingName { get { return formulaprintingname; } //Expression set { formulaprintingname = value; } //Expression } public string FormulaOldExpression { get { return formulaoldexpression; } //FormulaOldExpression set { formulaoldexpression = value; } //FormulaOldExpression } #region Project public int ModuleId { get { return moduleid; } //Id set { moduleid = value; } //Id } public string ModuleCode { get { return modulecode; } //Code set { modulecode = value; } //Code } public string ModuleName { get { return modulename; } //Name set { modulename = value; } //Name } #endregion public string FormulaSection { get { return formulasection; } //Section set { formulasection = value; } //Section } public byte FormulaPhase { get { return formulaphase; } //Phase set { formulaphase = value; } //Phase } public string FormulaFunctionName { get { return formulafunctionname; } //FunctionName set { formulafunctionname = value; } //FunctionName } public string FormulaRemarks { get { return formularemarks; } //FunctionName set { formularemarks = value; } //FunctionName } public byte FormulaIsRunningTotal { get { return formulaisrunningtotal; } //FormulaIsRunningTotal set { formulaisrunningtotal = value; } //FormulaIsRunningTotal } public byte FormulaIsProcessDuringArrear { get { return formulaisprocessduringarrear; } //FormulaIsProcessDuringArrear set { formulaisprocessduringarrear = value; } //FormulaIsProcessDuringArrear } #endregion #region Base public int FormulaCreatedById { get { return formulacreatedbyid; } //CreatedById set { formulacreatedbyid = value; } //CreatedById } public string FormulaCreatedByName { get { return formulacreatedbyname; } //CreatedByName set { formulacreatedbyname = value; } //CreatedByName } public DateTime FormulaCreatedOn { get { return formulacreatedon; } //CreatedOn set { formulacreatedon = value; } //CreatedOn } public int FormulaModifiedById { get { return formulamodifiedbyid; } //ModifiedById set { formulamodifiedbyid = value; } //ModifiedById } public string FormulaModifiedByName { get { return formulamodifiedbyname; } //ModifiedByName set { formulamodifiedbyname = value; } //ModifiedByName } public DateTime FormulaModifiedOn { get { return formulamodifiedon; } //ModifiedOn set { formulamodifiedon = value; } //ModifiedOn } #endregion #region Standard public Int16 FormulaSortOrder { get { return formulasortorder; } //SortOrder set { formulasortorder = value; } //SortOrder } public byte FormulaStatus { get { return formulastatus; } //Status set { formulastatus = value; } //Status } public Int16 FormulaVersion { get { return formulaversion; } //Version set { formulaversion = value; } //Version } public byte FormulaSourceType { get { return formulasourcetype; } //SourceType set { formulasourcetype = value; } //SourceType } #endregion #endregion } }