Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Shift"/> class.
 /// </summary>
 /// <param name="startAt">start_at.</param>
 /// <param name="id">id.</param>
 /// <param name="employeeId">employee_id.</param>
 /// <param name="locationId">location_id.</param>
 /// <param name="timezone">timezone.</param>
 /// <param name="endAt">end_at.</param>
 /// <param name="wage">wage.</param>
 /// <param name="breaks">breaks.</param>
 /// <param name="status">status.</param>
 /// <param name="version">version.</param>
 /// <param name="createdAt">created_at.</param>
 /// <param name="updatedAt">updated_at.</param>
 /// <param name="teamMemberId">team_member_id.</param>
 public Shift(
     string startAt,
     string id                   = null,
     string employeeId           = null,
     string locationId           = null,
     string timezone             = null,
     string endAt                = null,
     Models.ShiftWage wage       = null,
     IList <Models.Break> breaks = null,
     string status               = null,
     int?version                 = null,
     string createdAt            = null,
     string updatedAt            = null,
     string teamMemberId         = null)
 {
     this.Id           = id;
     this.EmployeeId   = employeeId;
     this.LocationId   = locationId;
     this.Timezone     = timezone;
     this.StartAt      = startAt;
     this.EndAt        = endAt;
     this.Wage         = wage;
     this.Breaks       = breaks;
     this.Status       = status;
     this.Version      = version;
     this.CreatedAt    = createdAt;
     this.UpdatedAt    = updatedAt;
     this.TeamMemberId = teamMemberId;
 }
Ejemplo n.º 2
0
 public Shift(string startAt,
              string id                   = null,
              string employeeId           = null,
              string locationId           = null,
              string timezone             = null,
              string endAt                = null,
              Models.ShiftWage wage       = null,
              IList <Models.Break> breaks = null,
              string status               = null,
              int?version                 = null,
              string createdAt            = null,
              string updatedAt            = null,
              string teamMemberId         = null)
 {
     Id           = id;
     EmployeeId   = employeeId;
     LocationId   = locationId;
     Timezone     = timezone;
     StartAt      = startAt;
     EndAt        = endAt;
     Wage         = wage;
     Breaks       = breaks;
     Status       = status;
     Version      = version;
     CreatedAt    = createdAt;
     UpdatedAt    = updatedAt;
     TeamMemberId = teamMemberId;
 }
Ejemplo n.º 3
0
 public Builder Wage(Models.ShiftWage wage)
 {
     this.wage = wage;
     return(this);
 }
Ejemplo n.º 4
0
 public Builder Wage(Models.ShiftWage value)
 {
     wage = value;
     return(this);
 }