예제 #1
0
 public FarmInfo(int farmId, string farmName, MailingPlanInfo mailingPlan, DateTime createDate, int userId)
 {
     this.farmId      = farmId;
     this.farmName    = farmName;
     this.mailingPlan = mailingPlan;
     this.createDate  = createDate;
     this.userId      = userId;
 }
예제 #2
0
 public FarmInfo(int farmId, string farmName, MailingPlanInfo mailingPlan, DateTime createDate, int userId, DateTime lastModifyDate, int lastModifyBy, bool deleted)
 {
     this.farmId         = farmId;
     this.farmName       = farmName;
     this.mailingPlan    = mailingPlan;
     this.createDate     = createDate;
     this.userId         = userId;
     this.lastModifyDate = lastModifyDate;
     this.lastModifyBy   = lastModifyBy;
     this.deleted        = deleted;
 }
예제 #3
0
 public FarmInfo(int farmId, string farmName, MailingPlanInfo mailingPlan, List <PlotInfo> plots, DateTime createDate, int userId, Int32 plotCount, Int32 contactCount)
 {
     this.farmId       = farmId;
     this.farmName     = farmName;
     this.mailingPlan  = mailingPlan;
     this.plots        = plots;
     this.createDate   = createDate;
     this.userId       = userId;
     this.plotCount    = plotCount;
     this.contactCount = contactCount;
 }
예제 #4
0
 /// <summary>
 /// Constructor with the specified initial values.
 /// </summary>
 /// <param name="farmId">Internal identifier of the farm.</param>
 /// <param name="farmName">Name of the farm.</param>
 /// <param name="plan">Plan of the schedule.</param>
 /// <param name="startDate">Start date of the plan.</param>
 /// <param name="endDate">End date of the plan.</param>
 /// <param name="numberOfPlots">Number of the plots that are part of the
 /// schedule.</param>
 /// <param name="numberOfContacts">Number of the contacts that are part of the
 /// schedule.</param>
 /// <param name="scheduleId">Internal identifier of the schedule.</param>
 public ScheduleInfo(int farmId, string farmName, MailingPlanInfo plan,
                     DateTime startDate, DateTime endDate, int numberOfPlots,
                     int numberOfContacts, int scheduleId)
 {
     this.farmId           = farmId;
     this.farmName         = farmName;
     this.plan             = plan;
     this.startDate        = startDate;
     this.endDate          = endDate;
     this.numberOfPlots    = numberOfPlots;
     this.numberOfContacts = numberOfContacts;
     this.scheduleId       = scheduleId;
 }
예제 #5
0
 public FarmInfo(int farmId, string farmName, MailingPlanInfo mailingPlan, List <PlotInfo> plots, DateTime createDate, int userId, Int32 plotCount, Int32 contactCount, DateTime lastModifyDate, int lastModifyBy, bool deleted)
 {
     this.farmId         = farmId;
     this.farmName       = farmName;
     this.mailingPlan    = mailingPlan;
     this.plots          = plots;
     this.createDate     = createDate;
     this.userId         = userId;
     this.plotCount      = plotCount;
     this.contactCount   = contactCount;
     this.lastModifyDate = lastModifyDate;
     this.lastModifyBy   = lastModifyBy;
     this.deleted        = deleted;
 }