/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDOKey" /> class.
/// </summary>
/// <param name="businessUnitGroupID"><p>A unique system assigned identifier for a group of business units.<br /></p> (required).</param>
/// <param name="workerID"><p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> (required).</param>
thrownewInvalidDataException("key is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignment and cannot be null");
}
else
{
this.Key=key;
}
this.Xxcustom05=xxcustom05;
this.Xxcustom03=xxcustom03;
this.Xxcustom02=xxcustom02;
this.Xxcustom04=xxcustom04;
this.Xxcustom01=xxcustom01;
}
/// <summary>
/// <p>Getter for inner key class.</p>
/// </summary>
/// <value><p>Getter for inner key class.</p></value>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey" /> class.
/// </summary>
/// <param name="businessUnitGroupID"><p>The unique identifier of the business unit group.<br /></p> (required).</param>
/// <param name="employeeDiscountGroupID"><p>The identifier for a specific employee discount group.<br /></p> (required).</param>
/// <param name="workerID"><p>A unique system-assigned identifier for the person who is a particular worker.<br /></p> (required).</param>
// to ensure "businessUnitGroupID" is required (not null)
if(businessUnitGroupID==null)
{
thrownewInvalidDataException("businessUnitGroupID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey and cannot be null");
}
else
{
this.BusinessUnitGroupID=businessUnitGroupID;
}
// to ensure "employeeDiscountGroupID" is required (not null)
if(employeeDiscountGroupID==null)
{
thrownewInvalidDataException("employeeDiscountGroupID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey and cannot be null");
thrownewInvalidDataException("workerID is a required property for ComGkSoftwareGkrApiServerMdWorkerDtoDomWorkerDiscountGroupAssignmentKey and cannot be null");
}
else
{
this.WorkerID=workerID;
}
}
/// <summary>
/// <p>The unique identifier of the business unit group.<br /></p>
/// </summary>
/// <value><p>The unique identifier of the business unit group.<br /></p></value>