public WorkOrder(Guid id, bool isEditable, Order order, Operational operational, string userCreated, CreatedOn createdOn) : base(id) { if (order == null) { throw Error.ArgumentNull(string.Format("{0} can't be null", nameof(order))); } IsEditable = isEditable; Order = order; Operational = operational; UserCreated = userCreated; CreatedOn = createdOn; }
public Builder WithOperational(Operational value) { _operational = value; return(this); }