using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PayRollDAL.DTO.Objective { public class ObjectiveDTO { private int objectiveid; private string objectivename; private string objectivedescription; private int missionid; private int strategyid; private string objectiveremarks; private byte objectiveforlevel; private int forobjectid = 1; private string forobjectname; private byte objectiveforperiodtype; private int forperiodid; private string forperiodname; private DateTime subperiodfromdate; private DateTime subperiodtodate; private DateTime objectiveforperiodfrom; private DateTime objectiveforperiodto; private string objectiveparentobjectiveids; private byte objectivetablestatus; private byte objectivesecuritylevel; private byte objectivepublicprivate; private DateTime objectiveduedate; private double objectiveweightage; private double objectivepercentage; private byte objectiveobjectivepriority; private int taskid; private string tasknumber; private string taskdescription; private int perspectiveid = -1; private string perspectivecode; private string perspectivename; private int domainid = -1; private string domaincode; private string domainname; private int sectionid = -1; private string sectioncode; private string sectionname; private int ownerid = -1; private string ownercode; private string ownername; private int linkedobjectiveid = -1; private string linkedobjectivename; private string linkedobjectivedescription; private int parentobjectiveid = -1; private string parentobjectivename; private string parentobjectivedescription; 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 MissionId { get { return missionid; } set { missionid = value; } } public int StrategyId { get { return strategyid; } set { strategyid = value; } } public string ObjectiveRemarks { get { return objectiveremarks; } set { objectiveremarks = value; } } public byte ObjectiveForLevel { get { return objectiveforlevel; } set { objectiveforlevel = value; } } public int ForObjectId { get { return forobjectid; } set { forobjectid = value; } } public string ForObjectName { get { return forobjectname; } set { forobjectname = value; } } public byte ObjectiveForPeriodType { get { return objectiveforperiodtype; } set { objectiveforperiodtype = 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 ObjectiveForPeriodFrom { get { return objectiveforperiodfrom; } set { objectiveforperiodfrom = value; } } public DateTime ObjectiveForPeriodTo { get { return objectiveforperiodto; } set { objectiveforperiodto = value; } } public string ObjectiveParentObjectiveIds { get { return objectiveparentobjectiveids; } set { objectiveparentobjectiveids = value; } } public byte ObjectiveTableStatus { get { return objectivetablestatus; } set { objectivetablestatus = value; } } public byte ObjectiveSecurityLevel { get { return objectivesecuritylevel; } set { objectivesecuritylevel = value; } } public byte ObjectivePublicPrivate { get { return objectivepublicprivate; } set { objectivepublicprivate = value; } } public DateTime ObjectiveDueDate { get { return objectiveduedate; } set { objectiveduedate = value; } } public double ObjectiveWeightage { get { return objectiveweightage; } set { objectiveweightage = value; } } public double ObjectivePercentage { get { return objectivepercentage; } set { objectivepercentage = value; } } public byte ObjectivePriority { get { return objectiveobjectivepriority; } set { objectiveobjectivepriority = 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 PerspectiveId { get { return perspectiveid; } set { perspectiveid = value; } } public string PerspectiveCode { get { return perspectivecode; } set { perspectivecode = value; } } public string PerspectiveName { get { return perspectivename; } set { perspectivename = value; } } public int DomainId { get { return domainid; } set { domainid = value; } } public string DomainCode { get { return domaincode; } set { domaincode = value; } } public string DomainName { get { return domainname; } set { domainname = value; } } public int SectionId { get { return sectionid; } set { sectionid = value; } } public string SectionCode { get { return sectioncode; } set { sectioncode = value; } } public string SectionName { get { return sectionname; } set { sectionname = value; } } public int OwnerId { get { return ownerid; } set { ownerid = value; } } public string OwnerCode { get { return ownercode; } set { ownercode = value; } } public string OwnerName { get { return ownername; } set { ownername = value; } } public int LinkedObjectiveId { get { return linkedobjectiveid; } set { linkedobjectiveid = value; } } public string LinkedObjectiveName { get { return linkedobjectivename; } set { linkedobjectivename = value; } } public string LinkedObjectiveDescription { get { return linkedobjectivedescription; } set { linkedobjectivedescription = value; } } public int ParentObjectiveId { get { return parentobjectiveid; } set { parentobjectiveid = value; } } public string ParentObjectiveName { get { return parentobjectivename; } set { parentobjectivename = value; } } public string ParentObjectiveDescription { get { return parentobjectivedescription; } set { parentobjectivedescription = value; } } #region Base private Int16 objectivesortorder; private byte objectivestatus; private Int16 objectiveversion; public Int16 ObjectiveSortOrder { get { return objectivesortorder; } //sortorder set { objectivesortorder = value; } //sortorder } public byte ObjectiveStatus { get { return objectivestatus; } //status set { objectivestatus = value; } //status } public Int16 ObjectiveVersion { get { return objectiveversion; } //version set { objectiveversion = value; } //version } #endregion #region Standard private int objectivecreatedbyid; private DateTime objectivecreatedon; private string objectivecreatedbyname; private int objectivemodifiedbyid; private DateTime objectivemodifiedon; private string objectivemodifiedbyname; public int ObjectiveCreatedById { get { return objectivecreatedbyid; } //createdbyid set { objectivecreatedbyid = value; } //createdbyid } public DateTime ObjectiveCreatedOn { get { return objectivecreatedon; } //createdon set { objectivecreatedon = value; } //createdon } public string ObjectiveCreatedByName { get { return objectivecreatedbyname; } //createdbyname set { objectivecreatedbyname = value; } //createdbyname } public int ObjectiveModifiedById { get { return objectivemodifiedbyid; } //ModifiedById set { objectivemodifiedbyid = value; } //ModifiedById } public DateTime ObjectiveModifiedOn { get { return objectivemodifiedon; } //modifiedon set { objectivemodifiedon = value; } //modifiedon } public string ObjectiveModifiedByName { get { return objectivemodifiedbyname; } //modifiedbyname set { objectivemodifiedbyname = value; } //modifiedbyname } #endregion } }