Esempio n. 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="staffPersonalRefId">The GUID of the staff to whom this object is linked.</param>
 ///<param name="earnedStatus">This gives information about a staff member's meal status.</param>
 ///<param name="lastBreakfastDate">Last breakfast served date</param>
 ///<param name="lastLunchDate">Last lunch served date</param>
 ///
 public StaffMeal(string staffPersonalRefId, EarnedStatus earnedStatus, DateTime?lastBreakfastDate, DateTime?lastLunchDate) : base(Adk.SifVersion, FoodDTD.STAFFMEAL)
 {
     this.StaffPersonalRefId = staffPersonalRefId;
     this.EarnedStatus       = earnedStatus;
     this.LastBreakfastDate  = lastBreakfastDate;
     this.LastLunchDate      = lastLunchDate;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="staffPersonalRefId">The GUID of the staff to whom this object is linked.</param>
 ///<param name="earnedStatus">This gives information about a staff member's meal status.</param>
 ///<param name="lastBreakfastDate">Last breakfast served date</param>
 ///<param name="lastLunchDate">Last lunch served date</param>
 ///
 public StaffMeal( string staffPersonalRefId, EarnedStatus earnedStatus, DateTime? lastBreakfastDate, DateTime? lastLunchDate )
     : base(Adk.SifVersion, FoodDTD.STAFFMEAL)
 {
     this.StaffPersonalRefId = staffPersonalRefId;
     this.EarnedStatus = earnedStatus;
     this.LastBreakfastDate = lastBreakfastDate;
     this.LastLunchDate = lastLunchDate;
 }