Models
This commit is contained in:
parent
bd6879201e
commit
a0dfec7943
|
|
@ -51,7 +51,6 @@ abstract class CompanyEntity extends Object
|
||||||
isChanged: false,
|
isChanged: false,
|
||||||
isDeleted: false,
|
isDeleted: false,
|
||||||
companyKey: '',
|
companyKey: '',
|
||||||
plan: '',
|
|
||||||
settings: SettingsEntity(),
|
settings: SettingsEntity(),
|
||||||
sizeId: '',
|
sizeId: '',
|
||||||
industryId: '',
|
industryId: '',
|
||||||
|
|
@ -184,8 +183,6 @@ abstract class CompanyEntity extends Object
|
||||||
@BuiltValueField(wireName: 'enable_shop_api')
|
@BuiltValueField(wireName: 'enable_shop_api')
|
||||||
bool get enableShopApi;
|
bool get enableShopApi;
|
||||||
|
|
||||||
String get plan;
|
|
||||||
|
|
||||||
@BuiltValueField(wireName: 'company_key')
|
@BuiltValueField(wireName: 'company_key')
|
||||||
String get companyKey;
|
String get companyKey;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -93,8 +93,6 @@ class _$CompanyEntitySerializer implements StructuredSerializer<CompanyEntity> {
|
||||||
'enable_shop_api',
|
'enable_shop_api',
|
||||||
serializers.serialize(object.enableShopApi,
|
serializers.serialize(object.enableShopApi,
|
||||||
specifiedType: const FullType(bool)),
|
specifiedType: const FullType(bool)),
|
||||||
'plan',
|
|
||||||
serializers.serialize(object.plan, specifiedType: const FullType(String)),
|
|
||||||
'company_key',
|
'company_key',
|
||||||
serializers.serialize(object.companyKey,
|
serializers.serialize(object.companyKey,
|
||||||
specifiedType: const FullType(String)),
|
specifiedType: const FullType(String)),
|
||||||
|
|
@ -2909,8 +2907,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
@override
|
@override
|
||||||
final bool enableShopApi;
|
final bool enableShopApi;
|
||||||
@override
|
@override
|
||||||
final String plan;
|
|
||||||
@override
|
|
||||||
final String companyKey;
|
final String companyKey;
|
||||||
@override
|
@override
|
||||||
final String firstDayOfWeek;
|
final String firstDayOfWeek;
|
||||||
|
|
@ -3033,7 +3029,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
this.isLarge,
|
this.isLarge,
|
||||||
this.isDisabled,
|
this.isDisabled,
|
||||||
this.enableShopApi,
|
this.enableShopApi,
|
||||||
this.plan,
|
|
||||||
this.companyKey,
|
this.companyKey,
|
||||||
this.firstDayOfWeek,
|
this.firstDayOfWeek,
|
||||||
this.firstMonthOfYear,
|
this.firstMonthOfYear,
|
||||||
|
|
@ -3150,9 +3145,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
if (enableShopApi == null) {
|
if (enableShopApi == null) {
|
||||||
throw new BuiltValueNullFieldError('CompanyEntity', 'enableShopApi');
|
throw new BuiltValueNullFieldError('CompanyEntity', 'enableShopApi');
|
||||||
}
|
}
|
||||||
if (plan == null) {
|
|
||||||
throw new BuiltValueNullFieldError('CompanyEntity', 'plan');
|
|
||||||
}
|
|
||||||
if (companyKey == null) {
|
if (companyKey == null) {
|
||||||
throw new BuiltValueNullFieldError('CompanyEntity', 'companyKey');
|
throw new BuiltValueNullFieldError('CompanyEntity', 'companyKey');
|
||||||
}
|
}
|
||||||
|
|
@ -3323,7 +3315,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
isLarge == other.isLarge &&
|
isLarge == other.isLarge &&
|
||||||
isDisabled == other.isDisabled &&
|
isDisabled == other.isDisabled &&
|
||||||
enableShopApi == other.enableShopApi &&
|
enableShopApi == other.enableShopApi &&
|
||||||
plan == other.plan &&
|
|
||||||
companyKey == other.companyKey &&
|
companyKey == other.companyKey &&
|
||||||
firstDayOfWeek == other.firstDayOfWeek &&
|
firstDayOfWeek == other.firstDayOfWeek &&
|
||||||
firstMonthOfYear == other.firstMonthOfYear &&
|
firstMonthOfYear == other.firstMonthOfYear &&
|
||||||
|
|
@ -3396,7 +3387,7 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
$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, enableCustomSurchargeTaxes1.hashCode), enableCustomSurchargeTaxes2.hashCode), enableCustomSurchargeTaxes3.hashCode), enableCustomSurchargeTaxes4.hashCode), sizeId.hashCode), industryId.hashCode), subdomain.hashCode), portalMode.hashCode), portalDomain.hashCode), updateProducts.hashCode), convertProductExchangeRate.hashCode), fillProducts.hashCode), enableProductCost.hashCode), enableProductQuantity.hashCode), defaultQuantity.hashCode), showProductDetails.hashCode), clientCanRegister.hashCode), isLarge.hashCode), isDisabled.hashCode), enableShopApi.hashCode), plan.hashCode), companyKey.hashCode), firstDayOfWeek.hashCode), firstMonthOfYear.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), groups.hashCode), activities.hashCode), taxRates.hashCode), taskStatuses.hashCode), taskStatusMap.hashCode), companyGateways.hashCode), expenseCategories.hashCode), users.hashCode), clients.hashCode), products.hashCode), invoices.hashCode), recurringInvoices.hashCode), payments.hashCode), quotes.hashCode), credits.hashCode), tasks.hashCode), projects.hashCode), expenses.hashCode), vendors.hashCode), designs.hashCode), tokens.hashCode), webhooks.hashCode), paymentTerms.hashCode), customFields.hashCode), slackWebhookUrl.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(0, enableCustomSurchargeTaxes1.hashCode), enableCustomSurchargeTaxes2.hashCode), enableCustomSurchargeTaxes3.hashCode), enableCustomSurchargeTaxes4.hashCode), sizeId.hashCode), industryId.hashCode), subdomain.hashCode), portalMode.hashCode), portalDomain.hashCode), updateProducts.hashCode), convertProductExchangeRate.hashCode), fillProducts.hashCode), enableProductCost.hashCode), enableProductQuantity.hashCode), defaultQuantity.hashCode), showProductDetails.hashCode), clientCanRegister.hashCode), isLarge.hashCode), isDisabled.hashCode), enableShopApi.hashCode), companyKey.hashCode), firstDayOfWeek.hashCode), firstMonthOfYear.hashCode), numberOfInvoiceTaxRates.hashCode), numberOfItemTaxRates.hashCode), groups.hashCode), activities.hashCode), taxRates.hashCode), taskStatuses.hashCode), taskStatusMap.hashCode), companyGateways.hashCode), expenseCategories.hashCode), users.hashCode), clients.hashCode), products.hashCode), invoices.hashCode), recurringInvoices.hashCode), payments.hashCode), quotes.hashCode), credits.hashCode), tasks.hashCode), projects.hashCode), expenses.hashCode), vendors.hashCode), designs.hashCode), tokens.hashCode), webhooks.hashCode), paymentTerms.hashCode), customFields.hashCode), slackWebhookUrl.hashCode),
|
||||||
googleAnalyticsKey.hashCode),
|
googleAnalyticsKey.hashCode),
|
||||||
markExpensesInvoiceable.hashCode),
|
markExpensesInvoiceable.hashCode),
|
||||||
markExpensesPaid.hashCode),
|
markExpensesPaid.hashCode),
|
||||||
|
|
@ -3441,7 +3432,6 @@ class _$CompanyEntity extends CompanyEntity {
|
||||||
..add('isLarge', isLarge)
|
..add('isLarge', isLarge)
|
||||||
..add('isDisabled', isDisabled)
|
..add('isDisabled', isDisabled)
|
||||||
..add('enableShopApi', enableShopApi)
|
..add('enableShopApi', enableShopApi)
|
||||||
..add('plan', plan)
|
|
||||||
..add('companyKey', companyKey)
|
..add('companyKey', companyKey)
|
||||||
..add('firstDayOfWeek', firstDayOfWeek)
|
..add('firstDayOfWeek', firstDayOfWeek)
|
||||||
..add('firstMonthOfYear', firstMonthOfYear)
|
..add('firstMonthOfYear', firstMonthOfYear)
|
||||||
|
|
@ -3871,7 +3861,6 @@ class CompanyEntityBuilder
|
||||||
_isLarge = _$v.isLarge;
|
_isLarge = _$v.isLarge;
|
||||||
_isDisabled = _$v.isDisabled;
|
_isDisabled = _$v.isDisabled;
|
||||||
_enableShopApi = _$v.enableShopApi;
|
_enableShopApi = _$v.enableShopApi;
|
||||||
_plan = _$v.plan;
|
|
||||||
_companyKey = _$v.companyKey;
|
_companyKey = _$v.companyKey;
|
||||||
_firstDayOfWeek = _$v.firstDayOfWeek;
|
_firstDayOfWeek = _$v.firstDayOfWeek;
|
||||||
_firstMonthOfYear = _$v.firstMonthOfYear;
|
_firstMonthOfYear = _$v.firstMonthOfYear;
|
||||||
|
|
@ -3965,7 +3954,6 @@ class CompanyEntityBuilder
|
||||||
isLarge: isLarge,
|
isLarge: isLarge,
|
||||||
isDisabled: isDisabled,
|
isDisabled: isDisabled,
|
||||||
enableShopApi: enableShopApi,
|
enableShopApi: enableShopApi,
|
||||||
plan: plan,
|
|
||||||
companyKey: companyKey,
|
companyKey: companyKey,
|
||||||
firstDayOfWeek: firstDayOfWeek,
|
firstDayOfWeek: firstDayOfWeek,
|
||||||
firstMonthOfYear: firstMonthOfYear,
|
firstMonthOfYear: firstMonthOfYear,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue