using System; using System.Collections.Generic; using System.Linq; using System.Text; using GB5Shared.DTO.Framework.Login; namespace MMDAL.DTO.MRPRun { public class MRPRunPorcessAsynchDTO { private int mrpid; private DateTime fromdate; private DateTime todate; private LoginDTO logindto; private int typeofrun=1; private int includeexception = 0; private int includesaetystock = 0; private int masterplanmethod; private int ispeggingrequired = 1; private int isstockpostrequired = 1; public int MRPId { get { return mrpid;} set {mrpid=value;} } public DateTime FromDate { get { return fromdate;} set {fromdate=value;} } public DateTime ToDate { get { return todate;} set {todate=value;} } public LoginDTO LoginDTO { get { return logindto;} set {logindto=value;} } public int TypeofRun { get { return typeofrun; } //0 --MPS --1 --MRP set { typeofrun = value; } } public int IncludeException { get { return includeexception; } //0 --Yes --1 --No set { includeexception = value; } } public int IncludeSafetyStock { get { return includesaetystock; } //0 --Yes --1 --No set { includesaetystock = value; } } public int MasterPlanMethod { get { return masterplanmethod; } // -- MRP PLANNING=0,MIN/MAX=1,ROL=2 set { masterplanmethod = value; } } public int IsPeggingRequired { get { return ispeggingrequired; } // 0 Yes 1 No set { ispeggingrequired = value; } } public int IsStockPostRequired { get { return isstockpostrequired; }// 0 Yes 1 No set { isstockpostrequired = value; } } } public class MRPRunEventPostDTO { private string mrpcode; private string mrpname; private string starttime; private string endtime; private string fromdate; private string todate; private string typeofrun; private string includeexception; private string includesaetystock; private string masterplanmethod; public string MRPCode { get { return mrpcode; } set { mrpcode = value; } } public string MRPName { get { return MRPName; } set { MRPName = value; } } public string StartTime { get { return starttime; } set { starttime = value; } } public string EndTime { get { return endtime; } set { endtime = value; } } public string FromDate { get { return fromdate; } set { fromdate = value; } } public string ToDate { get { return todate; } set { todate = value; } } public string TypeofRun { get { return typeofrun; } //0 --MPS --1 --MRP set { typeofrun = value; } } public string IncludeException { get { return includeexception; } //0 --Yes --1 --No set { includeexception = value; } } public string IncludeSafetyStock { get { return includesaetystock; } //0 --Yes --1 --No set { includesaetystock = value; } } public string MasterPlanMethod { get { return masterplanmethod; } // -- MRP PLANNING=0,MIN/MAX=1,ROL=2 set { masterplanmethod = value; } } } }