using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.Goal { public class GoalDTO { #region PrivateMembers #region Goal private int goalid; //Id private string goalname; //Name private string goaldescription; //Description #region Employee private int employeeid; //Id private string employeecode; //Code private string employeename; //Name #endregion #region Kra private int kraid; //Id private string kraname; //Name private string kradescription; //Description #endregion private DateTime goalplandate; //PlanDate private byte goalgoalostatus; //GoalStatus private string goalgoalstatusname; private string goallevelname; private double goalpercentage; //Percentage private string goalremarks; //Remarks #endregion #region private byte goalsourcetype; //SourceType #endregion #region Base private Int16 goalsortorder; //SortOrder private byte goalstatus; //Status private Int16 goalversion; //Version #endregion #region Standard private int goalcreatedbyid; //CreatedById private DateTime goalcreatedon; //CreatedOn private string goalcreatedbyname; //CreatedByName private int goalmodifiedbyid; //ModifiedById private DateTime goalmodifiedon; //ModifiedOn private string goalmodifiedbyname; //ModifiedByName #endregion #endregion private string goalforperiodtypename; #region PublicMembers #region Goal public int GoalId { get { return goalid; } //Id set { goalid = value; } //Id } public string GoalName { get { return goalname; } //Name set { goalname = value; } //Name } public string GoalDescription { get { return goaldescription; } //Description set { goaldescription = value; } //Description } #region Employee public int EmployeeId { get { return employeeid; } //Id set { employeeid = value; } //Id } public string EmployeeCode { get { return employeecode; } //Code set { employeecode = value; } //Code } public string EmployeeName { get { return employeename; } //Name set { employeename = value; } //Name } #endregion #region Kra public int KRAId { get { return kraid; } //Id set { kraid = value; } //Id } public string KRAName { get { return kraname; } //Name set { kraname = value; } //Name } public string KRADescription { get { return kradescription; } //Description set { kradescription = value; } //Description } #endregion public DateTime GoalPlanDate { get { return goalplandate; } //PlanDate set { goalplandate = value; } //PlanDate } public byte GoalForLevel { get { return goalforlevel; } set { goalforlevel = value; } } public byte GoalGoalOStatus { get { return goalgoalostatus; } //GoalStatus set { goalgoalostatus = value;} //GoalStatus } public string GoalGoalStatusName { get { return goalgoalstatusname; } set { goalgoalstatusname = value; } } public double GoalPercentage { get { return goalpercentage; } //Percentage set { goalpercentage = value; } //Percentage } public string GoalRemarks { get { return goalremarks; } //Remarks set { goalremarks = value; } //Remarks } #endregion #region public byte GoalSourceType { get { return goalsourcetype; } //SourceType set { goalsourcetype = value; } //SourceType } #endregion #region Base public Int16 GoalSortOrder { get { return goalsortorder; } //SortOrder set { goalsortorder = value; } //SortOrder } public byte GoalStatus { get { return goalstatus; } //Status set { goalstatus = value; } //Status } public Int16 GoalVersion { get { return goalversion; } //Version set { goalversion = value; } //Version } #endregion #region Standard public int GoalCreatedById { get { return goalcreatedbyid; } //CreatedById set { goalcreatedbyid = value; } //CreatedById } public DateTime GoalCreatedOn { get { return goalcreatedon; } //CreatedOn set { goalcreatedon = value; } //CreatedOn } public string GoalCreatedByName { get { return goalcreatedbyname; } //CreatedByName set { goalcreatedbyname = value; } //CreatedByName } public int GoalModifiedById { get { return goalmodifiedbyid; } //ModifiedById set { goalmodifiedbyid = value; } //ModifiedById } public DateTime GoalModifiedOn { get { return goalmodifiedon; } //ModifiedOn set { goalmodifiedon = value; } //ModifiedOn } public string GoalModifiedByName { get { return goalmodifiedbyname; } //ModifiedByName set { goalmodifiedbyname = value; } //ModifiedByName } #endregion private double goalweightage; private byte goalforlevel; private int forobjectid = -1; private string forobjectname; private byte goalforperiodtype; private int forperiodid = -1; private string forperiodname; private DateTime subperiodfromdate; private DateTime subperiodtodate; private DateTime goalperiodfrom; private DateTime goalperiodto; private byte goalpriority; private byte goalvaluetype; private double goalvalue; private double goalachievedvalue; private string parentgoalids; private int taskid = -1; private string tasknumber; private string taskdescription; private int objectiveid = -1; private string objectivename; private string objectivedescription; private int parentgoalid = -1; private string parentgoalname; private string parentgoaldescription; private int lovtypeid = -1; private string lovtypecode; private string lovtypename; private int appraisalformid = -1; private string appraisalformcode; private string appraisalformname; private double goalselfpercentage; private double goalevaluatorpercentage; private string multipleforperiodids = ""; private string multipleforobjectids = ""; private double goalevaluatorachievedvalue; public double GoalWeightage { get { return goalweightage; } set { goalweightage = value; } } public string GoalLevelName { get { return goallevelname; } set { goallevelname = value; } } public int ForObjectId { get { return forobjectid; } set { forobjectid = value; } } public string ForObjectName { get { return forobjectname; } set { forobjectname = value; } } public byte GoalForPeriodType { get { return goalforperiodtype; } set { goalforperiodtype = value; } } public int ForPeriodId { get { return forperiodid; } set { forperiodid = value; } } public string ForPeriodName { get { return forperiodname; } set { forperiodname = value; } } public DateTime SubPeriodFromDate { get { return subperiodfromdate; } set { subperiodfromdate = value; } } public DateTime SubPeriodToDate { get { return subperiodtodate; } set { subperiodtodate = value; } } public DateTime GoalPeriodFrom { get { return goalperiodfrom; } set { goalperiodfrom = value; } } public DateTime GoalPeriodTo { get { return goalperiodto; } set { goalperiodto = value; } } public byte GoalPriority { get { return goalpriority; } set { goalpriority = value; } } public byte GoalValueType { get { return goalvaluetype; } set { goalvaluetype = value; } } public double GoalValue { get { return goalvalue; } set { goalvalue = value; } } public double GoalAchievedValue { get { return goalachievedvalue; } set { goalachievedvalue = value; } } public string ParentGoalIds { get { return parentgoalids; } set { parentgoalids = value; } } public int TaskId { get { return taskid; } set { taskid = value; } } public string TaskNumber { get { return tasknumber; } set { tasknumber = value; } } public string TaskDescription { get { return taskdescription; } set { taskdescription = value; } } public int ObjectiveId { get { return objectiveid; } set { objectiveid = value; } } public string ObjectiveName { get { return objectivename; } set { objectivename = value; } } public string ObjectiveDescription { get { return objectivedescription; } set { objectivedescription = value; } } public int ParentGoalId { get { return parentgoalid; } set { parentgoalid = value; } } public string ParentGoalName { get { return parentgoalname; } set { parentgoalname = value; } } public string ParentGoalDescription { get { return parentgoaldescription; } set { parentgoaldescription = value; } } public int LovTypeId { get { return lovtypeid; } set { lovtypeid = value; } } public string LovTypeCode { get { return lovtypecode; } set { lovtypecode = value; } } public string LovTypeName { get { return lovtypename; } set { lovtypename = value; } } public int AppraisalFormId { get { return appraisalformid; } set { appraisalformid = value; } } public string AppraisalFormCode { get { return appraisalformcode; } set { appraisalformcode = value; } } public string AppraisalFormName { get { return appraisalformname; } set { appraisalformname = value; } } public double GoalSelfPercentage { get { return goalselfpercentage; } set { goalselfpercentage = value; } } public double GoalEvaluatorPercentage { get { return goalevaluatorpercentage; } set { goalevaluatorpercentage = value; } } public string MultipleForPeriodIds { get { return multipleforperiodids; } set { multipleforperiodids = value; } } public string MultipleForObjectIds { get { return multipleforobjectids; } set { multipleforobjectids = value; } } public double GoalEvaluatorAchievedValue { get { return goalevaluatorachievedvalue; } set { goalevaluatorachievedvalue = value; } } private string goalpriorityname; private string goalvaluetypename; public string GoalPriorityName { get { return goalpriorityname; } set { goalpriorityname = value; } } public string GoalForPeriodTypeName { get { return goalforperiodtypename; } set { goalforperiodtypename = value; } } public string GoalValueTypeName { get { return goalvaluetypename; } set { goalvaluetypename = value; } } #endregion } }