Models
This commit is contained in:
parent
17370d793e
commit
b1040264f6
|
|
@ -138,6 +138,9 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
'client_id',
|
'client_id',
|
||||||
serializers.serialize(object.clientId,
|
serializers.serialize(object.clientId,
|
||||||
specifiedType: const FullType(String)),
|
specifiedType: const FullType(String)),
|
||||||
|
'subscription_id',
|
||||||
|
serializers.serialize(object.subscriptionId,
|
||||||
|
specifiedType: const FullType(String)),
|
||||||
'status_id',
|
'status_id',
|
||||||
serializers.serialize(object.statusId,
|
serializers.serialize(object.statusId,
|
||||||
specifiedType: const FullType(String)),
|
specifiedType: const FullType(String)),
|
||||||
|
|
@ -431,6 +434,10 @@ class _$InvoiceEntitySerializer implements StructuredSerializer<InvoiceEntity> {
|
||||||
result.clientId = serializers.deserialize(value,
|
result.clientId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
break;
|
break;
|
||||||
|
case 'subscription_id':
|
||||||
|
result.subscriptionId = serializers.deserialize(value,
|
||||||
|
specifiedType: const FullType(String)) as String;
|
||||||
|
break;
|
||||||
case 'status_id':
|
case 'status_id':
|
||||||
result.statusId = serializers.deserialize(value,
|
result.statusId = serializers.deserialize(value,
|
||||||
specifiedType: const FullType(String)) as String;
|
specifiedType: const FullType(String)) as String;
|
||||||
|
|
@ -1385,6 +1392,8 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
@override
|
@override
|
||||||
final String clientId;
|
final String clientId;
|
||||||
@override
|
@override
|
||||||
|
final String subscriptionId;
|
||||||
|
@override
|
||||||
final String statusId;
|
final String statusId;
|
||||||
@override
|
@override
|
||||||
final String number;
|
final String number;
|
||||||
|
|
@ -1525,6 +1534,7 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
this.balance,
|
this.balance,
|
||||||
this.paidToDate,
|
this.paidToDate,
|
||||||
this.clientId,
|
this.clientId,
|
||||||
|
this.subscriptionId,
|
||||||
this.statusId,
|
this.statusId,
|
||||||
this.number,
|
this.number,
|
||||||
this.discount,
|
this.discount,
|
||||||
|
|
@ -1604,6 +1614,9 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
if (clientId == null) {
|
if (clientId == null) {
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'clientId');
|
throw new BuiltValueNullFieldError('InvoiceEntity', 'clientId');
|
||||||
}
|
}
|
||||||
|
if (subscriptionId == null) {
|
||||||
|
throw new BuiltValueNullFieldError('InvoiceEntity', 'subscriptionId');
|
||||||
|
}
|
||||||
if (statusId == null) {
|
if (statusId == null) {
|
||||||
throw new BuiltValueNullFieldError('InvoiceEntity', 'statusId');
|
throw new BuiltValueNullFieldError('InvoiceEntity', 'statusId');
|
||||||
}
|
}
|
||||||
|
|
@ -1759,6 +1772,7 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
balance == other.balance &&
|
balance == other.balance &&
|
||||||
paidToDate == other.paidToDate &&
|
paidToDate == other.paidToDate &&
|
||||||
clientId == other.clientId &&
|
clientId == other.clientId &&
|
||||||
|
subscriptionId == other.subscriptionId &&
|
||||||
statusId == other.statusId &&
|
statusId == other.statusId &&
|
||||||
number == other.number &&
|
number == other.number &&
|
||||||
discount == other.discount &&
|
discount == other.discount &&
|
||||||
|
|
@ -1848,7 +1862,7 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc(
|
$jc(
|
||||||
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), hasTasks.hashCode), autoBill.hashCode), autoBillEnabled.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), hasExpenses.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
|
$jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc($jc(0, amount.hashCode), balance.hashCode), paidToDate.hashCode), clientId.hashCode), subscriptionId.hashCode), statusId.hashCode), number.hashCode), discount.hashCode), poNumber.hashCode), date.hashCode), dueDate.hashCode), publicNotes.hashCode), privateNotes.hashCode), terms.hashCode), footer.hashCode), designId.hashCode), usesInclusiveTaxes.hashCode), taxName1.hashCode), taxRate1.hashCode), taxName2.hashCode), taxRate2.hashCode), taxName3.hashCode), taxRate3.hashCode), isAmountDiscount.hashCode), partial.hashCode), taxAmount.hashCode), partialDueDate.hashCode), hasTasks.hashCode), autoBill.hashCode), autoBillEnabled.hashCode), customValue1.hashCode), customValue2.hashCode), customValue3.hashCode), customValue4.hashCode), customSurcharge1.hashCode), customSurcharge2.hashCode), customSurcharge3.hashCode), customSurcharge4.hashCode), customTaxes1.hashCode), customTaxes2.hashCode), customTaxes3.hashCode), customTaxes4.hashCode), hasExpenses.hashCode), exchangeRate.hashCode), reminder1Sent.hashCode), reminder2Sent.hashCode), reminder3Sent.hashCode), reminderLastSent.hashCode), frequencyId.hashCode), lastSentDate.hashCode), nextSendDate.hashCode), remainingCycles.hashCode),
|
||||||
dueDateDays.hashCode),
|
dueDateDays.hashCode),
|
||||||
invoiceId.hashCode),
|
invoiceId.hashCode),
|
||||||
recurringId.hashCode),
|
recurringId.hashCode),
|
||||||
|
|
@ -1877,6 +1891,7 @@ class _$InvoiceEntity extends InvoiceEntity {
|
||||||
..add('balance', balance)
|
..add('balance', balance)
|
||||||
..add('paidToDate', paidToDate)
|
..add('paidToDate', paidToDate)
|
||||||
..add('clientId', clientId)
|
..add('clientId', clientId)
|
||||||
|
..add('subscriptionId', subscriptionId)
|
||||||
..add('statusId', statusId)
|
..add('statusId', statusId)
|
||||||
..add('number', number)
|
..add('number', number)
|
||||||
..add('discount', discount)
|
..add('discount', discount)
|
||||||
|
|
@ -1967,6 +1982,11 @@ class InvoiceEntityBuilder
|
||||||
String get clientId => _$this._clientId;
|
String get clientId => _$this._clientId;
|
||||||
set clientId(String clientId) => _$this._clientId = clientId;
|
set clientId(String clientId) => _$this._clientId = clientId;
|
||||||
|
|
||||||
|
String _subscriptionId;
|
||||||
|
String get subscriptionId => _$this._subscriptionId;
|
||||||
|
set subscriptionId(String subscriptionId) =>
|
||||||
|
_$this._subscriptionId = subscriptionId;
|
||||||
|
|
||||||
String _statusId;
|
String _statusId;
|
||||||
String get statusId => _$this._statusId;
|
String get statusId => _$this._statusId;
|
||||||
set statusId(String statusId) => _$this._statusId = statusId;
|
set statusId(String statusId) => _$this._statusId = statusId;
|
||||||
|
|
@ -2266,6 +2286,7 @@ class InvoiceEntityBuilder
|
||||||
_balance = _$v.balance;
|
_balance = _$v.balance;
|
||||||
_paidToDate = _$v.paidToDate;
|
_paidToDate = _$v.paidToDate;
|
||||||
_clientId = _$v.clientId;
|
_clientId = _$v.clientId;
|
||||||
|
_subscriptionId = _$v.subscriptionId;
|
||||||
_statusId = _$v.statusId;
|
_statusId = _$v.statusId;
|
||||||
_number = _$v.number;
|
_number = _$v.number;
|
||||||
_discount = _$v.discount;
|
_discount = _$v.discount;
|
||||||
|
|
@ -2360,6 +2381,7 @@ class InvoiceEntityBuilder
|
||||||
balance: balance,
|
balance: balance,
|
||||||
paidToDate: paidToDate,
|
paidToDate: paidToDate,
|
||||||
clientId: clientId,
|
clientId: clientId,
|
||||||
|
subscriptionId: subscriptionId,
|
||||||
statusId: statusId,
|
statusId: statusId,
|
||||||
number: number,
|
number: number,
|
||||||
discount: discount,
|
discount: discount,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue