using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Indent { public class IndentResourceDTO { #region PrivateMembers #region IndentResource private int indentresourceid; #region Indent private int indentdetailid = -1; //Id private int indentdetailallocationid; #endregion private int indentresourceslno; #region BillOfResource private int billofresourceid = -1; //Id private int billofresourceroutingoperationoperationid; private string billofresourceroutingoperationoperationcode; private string billofresourceroutingoperationoperationname; private int billofresourceroutingdetailprocessid; private string billofresourceroutingdetailprocesscode; private string billofresourceroutingdetailprocessname; #endregion #region ResourceType private int resourcetypeid = -1; //Id private string resourcetypecode; //Code private string resourcetypename; //Name private int resourcetypemachinetypeid; private string resourcetypemachinetypecode; private string resourcetypemachinetypename; private int resourcetypeemployeetypeid; private string resourcetypeemployeetypecode; private string resourcetypeemployeetypename; private byte resourcetyperesourcenature; #endregion #region Employee private int employeeid = -1; //Id private string employeecode; //Code private string employeename; //Name #endregion #region Machine private int machineid = -1; //Id private string machinecode; //Code private string machinename; //Name #endregion private int indentresourceplanduration; //PlanDuration private string indentresourcecalplanduration; //PlanDuration private DateTime indentresourceplanstartdate; //PlanStartDate private Int16 indentresourceplanstarttime; //PlanStartTime private string indentresourcecalplanstarttime; //PlanStartTime private DateTime indentresourceplanenddate; //PlanEndDate private Int16 indentresourceplanendtime; //PlanEndTime private string indentresourcecalplanendtime; //PlanEndTime #endregion #region Resource private int resourceid = -1; //Id private string resourcecode; //Code private string resourcename; //Name #endregion private int calendardetailid = -1; private byte calendardetailtype; private int istask = 1; // for task generate purpose #endregion #region PublicMembers #region IndentResource public int IndentResourceId { get { return indentresourceid; } //Id set { indentresourceid = value; } //Id } #region Indent public int IndentDetailId { get { return indentdetailid; } //Id set { indentdetailid = value; } //Id } public int IndentDetailAllocationId { get { return indentdetailallocationid; } //Id set { indentdetailallocationid = value; } //Id } #endregion public int IndentResourceSlNo { get { return indentresourceslno; } //SlNo set { indentresourceslno = value; } //SlNo } #region BillOfResource public int BillofResourceId { get { return billofresourceid; } //Id set { billofresourceid = value; } //Id } public int BillofResourceRoutingOperationOperationId { get { return billofresourceroutingoperationoperationid; } //Id set { billofresourceroutingoperationoperationid = value; } //Id } public string BillofResourceRoutingOperationOperationCode { get { return billofresourceroutingoperationoperationcode; } //Id set { billofresourceroutingoperationoperationcode = value; } //Id } public string BillofResourceRoutingOperationOperationName { get { return billofresourceroutingoperationoperationname; } //Id set { billofresourceroutingoperationoperationname = value; } //Id } public int BillofResourceRoutingDetailProcessId { get { return billofresourceroutingdetailprocessid; } //Id set { billofresourceroutingdetailprocessid = value; } //Id } public string BillofResourceRoutingDetailProcessCode { get { return billofresourceroutingdetailprocesscode; } //Id set { billofresourceroutingdetailprocesscode = value; } //Id } public string BillofResourceRoutingDetailProcessName { get { return billofresourceroutingdetailprocessname; } //Id set { billofresourceroutingdetailprocessname = value; } //Id } #endregion #region ResourceType public int ResourceTypeId { get { return resourcetypeid; } //Id set { resourcetypeid = value; } //Id } public string ResourceTypeCode { get { return resourcetypecode; } //Id set { resourcetypecode = value; } //Id } public string ResourceTypeName { get { return resourcetypename; } //Id set { resourcetypename = value; } //Id } public int ResourceTypeMachineTypeId { get { return resourcetypemachinetypeid; } //Id set { resourcetypemachinetypeid = value; } //Id } public string ResourceTypeMachineTypeCode { get { return resourcetypemachinetypecode; } set { resourcetypemachinetypecode = value; } } public string ResourceTypeMachineTypeName { get { return resourcetypemachinetypename; } set { resourcetypemachinetypename = value; } } public int ResourceTypeEmployeeTypeId { get { return resourcetypeemployeetypeid; } //Id set { resourcetypeemployeetypeid = value; } //Id } public string ResourceTypeEmployeeTypeCode { get { return resourcetypeemployeetypecode; } set { resourcetypeemployeetypecode = value; } } public string ResourceTypeEmployeeTypeName { get { return resourcetypeemployeetypename; } set { resourcetypeemployeetypename = value; } } public byte ResourceTypeResourceNature { get { return resourcetyperesourcenature; } set { resourcetyperesourcenature = value; } } #endregion #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 Machine public int MachineId { get { return machineid; } //Id set { machineid = value; } //Id } public string MachineCode { get { return machinecode; } //Code set { machinecode = value; } //Code } public string MachineName { get { return machinename; } //Name set { machinename = value; } //Name } #endregion public int IndentResourcePlanDuration { get { return indentresourceplanduration; } //PlanDuration set { indentresourceplanduration = value; } //PlanDuration } public string IndentResourceCalPlanDuration { get { return indentresourcecalplanduration; } //PlanDuration set { indentresourcecalplanduration = value; } //PlanDuration } public DateTime IndentResourcePlanStartDate { get { return indentresourceplanstartdate; } //PlanStartDate set { indentresourceplanstartdate = value; } //PlanStartDate } public Int16 IndentResourcePlanStartTime { get { return indentresourceplanstarttime; } //PlanStartTime set { indentresourceplanstarttime = value; } //PlanStartTime } public string IndentResourceCalPlanStartTime { get { return indentresourcecalplanstarttime; } //PlanDuration set { indentresourcecalplanstarttime = value; } //PlanDuration } public DateTime IndentResourcePlanEndDate { get { return indentresourceplanenddate; } //PlanEndDate set { indentresourceplanenddate = value; } //PlanEndDate } public Int16 IndentResourcePlanEndTime { get { return indentresourceplanendtime; } //PlanEndTime set { indentresourceplanendtime = value; } //PlanEndTime } public string IndentResourceCalPlanEndTime { get { return indentresourcecalplanendtime; } //PlanDuration set { indentresourcecalplanendtime = value; } //PlanDuration } #endregion #endregion #region Resource public int ResourceId { get { return resourceid; } //Id set { resourceid = value; } //Id } public string ResourceCode { get { return resourcecode; } //Code set { resourcecode = value; } //Code } public string ResourceName { get { return resourcename; } //Name set { resourcename = value; } //Name } #endregion public int CalendarDetailId { get { return calendardetailid; } //Id set { calendardetailid = value; } //Id } public byte CalendarDetailType { get { return calendardetailtype; } //GroupType set { calendardetailtype = value; } //GroupType } private double indentresourceplannedquantity; private double indentresourceperquantity; private byte indentresourcetimeuom = 1; private string indentresourceremarks = ""; public double IndentResourcePlannedQuantity { get { return indentresourceplannedquantity; } //PlannedQuantity set { indentresourceplannedquantity = value; } //PlannedQuantity } public double IndentResourcePERQuantity { get { return indentresourceperquantity; } //PERQuantity set { indentresourceperquantity = value; } //PERQuantity } public byte IndentResourceTimeUOM { get { return indentresourcetimeuom; } //PERQuantity set { indentresourcetimeuom = value; } //PERQuantity } public string IndentResourceRemarks { get { return indentresourceremarks; } //Remarks set { indentresourceremarks = value; } //Remarks } } }