using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FrameworkDAL.DTO.AutoScheduler { public class AutoSchedulerDTO { private int menuid=-1; private string menucode; private string menuname; private int webserviceid; private int reportid; private int reportformatid; private int reportviewid=-1; private int criteriaconfigid; private string cronexpression; //CronExpression private string selectedmonth; //Selected Month private string selecteddays; //Selected Days private byte datetype; //Date Type private string selecteddates; //Selected Dates private Int16 occurenceon=0; //Occurrence On private Int16 occurenceday=0; //Occurrence Day private Int16 everynoofmonths=0; //Every No Of Months private Int16 everynoofdays=0; //Every No Of Days private Int16 timerangetype=0; //Time Range Type private Int16 everynoofhours=0; //Every No Of Hours private Int16 everynoofminutes=0; //Every No Of Minutes private string occursattime; //Occurs At Time private string occursatmultipletime; //Occurs At Multiple Time private int schedulerid; private int jobdefineid; private int mailtemplateid; private int actionid; private int eventypeactionid; private string eventtypeactiondetailevalcondition=""; private string replyto="noreply@myunisoft.com"; private byte todeliverytype=3; private byte tocontenttype=0; private string to; private byte mailccdeliverytype=3; //MailCCDeliveryType private byte mailcccontenttype=0; //MailCCContent private string mailcc="mail@myunisoft.com"; private byte mailbccdeliverytype=3; //MailBCCDeliveryType private byte mailbcccontenttype=0; //MailBCCContentType private string mailbcc="mail@myunisoft.com"; private byte exportformat=1; //ExportFormat private byte reporttype=3; private byte type=2; private byte actiontype=2; private byte actionfortype = 1;//If Pop up Screen open From Menu like (Item,Party) this should be 0 ,if ReportMenu then 1.. private int fileid=-1; private int eventtypeid; private int isreportmenu = 0; private int menuentityid; private string uritemplatevalue = "{FirstNumber}=1,{MaxResult}=10"; private string groupbyfields = ""; private string webserviceuritemplate=""; private string jobname = ""; private int sortorder; public int SortOrder { get { return sortorder; } set { sortorder = value; } } public int MenuId { get { return menuid; } set { menuid = value; } } public string MenuCode { get { return menucode; } set { menucode = value; } } public string MenuName { get { return menuname; } set { menuname = value; } } public int WebServiceId { get { return webserviceid; } set { webserviceid = value; } } public int ReportId { get { return reportid; } set { reportid = value; } } public int ReportFormatId { get { return reportformatid; } set { reportformatid = value; } } public int ReportViewId { get { return reportviewid; } set { reportviewid = value; } } public int CriteriaConfigId { get { return criteriaconfigid; } set { criteriaconfigid = value; } } public string CronExpression { get { return cronexpression; } //CronExpression set { cronexpression = value; } //CronExpression } public string SelectedMonth { get { return selectedmonth; } //Selected Month set { selectedmonth = value; } } public string SelectedDays { get { return selecteddays; } //Selected Days set { selecteddays=value; } } public byte DateType { get { return datetype; } //Date Type set { datetype = value; } //Date Type } public string SelectedDates { get { return selecteddates; } //Selected Dates set { selecteddates = value; } //Selected Dates } public Int16 OccurenceOn { get { return occurenceon; } //Occurrence On set { occurenceon = value; } //Occurrence On } public Int16 OccurenceDay { get { return occurenceday; } //Occurrence Day set { occurenceday = value; } //Occurrence Day } public Int16 EveryNoOfMonths { get { return everynoofmonths; } //Every No Of Months set { everynoofmonths = value; } //Every No Of Months } public Int16 EveryNoOfDays { get { return everynoofdays; } //Every No Of Days set { everynoofdays = value; } //Every No Of Days } public Int16 TimeRangeType { get { return timerangetype; } //Time Range Type set { timerangetype = value; } //Time Range Type } public Int16 EveryNoOfHours { get { return everynoofhours; } //Every No Of Hours set { everynoofhours = value; } //Every No Of Hours } public Int16 EveryNoOfMinutes { get { return everynoofminutes; } //Every No Of Minutes set { everynoofminutes = value; } //Every No Of Minutes } public string OccursAtTime { get { return occursattime; } //Occurs At Time set { occursattime = value; } //Occurs At Time } public string OccursAtMultipleTime { get { return occursatmultipletime; } //Occurs At Multiple Time set { occursatmultipletime = value; } //Occurs At Multiple Time } public int SchedulerId { get { return schedulerid; } set { schedulerid = value; } } public int JobDefineId { get { return jobdefineid; } set { jobdefineid = value; } } public int MailtemplateId { get { return mailtemplateid; } set { mailtemplateid = value; } } public int ActionId { get { return actionid; } set { actionid = value; } } public int EventtypeActionId { get { return eventypeactionid; } set { eventypeactionid = value; } } public string EventTypeActionDetailEvalCondition { get { return eventtypeactiondetailevalcondition; } //ReplyTo set { eventtypeactiondetailevalcondition = value; } //ReplyTo } public string ReplyTo { get { return replyto; } //ReplyTo set { replyto = value; } //ReplyTo } public byte ToDeliveryType { get { return todeliverytype; } //ToDeliveryType set { todeliverytype = value; } //ToDeliveryType } public byte ToContentType { get { return tocontenttype; } //ToContentType set { tocontenttype = value; } //ToContentType } public string To { get { return to; } //To set { to = value; } //To } public byte MailCCDeliveryType { get { return mailccdeliverytype; } //MailCCDeliveryType set { mailccdeliverytype = value; } //MailCCDeliveryType } public byte MailCCContentType { get { return mailcccontenttype; } //MailCCContent set { mailcccontenttype = value; } //MailCCContent } public string MailCC { get { return mailcc; } //MailCC set { mailcc = value; } //MailCC } public byte MailBCCDeliveryType { get { return mailbccdeliverytype; } //MailBCCDeliveryType set { mailbccdeliverytype = value; } //MailBCCDeliveryType } public byte MailBCCContentType { get { return mailbcccontenttype; } //MailBCCContentType set { mailbcccontenttype = value; } //MailBCCContentType } public string MailBCC { get { return mailbcc; } //MailBCC set { mailbcc = value; } //MailBCC } public byte ExportFormat { get { return exportformat; } //ExportFormat set { exportformat = value; } //ExportFormat } public byte ReportType { get { return reporttype; } //ReportType set { reporttype = value; } //ReportType } public byte Type { get { return type; } set { type = value; } } public byte ActionType { get { return actiontype; } set { actiontype = value; } } public byte ActionForType { get { return actionfortype; } //ActionType set { actionfortype = value; } //ActionType } public int FileId { get { return fileid; } //ActionType set { fileid = value; } //ActionType } public int EventTypeId { get { return eventtypeid; } //ActionType set { eventtypeid = value; } //ActionType } public int IsReportMenu { get { return isreportmenu; } //IsReportMenu set { isreportmenu = value; } //IsReportMenu } public int MenuEntityId { get { return menuentityid; } //IsReportMenu set { menuentityid = value; } //IsReportMenu } public string UriTemplateValue { get { return uritemplatevalue; } //IsReportMenu set { uritemplatevalue = value; } //IsReportMenu } public string GroupByFields { get { return groupbyfields; } //GroupByFields set { groupbyfields = value; } //GroupByFields } public string WebServiceUriTemplate { get { return webserviceuritemplate; } //WebServiceUriTemplate set { webserviceuritemplate = value; } //WebServiceUriTemplate } public string JobName { get { return jobname; } //webserviceuritemplate set { jobname = value; } //webserviceuritemplate } public int EventTypeActionDetailId { get; set; } = 0; } }