diff --git a/assets/icons/inside.svg b/assets/icons/inside.svg
new file mode 100644
index 0000000..88704db
--- /dev/null
+++ b/assets/icons/inside.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/assets/icons/outside.svg b/assets/icons/outside.svg
new file mode 100644
index 0000000..72b6978
--- /dev/null
+++ b/assets/icons/outside.svg
@@ -0,0 +1,27 @@
+
+
diff --git a/assets/icons/whare_house.svg b/assets/icons/whare_house.svg
new file mode 100644
index 0000000..5033d61
--- /dev/null
+++ b/assets/icons/whare_house.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/lib/infrastructure/di/di.dart b/lib/infrastructure/di/di.dart
index b7107fb..1058c46 100644
--- a/lib/infrastructure/di/di.dart
+++ b/lib/infrastructure/di/di.dart
@@ -1,5 +1,6 @@
import 'package:rasadyar_auth/auth.dart';
+import 'package:rasadyar_chicken/data/di/chicken_di.dart';
import 'package:rasadyar_core/core.dart';
final di = GetIt.instance;
@@ -8,6 +9,7 @@ Future setupInjection() async{
await setupAuthDI();
await setupAllCoreProvider();
+
}
diff --git a/lib/res/assets_res.dart b/lib/res/assets_res.dart
index 3ed9350..18ff89e 100644
--- a/lib/res/assets_res.dart
+++ b/lib/res/assets_res.dart
@@ -8,4 +8,7 @@ class AssetsRes {
static const String PROJECT_NAME = 'rasadyar_app';
static const String PROJECT_VERSION = '1.2.0+2';
+ static const String INSIDE = 'assets/icons/inside.svg';
+ static const String OUTSIDE = 'assets/icons/outside.svg';
+ static const String WHARE_HOUSE = 'assets/icons/whare_house.svg';
}
diff --git a/packages/auth/lib/data/di/auth_di.dart b/packages/auth/lib/data/di/auth_di.dart
index 5accae7..e6b40cd 100644
--- a/packages/auth/lib/data/di/auth_di.dart
+++ b/packages/auth/lib/data/di/auth_di.dart
@@ -11,8 +11,6 @@ Future setupAuthDI() async {
diAuth.registerLazySingleton(() => DioRemoteManager());
diAuth.registerLazySingleton(() => DioRemote());
- /* final manager = diAuth.get();
- final dioRemote = await manager.setEnvironment(ApiEnvironment.dam);*/
final dioRemote = diAuth.get();
await dioRemote.init();
diff --git a/packages/chicken/build.yaml b/packages/chicken/build.yaml
new file mode 100644
index 0000000..840029b
--- /dev/null
+++ b/packages/chicken/build.yaml
@@ -0,0 +1,6 @@
+targets:
+ $default:
+ builders:
+ json_serializable:
+ options:
+ field_rename: snake
\ No newline at end of file
diff --git a/packages/chicken/lib/data/common/constant.dart b/packages/chicken/lib/data/common/constant.dart
new file mode 100644
index 0000000..c0b0982
--- /dev/null
+++ b/packages/chicken/lib/data/common/constant.dart
@@ -0,0 +1,14 @@
+enum ApiEnvironment {
+ dam(url: 'https://api.dam.rasadyar.net/');
+
+ const ApiEnvironment({required this.url});
+
+ final String url;
+
+ String get baseUrl {
+ switch (this) {
+ case ApiEnvironment.dam:
+ return url;
+ }
+ }
+}
diff --git a/packages/chicken/lib/data/common/dio_error_handler.dart b/packages/chicken/lib/data/common/dio_error_handler.dart
new file mode 100644
index 0000000..57f29bc
--- /dev/null
+++ b/packages/chicken/lib/data/common/dio_error_handler.dart
@@ -0,0 +1,58 @@
+import 'package:flutter/material.dart';
+import 'package:rasadyar_core/core.dart';
+
+class DioErrorHandler {
+ void handle(DioException error) {
+ switch (error.response?.statusCode) {
+ case 401:
+ _handleGeneric(error);
+ break;
+ case 403:
+ _handleGeneric(error);
+ break;
+
+ case 410:
+ _handle410();
+ break;
+ default:
+ _handleGeneric(error);
+ }
+ }
+
+ //wrong password/user name => "detail": "No active account found with the given credentials" - 401
+ void _handle410() {
+ Get.showSnackbar(_errorSnackBar('نام کاربری یا رمز عبور اشتباه است'));
+ }
+
+ //wrong captcha => "detail": "Captcha code is incorrect" - 403
+ void _handle403() {}
+
+ void _handleGeneric(DioException error) {
+ Get.showSnackbar(
+ _errorSnackBar(
+ error.response?.data.keys.first == 'is_user'
+ ? 'کاربر با این شماره تلفن وجود ندارد'
+ : error.response?.data[error.response?.data.keys.first] ??
+ 'خطا در برقراری ارتباط با سرور',
+ ),
+ );
+ }
+
+ GetSnackBar _errorSnackBar(String message) {
+ return GetSnackBar(
+ titleText: Text(
+ 'خطا',
+ style: AppFonts.yekan14.copyWith(color: Colors.white),
+ ),
+ messageText: Text(
+ message,
+ style: AppFonts.yekan12.copyWith(color: Colors.white),
+ ),
+ backgroundColor: AppColor.error,
+ margin: EdgeInsets.symmetric(horizontal: 12, vertical: 8),
+ borderRadius: 12,
+ duration: Duration(milliseconds: 3500),
+ snackPosition: SnackPosition.TOP,
+ );
+ }
+}
diff --git a/packages/chicken/lib/data/common/dio_manager.dart b/packages/chicken/lib/data/common/dio_manager.dart
new file mode 100644
index 0000000..e6d2946
--- /dev/null
+++ b/packages/chicken/lib/data/common/dio_manager.dart
@@ -0,0 +1,33 @@
+import 'package:rasadyar_auth/data/repositories/auth_repository_imp.dart';
+import 'package:rasadyar_core/core.dart';
+
+import '../di/chicken_di.dart';
+import 'constant.dart';
+
+class DioRemoteManager {
+ DioRemote? _currentClient;
+ ApiEnvironment? _currentEnv;
+
+ Future setEnvironment([
+ ApiEnvironment env = ApiEnvironment.dam,
+ ]) async {
+ if (_currentEnv != env) {
+ _currentClient = DioRemote(baseUrl: env.baseUrl);
+ await _currentClient?.init();
+ _currentEnv = env;
+ }
+ return _currentClient!;
+ }
+
+ DioRemote get currentClient {
+ if (_currentClient == null) {
+ throw Exception('Call setEnvironment() before accessing DioRemote.');
+ }
+
+ return _currentClient!;
+ }
+
+ ApiEnvironment? get currentEnv => _currentEnv;
+}
+
+
diff --git a/packages/chicken/lib/data/di/chicken_di.dart b/packages/chicken/lib/data/di/chicken_di.dart
new file mode 100644
index 0000000..5746bed
--- /dev/null
+++ b/packages/chicken/lib/data/di/chicken_di.dart
@@ -0,0 +1,19 @@
+import 'package:rasadyar_auth/data/di/auth_di.dart';
+import 'package:rasadyar_auth/data/services/token_storage_service.dart';
+import 'package:rasadyar_chicken/data/repositories/chicken_repository_imp.dart';
+import 'package:rasadyar_core/core.dart';
+
+GetIt diChicken = GetIt.instance;
+
+Future setupChickenDI() async {
+ var tokenService = Get.find();
+
+ diAuth.registerLazySingleton(
+ () => DioRemote(baseUrl: tokenService.baseurl.value),
+ );
+ final dioRemote = diAuth.get();
+ await dioRemote.init();
+ diAuth.registerLazySingleton(
+ () => ChickenRepositoryImpl(dioRemote),
+ );
+}
diff --git a/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.dart b/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.dart
new file mode 100644
index 0000000..34cb139
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.dart
@@ -0,0 +1,18 @@
+import 'package:freezed_annotation/freezed_annotation.dart';
+
+part 'conform_allocation.freezed.dart';
+part 'conform_allocation.g.dart';
+
+@freezed
+abstract class ConformAllocation with _$ConformAllocation {
+ factory ConformAllocation({
+ String? allocation_key,
+ int? number_of_carcasses,
+ int? weight_of_carcasses,
+ int? amount,
+ int? total_amount,
+ }) = _ConformAllocation;
+
+ factory ConformAllocation.fromJson(Map json) =>
+ _$ConformAllocationFromJson(json);
+}
diff --git a/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.freezed.dart b/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.freezed.dart
new file mode 100644
index 0000000..b08cbcb
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.freezed.dart
@@ -0,0 +1,160 @@
+// dart format width=80
+// coverage:ignore-file
+// GENERATED CODE - DO NOT MODIFY BY HAND
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
+
+part of 'conform_allocation.dart';
+
+// **************************************************************************
+// FreezedGenerator
+// **************************************************************************
+
+// dart format off
+T _$identity(T value) => value;
+
+/// @nodoc
+mixin _$ConformAllocation {
+
+ String? get allocation_key; int? get number_of_carcasses; int? get weight_of_carcasses; int? get amount; int? get total_amount;
+/// Create a copy of ConformAllocation
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$ConformAllocationCopyWith get copyWith => _$ConformAllocationCopyWithImpl(this as ConformAllocation, _$identity);
+
+ /// Serializes this ConformAllocation to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is ConformAllocation&&(identical(other.allocation_key, allocation_key) || other.allocation_key == allocation_key)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.total_amount, total_amount) || other.total_amount == total_amount));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,allocation_key,number_of_carcasses,weight_of_carcasses,amount,total_amount);
+
+@override
+String toString() {
+ return 'ConformAllocation(allocation_key: $allocation_key, number_of_carcasses: $number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, amount: $amount, total_amount: $total_amount)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $ConformAllocationCopyWith<$Res> {
+ factory $ConformAllocationCopyWith(ConformAllocation value, $Res Function(ConformAllocation) _then) = _$ConformAllocationCopyWithImpl;
+@useResult
+$Res call({
+ String? allocation_key, int? number_of_carcasses, int? weight_of_carcasses, int? amount, int? total_amount
+});
+
+
+
+
+}
+/// @nodoc
+class _$ConformAllocationCopyWithImpl<$Res>
+ implements $ConformAllocationCopyWith<$Res> {
+ _$ConformAllocationCopyWithImpl(this._self, this._then);
+
+ final ConformAllocation _self;
+ final $Res Function(ConformAllocation) _then;
+
+/// Create a copy of ConformAllocation
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? allocation_key = freezed,Object? number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? amount = freezed,Object? total_amount = freezed,}) {
+ return _then(_self.copyWith(
+allocation_key: freezed == allocation_key ? _self.allocation_key : allocation_key // ignore: cast_nullable_to_non_nullable
+as String?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
+as int?,total_amount: freezed == total_amount ? _self.total_amount : total_amount // ignore: cast_nullable_to_non_nullable
+as int?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _ConformAllocation implements ConformAllocation {
+ _ConformAllocation({this.allocation_key, this.number_of_carcasses, this.weight_of_carcasses, this.amount, this.total_amount});
+ factory _ConformAllocation.fromJson(Map json) => _$ConformAllocationFromJson(json);
+
+@override final String? allocation_key;
+@override final int? number_of_carcasses;
+@override final int? weight_of_carcasses;
+@override final int? amount;
+@override final int? total_amount;
+
+/// Create a copy of ConformAllocation
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$ConformAllocationCopyWith<_ConformAllocation> get copyWith => __$ConformAllocationCopyWithImpl<_ConformAllocation>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$ConformAllocationToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _ConformAllocation&&(identical(other.allocation_key, allocation_key) || other.allocation_key == allocation_key)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.total_amount, total_amount) || other.total_amount == total_amount));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,allocation_key,number_of_carcasses,weight_of_carcasses,amount,total_amount);
+
+@override
+String toString() {
+ return 'ConformAllocation(allocation_key: $allocation_key, number_of_carcasses: $number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, amount: $amount, total_amount: $total_amount)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$ConformAllocationCopyWith<$Res> implements $ConformAllocationCopyWith<$Res> {
+ factory _$ConformAllocationCopyWith(_ConformAllocation value, $Res Function(_ConformAllocation) _then) = __$ConformAllocationCopyWithImpl;
+@override @useResult
+$Res call({
+ String? allocation_key, int? number_of_carcasses, int? weight_of_carcasses, int? amount, int? total_amount
+});
+
+
+
+
+}
+/// @nodoc
+class __$ConformAllocationCopyWithImpl<$Res>
+ implements _$ConformAllocationCopyWith<$Res> {
+ __$ConformAllocationCopyWithImpl(this._self, this._then);
+
+ final _ConformAllocation _self;
+ final $Res Function(_ConformAllocation) _then;
+
+/// Create a copy of ConformAllocation
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? allocation_key = freezed,Object? number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? amount = freezed,Object? total_amount = freezed,}) {
+ return _then(_ConformAllocation(
+allocation_key: freezed == allocation_key ? _self.allocation_key : allocation_key // ignore: cast_nullable_to_non_nullable
+as String?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
+as int?,total_amount: freezed == total_amount ? _self.total_amount : total_amount // ignore: cast_nullable_to_non_nullable
+as int?,
+ ));
+}
+
+
+}
+
+// dart format on
diff --git a/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.g.dart b/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.g.dart
new file mode 100644
index 0000000..a4a1b45
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/conform_allocation/conform_allocation.g.dart
@@ -0,0 +1,25 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'conform_allocation.dart';
+
+// **************************************************************************
+// JsonSerializableGenerator
+// **************************************************************************
+
+_ConformAllocation _$ConformAllocationFromJson(Map json) =>
+ _ConformAllocation(
+ allocation_key: json['allocation_key'] as String?,
+ number_of_carcasses: (json['number_of_carcasses'] as num?)?.toInt(),
+ weight_of_carcasses: (json['weight_of_carcasses'] as num?)?.toInt(),
+ amount: (json['amount'] as num?)?.toInt(),
+ total_amount: (json['total_amount'] as num?)?.toInt(),
+ );
+
+Map _$ConformAllocationToJson(_ConformAllocation instance) =>
+ {
+ 'allocation_key': instance.allocation_key,
+ 'number_of_carcasses': instance.number_of_carcasses,
+ 'weight_of_carcasses': instance.weight_of_carcasses,
+ 'amount': instance.amount,
+ 'total_amount': instance.total_amount,
+ };
diff --git a/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.dart b/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.dart
new file mode 100644
index 0000000..d041ddf
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.dart
@@ -0,0 +1,20 @@
+import 'package:freezed_annotation/freezed_annotation.dart';
+
+part 'steward_allocation_request.freezed.dart';
+part 'steward_allocation_request.g.dart';
+
+@freezed
+abstract class StewardAllocationRequest with _$StewardAllocationRequest {
+ const factory StewardAllocationRequest({
+ bool? checkAllocation,
+ String? allocationKey,
+ String? state,
+ int? registrationCode,
+ int? receiverRealNumberOfCarcasses,
+ int? receiverRealWeightOfCarcasses,
+ int? weightLossOfCarcasses,
+ }) = _StewardAllocationRequest;
+
+ factory StewardAllocationRequest.fromJson(Map json) =>
+ _$StewardAllocationRequestFromJson(json);
+}
diff --git a/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.freezed.dart b/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.freezed.dart
new file mode 100644
index 0000000..c19c23e
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.freezed.dart
@@ -0,0 +1,166 @@
+// dart format width=80
+// coverage:ignore-file
+// GENERATED CODE - DO NOT MODIFY BY HAND
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
+
+part of 'steward_allocation_request.dart';
+
+// **************************************************************************
+// FreezedGenerator
+// **************************************************************************
+
+// dart format off
+T _$identity(T value) => value;
+
+/// @nodoc
+mixin _$StewardAllocationRequest {
+
+ bool? get checkAllocation; String? get allocationKey; String? get state; int? get registrationCode; int? get receiverRealNumberOfCarcasses; int? get receiverRealWeightOfCarcasses; int? get weightLossOfCarcasses;
+/// Create a copy of StewardAllocationRequest
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$StewardAllocationRequestCopyWith get copyWith => _$StewardAllocationRequestCopyWithImpl(this as StewardAllocationRequest, _$identity);
+
+ /// Serializes this StewardAllocationRequest to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is StewardAllocationRequest&&(identical(other.checkAllocation, checkAllocation) || other.checkAllocation == checkAllocation)&&(identical(other.allocationKey, allocationKey) || other.allocationKey == allocationKey)&&(identical(other.state, state) || other.state == state)&&(identical(other.registrationCode, registrationCode) || other.registrationCode == registrationCode)&&(identical(other.receiverRealNumberOfCarcasses, receiverRealNumberOfCarcasses) || other.receiverRealNumberOfCarcasses == receiverRealNumberOfCarcasses)&&(identical(other.receiverRealWeightOfCarcasses, receiverRealWeightOfCarcasses) || other.receiverRealWeightOfCarcasses == receiverRealWeightOfCarcasses)&&(identical(other.weightLossOfCarcasses, weightLossOfCarcasses) || other.weightLossOfCarcasses == weightLossOfCarcasses));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,checkAllocation,allocationKey,state,registrationCode,receiverRealNumberOfCarcasses,receiverRealWeightOfCarcasses,weightLossOfCarcasses);
+
+@override
+String toString() {
+ return 'StewardAllocationRequest(checkAllocation: $checkAllocation, allocationKey: $allocationKey, state: $state, registrationCode: $registrationCode, receiverRealNumberOfCarcasses: $receiverRealNumberOfCarcasses, receiverRealWeightOfCarcasses: $receiverRealWeightOfCarcasses, weightLossOfCarcasses: $weightLossOfCarcasses)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $StewardAllocationRequestCopyWith<$Res> {
+ factory $StewardAllocationRequestCopyWith(StewardAllocationRequest value, $Res Function(StewardAllocationRequest) _then) = _$StewardAllocationRequestCopyWithImpl;
+@useResult
+$Res call({
+ bool? checkAllocation, String? allocationKey, String? state, int? registrationCode, int? receiverRealNumberOfCarcasses, int? receiverRealWeightOfCarcasses, int? weightLossOfCarcasses
+});
+
+
+
+
+}
+/// @nodoc
+class _$StewardAllocationRequestCopyWithImpl<$Res>
+ implements $StewardAllocationRequestCopyWith<$Res> {
+ _$StewardAllocationRequestCopyWithImpl(this._self, this._then);
+
+ final StewardAllocationRequest _self;
+ final $Res Function(StewardAllocationRequest) _then;
+
+/// Create a copy of StewardAllocationRequest
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? checkAllocation = freezed,Object? allocationKey = freezed,Object? state = freezed,Object? registrationCode = freezed,Object? receiverRealNumberOfCarcasses = freezed,Object? receiverRealWeightOfCarcasses = freezed,Object? weightLossOfCarcasses = freezed,}) {
+ return _then(_self.copyWith(
+checkAllocation: freezed == checkAllocation ? _self.checkAllocation : checkAllocation // ignore: cast_nullable_to_non_nullable
+as bool?,allocationKey: freezed == allocationKey ? _self.allocationKey : allocationKey // ignore: cast_nullable_to_non_nullable
+as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
+as String?,registrationCode: freezed == registrationCode ? _self.registrationCode : registrationCode // ignore: cast_nullable_to_non_nullable
+as int?,receiverRealNumberOfCarcasses: freezed == receiverRealNumberOfCarcasses ? _self.receiverRealNumberOfCarcasses : receiverRealNumberOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,receiverRealWeightOfCarcasses: freezed == receiverRealWeightOfCarcasses ? _self.receiverRealWeightOfCarcasses : receiverRealWeightOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,weightLossOfCarcasses: freezed == weightLossOfCarcasses ? _self.weightLossOfCarcasses : weightLossOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _StewardAllocationRequest implements StewardAllocationRequest {
+ const _StewardAllocationRequest({this.checkAllocation, this.allocationKey, this.state, this.registrationCode, this.receiverRealNumberOfCarcasses, this.receiverRealWeightOfCarcasses, this.weightLossOfCarcasses});
+ factory _StewardAllocationRequest.fromJson(Map json) => _$StewardAllocationRequestFromJson(json);
+
+@override final bool? checkAllocation;
+@override final String? allocationKey;
+@override final String? state;
+@override final int? registrationCode;
+@override final int? receiverRealNumberOfCarcasses;
+@override final int? receiverRealWeightOfCarcasses;
+@override final int? weightLossOfCarcasses;
+
+/// Create a copy of StewardAllocationRequest
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$StewardAllocationRequestCopyWith<_StewardAllocationRequest> get copyWith => __$StewardAllocationRequestCopyWithImpl<_StewardAllocationRequest>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$StewardAllocationRequestToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _StewardAllocationRequest&&(identical(other.checkAllocation, checkAllocation) || other.checkAllocation == checkAllocation)&&(identical(other.allocationKey, allocationKey) || other.allocationKey == allocationKey)&&(identical(other.state, state) || other.state == state)&&(identical(other.registrationCode, registrationCode) || other.registrationCode == registrationCode)&&(identical(other.receiverRealNumberOfCarcasses, receiverRealNumberOfCarcasses) || other.receiverRealNumberOfCarcasses == receiverRealNumberOfCarcasses)&&(identical(other.receiverRealWeightOfCarcasses, receiverRealWeightOfCarcasses) || other.receiverRealWeightOfCarcasses == receiverRealWeightOfCarcasses)&&(identical(other.weightLossOfCarcasses, weightLossOfCarcasses) || other.weightLossOfCarcasses == weightLossOfCarcasses));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,checkAllocation,allocationKey,state,registrationCode,receiverRealNumberOfCarcasses,receiverRealWeightOfCarcasses,weightLossOfCarcasses);
+
+@override
+String toString() {
+ return 'StewardAllocationRequest(checkAllocation: $checkAllocation, allocationKey: $allocationKey, state: $state, registrationCode: $registrationCode, receiverRealNumberOfCarcasses: $receiverRealNumberOfCarcasses, receiverRealWeightOfCarcasses: $receiverRealWeightOfCarcasses, weightLossOfCarcasses: $weightLossOfCarcasses)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$StewardAllocationRequestCopyWith<$Res> implements $StewardAllocationRequestCopyWith<$Res> {
+ factory _$StewardAllocationRequestCopyWith(_StewardAllocationRequest value, $Res Function(_StewardAllocationRequest) _then) = __$StewardAllocationRequestCopyWithImpl;
+@override @useResult
+$Res call({
+ bool? checkAllocation, String? allocationKey, String? state, int? registrationCode, int? receiverRealNumberOfCarcasses, int? receiverRealWeightOfCarcasses, int? weightLossOfCarcasses
+});
+
+
+
+
+}
+/// @nodoc
+class __$StewardAllocationRequestCopyWithImpl<$Res>
+ implements _$StewardAllocationRequestCopyWith<$Res> {
+ __$StewardAllocationRequestCopyWithImpl(this._self, this._then);
+
+ final _StewardAllocationRequest _self;
+ final $Res Function(_StewardAllocationRequest) _then;
+
+/// Create a copy of StewardAllocationRequest
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? checkAllocation = freezed,Object? allocationKey = freezed,Object? state = freezed,Object? registrationCode = freezed,Object? receiverRealNumberOfCarcasses = freezed,Object? receiverRealWeightOfCarcasses = freezed,Object? weightLossOfCarcasses = freezed,}) {
+ return _then(_StewardAllocationRequest(
+checkAllocation: freezed == checkAllocation ? _self.checkAllocation : checkAllocation // ignore: cast_nullable_to_non_nullable
+as bool?,allocationKey: freezed == allocationKey ? _self.allocationKey : allocationKey // ignore: cast_nullable_to_non_nullable
+as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
+as String?,registrationCode: freezed == registrationCode ? _self.registrationCode : registrationCode // ignore: cast_nullable_to_non_nullable
+as int?,receiverRealNumberOfCarcasses: freezed == receiverRealNumberOfCarcasses ? _self.receiverRealNumberOfCarcasses : receiverRealNumberOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,receiverRealWeightOfCarcasses: freezed == receiverRealWeightOfCarcasses ? _self.receiverRealWeightOfCarcasses : receiverRealWeightOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,weightLossOfCarcasses: freezed == weightLossOfCarcasses ? _self.weightLossOfCarcasses : weightLossOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,
+ ));
+}
+
+
+}
+
+// dart format on
diff --git a/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.g.dart b/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.g.dart
new file mode 100644
index 0000000..d463989
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/steward_allocation/steward_allocation_request.g.dart
@@ -0,0 +1,33 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'steward_allocation_request.dart';
+
+// **************************************************************************
+// JsonSerializableGenerator
+// **************************************************************************
+
+_StewardAllocationRequest _$StewardAllocationRequestFromJson(
+ Map json,
+) => _StewardAllocationRequest(
+ checkAllocation: json['check_allocation'] as bool?,
+ allocationKey: json['allocation_key'] as String?,
+ state: json['state'] as String?,
+ registrationCode: (json['registration_code'] as num?)?.toInt(),
+ receiverRealNumberOfCarcasses:
+ (json['receiver_real_number_of_carcasses'] as num?)?.toInt(),
+ receiverRealWeightOfCarcasses:
+ (json['receiver_real_weight_of_carcasses'] as num?)?.toInt(),
+ weightLossOfCarcasses: (json['weight_loss_of_carcasses'] as num?)?.toInt(),
+);
+
+Map _$StewardAllocationRequestToJson(
+ _StewardAllocationRequest instance,
+) => {
+ 'check_allocation': instance.checkAllocation,
+ 'allocation_key': instance.allocationKey,
+ 'state': instance.state,
+ 'registration_code': instance.registrationCode,
+ 'receiver_real_number_of_carcasses': instance.receiverRealNumberOfCarcasses,
+ 'receiver_real_weight_of_carcasses': instance.receiverRealWeightOfCarcasses,
+ 'weight_loss_of_carcasses': instance.weightLossOfCarcasses,
+};
diff --git a/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.dart b/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.dart
new file mode 100644
index 0000000..8833933
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.dart
@@ -0,0 +1,26 @@
+import 'package:freezed_annotation/freezed_annotation.dart';
+
+part 'submit_steward_allocation.freezed.dart';
+part 'submit_steward_allocation.g.dart';
+
+@freezed
+abstract class SubmitStewardAllocation with _$SubmitStewardAllocation {
+ const factory SubmitStewardAllocation({
+ String? sellerType,
+ String? buyerType,
+ String? guildKey,
+ String? productKey,
+ String? type,
+ String? allocationType,
+ int? numberOfCarcasses,
+ int? weightOfCarcasses,
+ String? sellType,
+ int? amount,
+ int? totalAmount,
+ bool? approvedPriceStatus,
+ String? date,
+ }) = _SubmitStewardAllocation;
+
+ factory SubmitStewardAllocation.fromJson(Map json) =>
+ _$SubmitStewardAllocationFromJson(json);
+}
\ No newline at end of file
diff --git a/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.freezed.dart b/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.freezed.dart
new file mode 100644
index 0000000..257af6e
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.freezed.dart
@@ -0,0 +1,184 @@
+// dart format width=80
+// coverage:ignore-file
+// GENERATED CODE - DO NOT MODIFY BY HAND
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
+
+part of 'submit_steward_allocation.dart';
+
+// **************************************************************************
+// FreezedGenerator
+// **************************************************************************
+
+// dart format off
+T _$identity(T value) => value;
+
+/// @nodoc
+mixin _$SubmitStewardAllocation {
+
+ String? get sellerType; String? get buyerType; String? get guildKey; String? get productKey; String? get type; String? get allocationType; int? get numberOfCarcasses; int? get weightOfCarcasses; String? get sellType; int? get amount; int? get totalAmount; bool? get approvedPriceStatus; String? get date;
+/// Create a copy of SubmitStewardAllocation
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$SubmitStewardAllocationCopyWith get copyWith => _$SubmitStewardAllocationCopyWithImpl(this as SubmitStewardAllocation, _$identity);
+
+ /// Serializes this SubmitStewardAllocation to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is SubmitStewardAllocation&&(identical(other.sellerType, sellerType) || other.sellerType == sellerType)&&(identical(other.buyerType, buyerType) || other.buyerType == buyerType)&&(identical(other.guildKey, guildKey) || other.guildKey == guildKey)&&(identical(other.productKey, productKey) || other.productKey == productKey)&&(identical(other.type, type) || other.type == type)&&(identical(other.allocationType, allocationType) || other.allocationType == allocationType)&&(identical(other.numberOfCarcasses, numberOfCarcasses) || other.numberOfCarcasses == numberOfCarcasses)&&(identical(other.weightOfCarcasses, weightOfCarcasses) || other.weightOfCarcasses == weightOfCarcasses)&&(identical(other.sellType, sellType) || other.sellType == sellType)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.totalAmount, totalAmount) || other.totalAmount == totalAmount)&&(identical(other.approvedPriceStatus, approvedPriceStatus) || other.approvedPriceStatus == approvedPriceStatus)&&(identical(other.date, date) || other.date == date));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,sellerType,buyerType,guildKey,productKey,type,allocationType,numberOfCarcasses,weightOfCarcasses,sellType,amount,totalAmount,approvedPriceStatus,date);
+
+@override
+String toString() {
+ return 'SubmitStewardAllocation(sellerType: $sellerType, buyerType: $buyerType, guildKey: $guildKey, productKey: $productKey, type: $type, allocationType: $allocationType, numberOfCarcasses: $numberOfCarcasses, weightOfCarcasses: $weightOfCarcasses, sellType: $sellType, amount: $amount, totalAmount: $totalAmount, approvedPriceStatus: $approvedPriceStatus, date: $date)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $SubmitStewardAllocationCopyWith<$Res> {
+ factory $SubmitStewardAllocationCopyWith(SubmitStewardAllocation value, $Res Function(SubmitStewardAllocation) _then) = _$SubmitStewardAllocationCopyWithImpl;
+@useResult
+$Res call({
+ String? sellerType, String? buyerType, String? guildKey, String? productKey, String? type, String? allocationType, int? numberOfCarcasses, int? weightOfCarcasses, String? sellType, int? amount, int? totalAmount, bool? approvedPriceStatus, String? date
+});
+
+
+
+
+}
+/// @nodoc
+class _$SubmitStewardAllocationCopyWithImpl<$Res>
+ implements $SubmitStewardAllocationCopyWith<$Res> {
+ _$SubmitStewardAllocationCopyWithImpl(this._self, this._then);
+
+ final SubmitStewardAllocation _self;
+ final $Res Function(SubmitStewardAllocation) _then;
+
+/// Create a copy of SubmitStewardAllocation
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? sellerType = freezed,Object? buyerType = freezed,Object? guildKey = freezed,Object? productKey = freezed,Object? type = freezed,Object? allocationType = freezed,Object? numberOfCarcasses = freezed,Object? weightOfCarcasses = freezed,Object? sellType = freezed,Object? amount = freezed,Object? totalAmount = freezed,Object? approvedPriceStatus = freezed,Object? date = freezed,}) {
+ return _then(_self.copyWith(
+sellerType: freezed == sellerType ? _self.sellerType : sellerType // ignore: cast_nullable_to_non_nullable
+as String?,buyerType: freezed == buyerType ? _self.buyerType : buyerType // ignore: cast_nullable_to_non_nullable
+as String?,guildKey: freezed == guildKey ? _self.guildKey : guildKey // ignore: cast_nullable_to_non_nullable
+as String?,productKey: freezed == productKey ? _self.productKey : productKey // ignore: cast_nullable_to_non_nullable
+as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
+as String?,allocationType: freezed == allocationType ? _self.allocationType : allocationType // ignore: cast_nullable_to_non_nullable
+as String?,numberOfCarcasses: freezed == numberOfCarcasses ? _self.numberOfCarcasses : numberOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,weightOfCarcasses: freezed == weightOfCarcasses ? _self.weightOfCarcasses : weightOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,sellType: freezed == sellType ? _self.sellType : sellType // ignore: cast_nullable_to_non_nullable
+as String?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
+as int?,totalAmount: freezed == totalAmount ? _self.totalAmount : totalAmount // ignore: cast_nullable_to_non_nullable
+as int?,approvedPriceStatus: freezed == approvedPriceStatus ? _self.approvedPriceStatus : approvedPriceStatus // ignore: cast_nullable_to_non_nullable
+as bool?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _SubmitStewardAllocation implements SubmitStewardAllocation {
+ const _SubmitStewardAllocation({this.sellerType, this.buyerType, this.guildKey, this.productKey, this.type, this.allocationType, this.numberOfCarcasses, this.weightOfCarcasses, this.sellType, this.amount, this.totalAmount, this.approvedPriceStatus, this.date});
+ factory _SubmitStewardAllocation.fromJson(Map json) => _$SubmitStewardAllocationFromJson(json);
+
+@override final String? sellerType;
+@override final String? buyerType;
+@override final String? guildKey;
+@override final String? productKey;
+@override final String? type;
+@override final String? allocationType;
+@override final int? numberOfCarcasses;
+@override final int? weightOfCarcasses;
+@override final String? sellType;
+@override final int? amount;
+@override final int? totalAmount;
+@override final bool? approvedPriceStatus;
+@override final String? date;
+
+/// Create a copy of SubmitStewardAllocation
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$SubmitStewardAllocationCopyWith<_SubmitStewardAllocation> get copyWith => __$SubmitStewardAllocationCopyWithImpl<_SubmitStewardAllocation>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$SubmitStewardAllocationToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _SubmitStewardAllocation&&(identical(other.sellerType, sellerType) || other.sellerType == sellerType)&&(identical(other.buyerType, buyerType) || other.buyerType == buyerType)&&(identical(other.guildKey, guildKey) || other.guildKey == guildKey)&&(identical(other.productKey, productKey) || other.productKey == productKey)&&(identical(other.type, type) || other.type == type)&&(identical(other.allocationType, allocationType) || other.allocationType == allocationType)&&(identical(other.numberOfCarcasses, numberOfCarcasses) || other.numberOfCarcasses == numberOfCarcasses)&&(identical(other.weightOfCarcasses, weightOfCarcasses) || other.weightOfCarcasses == weightOfCarcasses)&&(identical(other.sellType, sellType) || other.sellType == sellType)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.totalAmount, totalAmount) || other.totalAmount == totalAmount)&&(identical(other.approvedPriceStatus, approvedPriceStatus) || other.approvedPriceStatus == approvedPriceStatus)&&(identical(other.date, date) || other.date == date));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,sellerType,buyerType,guildKey,productKey,type,allocationType,numberOfCarcasses,weightOfCarcasses,sellType,amount,totalAmount,approvedPriceStatus,date);
+
+@override
+String toString() {
+ return 'SubmitStewardAllocation(sellerType: $sellerType, buyerType: $buyerType, guildKey: $guildKey, productKey: $productKey, type: $type, allocationType: $allocationType, numberOfCarcasses: $numberOfCarcasses, weightOfCarcasses: $weightOfCarcasses, sellType: $sellType, amount: $amount, totalAmount: $totalAmount, approvedPriceStatus: $approvedPriceStatus, date: $date)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$SubmitStewardAllocationCopyWith<$Res> implements $SubmitStewardAllocationCopyWith<$Res> {
+ factory _$SubmitStewardAllocationCopyWith(_SubmitStewardAllocation value, $Res Function(_SubmitStewardAllocation) _then) = __$SubmitStewardAllocationCopyWithImpl;
+@override @useResult
+$Res call({
+ String? sellerType, String? buyerType, String? guildKey, String? productKey, String? type, String? allocationType, int? numberOfCarcasses, int? weightOfCarcasses, String? sellType, int? amount, int? totalAmount, bool? approvedPriceStatus, String? date
+});
+
+
+
+
+}
+/// @nodoc
+class __$SubmitStewardAllocationCopyWithImpl<$Res>
+ implements _$SubmitStewardAllocationCopyWith<$Res> {
+ __$SubmitStewardAllocationCopyWithImpl(this._self, this._then);
+
+ final _SubmitStewardAllocation _self;
+ final $Res Function(_SubmitStewardAllocation) _then;
+
+/// Create a copy of SubmitStewardAllocation
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? sellerType = freezed,Object? buyerType = freezed,Object? guildKey = freezed,Object? productKey = freezed,Object? type = freezed,Object? allocationType = freezed,Object? numberOfCarcasses = freezed,Object? weightOfCarcasses = freezed,Object? sellType = freezed,Object? amount = freezed,Object? totalAmount = freezed,Object? approvedPriceStatus = freezed,Object? date = freezed,}) {
+ return _then(_SubmitStewardAllocation(
+sellerType: freezed == sellerType ? _self.sellerType : sellerType // ignore: cast_nullable_to_non_nullable
+as String?,buyerType: freezed == buyerType ? _self.buyerType : buyerType // ignore: cast_nullable_to_non_nullable
+as String?,guildKey: freezed == guildKey ? _self.guildKey : guildKey // ignore: cast_nullable_to_non_nullable
+as String?,productKey: freezed == productKey ? _self.productKey : productKey // ignore: cast_nullable_to_non_nullable
+as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
+as String?,allocationType: freezed == allocationType ? _self.allocationType : allocationType // ignore: cast_nullable_to_non_nullable
+as String?,numberOfCarcasses: freezed == numberOfCarcasses ? _self.numberOfCarcasses : numberOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,weightOfCarcasses: freezed == weightOfCarcasses ? _self.weightOfCarcasses : weightOfCarcasses // ignore: cast_nullable_to_non_nullable
+as int?,sellType: freezed == sellType ? _self.sellType : sellType // ignore: cast_nullable_to_non_nullable
+as String?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
+as int?,totalAmount: freezed == totalAmount ? _self.totalAmount : totalAmount // ignore: cast_nullable_to_non_nullable
+as int?,approvedPriceStatus: freezed == approvedPriceStatus ? _self.approvedPriceStatus : approvedPriceStatus // ignore: cast_nullable_to_non_nullable
+as bool?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+
+}
+
+// dart format on
diff --git a/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.g.dart b/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.g.dart
new file mode 100644
index 0000000..8b4b2e4
--- /dev/null
+++ b/packages/chicken/lib/data/models/request/submit_steward_allocation/submit_steward_allocation.g.dart
@@ -0,0 +1,43 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'submit_steward_allocation.dart';
+
+// **************************************************************************
+// JsonSerializableGenerator
+// **************************************************************************
+
+_SubmitStewardAllocation _$SubmitStewardAllocationFromJson(
+ Map json,
+) => _SubmitStewardAllocation(
+ sellerType: json['seller_type'] as String?,
+ buyerType: json['buyer_type'] as String?,
+ guildKey: json['guild_key'] as String?,
+ productKey: json['product_key'] as String?,
+ type: json['type'] as String?,
+ allocationType: json['allocation_type'] as String?,
+ numberOfCarcasses: (json['number_of_carcasses'] as num?)?.toInt(),
+ weightOfCarcasses: (json['weight_of_carcasses'] as num?)?.toInt(),
+ sellType: json['sell_type'] as String?,
+ amount: (json['amount'] as num?)?.toInt(),
+ totalAmount: (json['total_amount'] as num?)?.toInt(),
+ approvedPriceStatus: json['approved_price_status'] as bool?,
+ date: json['date'] as String?,
+);
+
+Map _$SubmitStewardAllocationToJson(
+ _SubmitStewardAllocation instance,
+) => {
+ 'seller_type': instance.sellerType,
+ 'buyer_type': instance.buyerType,
+ 'guild_key': instance.guildKey,
+ 'product_key': instance.productKey,
+ 'type': instance.type,
+ 'allocation_type': instance.allocationType,
+ 'number_of_carcasses': instance.numberOfCarcasses,
+ 'weight_of_carcasses': instance.weightOfCarcasses,
+ 'sell_type': instance.sellType,
+ 'amount': instance.amount,
+ 'total_amount': instance.totalAmount,
+ 'approved_price_status': instance.approvedPriceStatus,
+ 'date': instance.date,
+};
diff --git a/packages/chicken/lib/data/models/response/allocated_made/allocated_made.dart b/packages/chicken/lib/data/models/response/allocated_made/allocated_made.dart
new file mode 100644
index 0000000..78f4f6c
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/allocated_made/allocated_made.dart
@@ -0,0 +1,227 @@
+import 'package:freezed_annotation/freezed_annotation.dart';
+
+part 'allocated_made.freezed.dart';
+part 'allocated_made.g.dart';
+
+@freezed
+abstract class AllocatedMadeModel with _$AllocatedMadeModel {
+ factory AllocatedMadeModel({
+ int? count,
+ String? next,
+ String? previous,
+ List? results,
+ }) = _AllocatedMadeModel;
+
+ factory AllocatedMadeModel.fromJson(Map json) =>
+ _$AllocatedMadeModelFromJson(json);
+}
+
+@freezed
+abstract class AllocatedMadeResult with _$AllocatedMadeResult {
+ factory AllocatedMadeResult({
+ int? id,
+ Product? product,
+ dynamic kill_house,
+ dynamic to_kill_house,
+ Steward? steward,
+ dynamic to_steward,
+ dynamic guilds,
+ Steward? to_guilds,
+ dynamic to_cold_house,
+ int? index_weight,
+ int? date_timestamp,
+ int? new_state,
+ int? new_receiver_state,
+ int? new_allocation_state,
+ String? key,
+ String? create_date,
+ String? modify_date,
+ bool? trash,
+ int? number_of_carcasses,
+ int? real_number_of_carcasses,
+ int? receiver_real_number_of_carcasses,
+ int? weight_of_carcasses,
+ int? real_weight_of_carcasses,
+ int? receiver_real_weight_of_carcasses,
+ int? weight_loss_of_carcasses,
+ bool? final_registration,
+ String? sell_type,
+ String? product_name,
+ String? seller_type,
+ String? type,
+ String? sale_type,
+ String? allocation_type,
+ bool? system_registration_code,
+ int? registration_code,
+ int? amount,
+ int? total_amount,
+ int? total_amount_paid,
+ int? total_amount_remain,
+ String? logged_registration_code,
+ String? state,
+ String? receiver_state,
+ String? allocation_state,
+ String? date,
+ String? role,
+ String? steward_temp_key,
+ bool? approved_price_status,
+ bool? calculate_status,
+ bool? temporary_trash,
+ bool? temporary_deleted,
+ String? created_by,
+ String? modified_by,
+ dynamic ware_house,
+ dynamic steward_ware_house,
+ dynamic car,
+ dynamic dispenser,
+ }) = _AllocatedMadeResult;
+
+ factory AllocatedMadeResult.fromJson(Map json) =>
+ _$AllocatedMadeResultFromJson(json);
+}
+
+@freezed
+abstract class Product with _$Product {
+ factory Product({
+ int? weight_average,
+ }) = _Product;
+
+ factory Product.fromJson(Map json) =>
+ _$ProductFromJson(json);
+}
+
+@freezed
+abstract class Steward with _$Steward {
+ factory Steward({
+ int? id,
+ User? user,
+ Address? address,
+ Activity? guild_area_activity,
+ Activity? guild_type_activity,
+ List? kill_house,
+ List? steward_kill_house,
+ List? stewards,
+ PosStatus? get_pos_status,
+ String? key,
+ String? create_date,
+ String? modify_date,
+ bool? trash,
+ dynamic user_id_foreign_key,
+ dynamic address_id_foreign_key,
+ dynamic user_bank_id_foreign_key,
+ dynamic wallet_id_foreign_key,
+ dynamic provincial_government_id_key,
+ dynamic identity_documents,
+ bool? active,
+ int? city_number,
+ String? city_name,
+ String? guilds_id,
+ String? license_number,
+ String? guilds_name,
+ String? phone,
+ String? type_activity,
+ String? area_activity,
+ int? province_number,
+ String? province_name,
+ bool? steward,
+ bool? has_pos,
+ dynamic centers_allocation,
+ dynamic kill_house_centers_allocation,
+ dynamic allocation_limit,
+ bool? limitation_allocation,
+ String? registerar_role,
+ String? registerar_fullname,
+ String? registerar_mobile,
+ bool? kill_house_register,
+ bool? steward_register,
+ bool? guilds_room_register,
+ bool? pos_company_register,
+ String? province_accept_state,
+ String? province_message,
+ String? condition,
+ String? description_condition,
+ bool? steward_active,
+ dynamic steward_allocation_limit,
+ bool? steward_limitation_allocation,
+ bool? license,
+ dynamic license_form,
+ dynamic license_file,
+ String? reviewer_role,
+ String? reviewer_fullname,
+ String? reviewer_mobile,
+ String? checker_message,
+ bool? final_accept,
+ bool? temporary_registration,
+ String? created_by,
+ String? modified_by,
+ dynamic user_bank_info,
+ int? wallet,
+ List? cars,
+ List? user_level,
+ }) = _Steward;
+
+ factory Steward.fromJson(Map json) =>
+ _$StewardFromJson(json);
+}
+
+@freezed
+abstract class User with _$User {
+ factory User({
+ String? fullname,
+ String? first_name,
+ String? last_name,
+ String? mobile,
+ String? national_id,
+ String? city,
+ }) = _User;
+
+ factory User.fromJson(Map json) =>
+ _$UserFromJson(json);
+}
+
+@freezed
+abstract class Address with _$Address {
+ factory Address({
+ Province? province,
+ Province? city,
+ String? address,
+ String? postal_code,
+ }) = _Address;
+
+ factory Address.fromJson(Map json) =>
+ _$AddressFromJson(json);
+}
+
+@freezed
+abstract class Province with _$Province {
+ factory Province({
+ String? key,
+ String? name,
+ }) = _Province;
+
+ factory Province.fromJson(Map json) =>
+ _$ProvinceFromJson(json);
+}
+
+@freezed
+abstract class Activity with _$Activity {
+ factory Activity({
+ String? key,
+ String? title,
+ }) = _Activity;
+
+ factory Activity.fromJson(Map json) =>
+ _$ActivityFromJson(json);
+}
+
+@freezed
+abstract class PosStatus with _$PosStatus {
+ factory PosStatus({
+ int? len_active_sessions,
+ bool? has_pons,
+ bool? has_active_pons,
+ }) = _PosStatus;
+
+ factory PosStatus.fromJson(Map json) =>
+ _$PosStatusFromJson(json);
+}
diff --git a/packages/chicken/lib/data/models/response/allocated_made/allocated_made.freezed.dart b/packages/chicken/lib/data/models/response/allocated_made/allocated_made.freezed.dart
new file mode 100644
index 0000000..72b6981
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/allocated_made/allocated_made.freezed.dart
@@ -0,0 +1,1899 @@
+// dart format width=80
+// coverage:ignore-file
+// GENERATED CODE - DO NOT MODIFY BY HAND
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
+
+part of 'allocated_made.dart';
+
+// **************************************************************************
+// FreezedGenerator
+// **************************************************************************
+
+// dart format off
+T _$identity(T value) => value;
+
+/// @nodoc
+mixin _$AllocatedMadeModel {
+
+ int? get count; String? get next; String? get previous; List? get results;
+/// Create a copy of AllocatedMadeModel
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$AllocatedMadeModelCopyWith get copyWith => _$AllocatedMadeModelCopyWithImpl(this as AllocatedMadeModel, _$identity);
+
+ /// Serializes this AllocatedMadeModel to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is AllocatedMadeModel&&(identical(other.count, count) || other.count == count)&&(identical(other.next, next) || other.next == next)&&(identical(other.previous, previous) || other.previous == previous)&&const DeepCollectionEquality().equals(other.results, results));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,count,next,previous,const DeepCollectionEquality().hash(results));
+
+@override
+String toString() {
+ return 'AllocatedMadeModel(count: $count, next: $next, previous: $previous, results: $results)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $AllocatedMadeModelCopyWith<$Res> {
+ factory $AllocatedMadeModelCopyWith(AllocatedMadeModel value, $Res Function(AllocatedMadeModel) _then) = _$AllocatedMadeModelCopyWithImpl;
+@useResult
+$Res call({
+ int? count, String? next, String? previous, List? results
+});
+
+
+
+
+}
+/// @nodoc
+class _$AllocatedMadeModelCopyWithImpl<$Res>
+ implements $AllocatedMadeModelCopyWith<$Res> {
+ _$AllocatedMadeModelCopyWithImpl(this._self, this._then);
+
+ final AllocatedMadeModel _self;
+ final $Res Function(AllocatedMadeModel) _then;
+
+/// Create a copy of AllocatedMadeModel
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? count = freezed,Object? next = freezed,Object? previous = freezed,Object? results = freezed,}) {
+ return _then(_self.copyWith(
+count: freezed == count ? _self.count : count // ignore: cast_nullable_to_non_nullable
+as int?,next: freezed == next ? _self.next : next // ignore: cast_nullable_to_non_nullable
+as String?,previous: freezed == previous ? _self.previous : previous // ignore: cast_nullable_to_non_nullable
+as String?,results: freezed == results ? _self.results : results // ignore: cast_nullable_to_non_nullable
+as List?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _AllocatedMadeModel implements AllocatedMadeModel {
+ _AllocatedMadeModel({this.count, this.next, this.previous, final List? results}): _results = results;
+ factory _AllocatedMadeModel.fromJson(Map json) => _$AllocatedMadeModelFromJson(json);
+
+@override final int? count;
+@override final String? next;
+@override final String? previous;
+ final List? _results;
+@override List? get results {
+ final value = _results;
+ if (value == null) return null;
+ if (_results is EqualUnmodifiableListView) return _results;
+ // ignore: implicit_dynamic_type
+ return EqualUnmodifiableListView(value);
+}
+
+
+/// Create a copy of AllocatedMadeModel
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$AllocatedMadeModelCopyWith<_AllocatedMadeModel> get copyWith => __$AllocatedMadeModelCopyWithImpl<_AllocatedMadeModel>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$AllocatedMadeModelToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _AllocatedMadeModel&&(identical(other.count, count) || other.count == count)&&(identical(other.next, next) || other.next == next)&&(identical(other.previous, previous) || other.previous == previous)&&const DeepCollectionEquality().equals(other._results, _results));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,count,next,previous,const DeepCollectionEquality().hash(_results));
+
+@override
+String toString() {
+ return 'AllocatedMadeModel(count: $count, next: $next, previous: $previous, results: $results)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$AllocatedMadeModelCopyWith<$Res> implements $AllocatedMadeModelCopyWith<$Res> {
+ factory _$AllocatedMadeModelCopyWith(_AllocatedMadeModel value, $Res Function(_AllocatedMadeModel) _then) = __$AllocatedMadeModelCopyWithImpl;
+@override @useResult
+$Res call({
+ int? count, String? next, String? previous, List? results
+});
+
+
+
+
+}
+/// @nodoc
+class __$AllocatedMadeModelCopyWithImpl<$Res>
+ implements _$AllocatedMadeModelCopyWith<$Res> {
+ __$AllocatedMadeModelCopyWithImpl(this._self, this._then);
+
+ final _AllocatedMadeModel _self;
+ final $Res Function(_AllocatedMadeModel) _then;
+
+/// Create a copy of AllocatedMadeModel
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? count = freezed,Object? next = freezed,Object? previous = freezed,Object? results = freezed,}) {
+ return _then(_AllocatedMadeModel(
+count: freezed == count ? _self.count : count // ignore: cast_nullable_to_non_nullable
+as int?,next: freezed == next ? _self.next : next // ignore: cast_nullable_to_non_nullable
+as String?,previous: freezed == previous ? _self.previous : previous // ignore: cast_nullable_to_non_nullable
+as String?,results: freezed == results ? _self._results : results // ignore: cast_nullable_to_non_nullable
+as List?,
+ ));
+}
+
+
+}
+
+
+/// @nodoc
+mixin _$AllocatedMadeResult {
+
+ int? get id; Product? get product; dynamic get kill_house; dynamic get to_kill_house; Steward? get steward; dynamic get to_steward; dynamic get guilds; Steward? get to_guilds; dynamic get to_cold_house; int? get index_weight; int? get date_timestamp; int? get new_state; int? get new_receiver_state; int? get new_allocation_state; String? get key; String? get create_date; String? get modify_date; bool? get trash; int? get number_of_carcasses; int? get real_number_of_carcasses; int? get receiver_real_number_of_carcasses; int? get weight_of_carcasses; int? get real_weight_of_carcasses; int? get receiver_real_weight_of_carcasses; int? get weight_loss_of_carcasses; bool? get final_registration; String? get sell_type; String? get product_name; String? get seller_type; String? get type; String? get sale_type; String? get allocation_type; bool? get system_registration_code; int? get registration_code; int? get amount; int? get total_amount; int? get total_amount_paid; int? get total_amount_remain; String? get logged_registration_code; String? get state; String? get receiver_state; String? get allocation_state; String? get date; String? get role; String? get steward_temp_key; bool? get approved_price_status; bool? get calculate_status; bool? get temporary_trash; bool? get temporary_deleted; String? get created_by; String? get modified_by; dynamic get ware_house; dynamic get steward_ware_house; dynamic get car; dynamic get dispenser;
+/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$AllocatedMadeResultCopyWith get copyWith => _$AllocatedMadeResultCopyWithImpl(this as AllocatedMadeResult, _$identity);
+
+ /// Serializes this AllocatedMadeResult to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is AllocatedMadeResult&&(identical(other.id, id) || other.id == id)&&(identical(other.product, product) || other.product == product)&&const DeepCollectionEquality().equals(other.kill_house, kill_house)&&const DeepCollectionEquality().equals(other.to_kill_house, to_kill_house)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.to_steward, to_steward)&&const DeepCollectionEquality().equals(other.guilds, guilds)&&(identical(other.to_guilds, to_guilds) || other.to_guilds == to_guilds)&&const DeepCollectionEquality().equals(other.to_cold_house, to_cold_house)&&(identical(other.index_weight, index_weight) || other.index_weight == index_weight)&&(identical(other.date_timestamp, date_timestamp) || other.date_timestamp == date_timestamp)&&(identical(other.new_state, new_state) || other.new_state == new_state)&&(identical(other.new_receiver_state, new_receiver_state) || other.new_receiver_state == new_receiver_state)&&(identical(other.new_allocation_state, new_allocation_state) || other.new_allocation_state == new_allocation_state)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.real_number_of_carcasses, real_number_of_carcasses) || other.real_number_of_carcasses == real_number_of_carcasses)&&(identical(other.receiver_real_number_of_carcasses, receiver_real_number_of_carcasses) || other.receiver_real_number_of_carcasses == receiver_real_number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.real_weight_of_carcasses, real_weight_of_carcasses) || other.real_weight_of_carcasses == real_weight_of_carcasses)&&(identical(other.receiver_real_weight_of_carcasses, receiver_real_weight_of_carcasses) || other.receiver_real_weight_of_carcasses == receiver_real_weight_of_carcasses)&&(identical(other.weight_loss_of_carcasses, weight_loss_of_carcasses) || other.weight_loss_of_carcasses == weight_loss_of_carcasses)&&(identical(other.final_registration, final_registration) || other.final_registration == final_registration)&&(identical(other.sell_type, sell_type) || other.sell_type == sell_type)&&(identical(other.product_name, product_name) || other.product_name == product_name)&&(identical(other.seller_type, seller_type) || other.seller_type == seller_type)&&(identical(other.type, type) || other.type == type)&&(identical(other.sale_type, sale_type) || other.sale_type == sale_type)&&(identical(other.allocation_type, allocation_type) || other.allocation_type == allocation_type)&&(identical(other.system_registration_code, system_registration_code) || other.system_registration_code == system_registration_code)&&(identical(other.registration_code, registration_code) || other.registration_code == registration_code)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.total_amount, total_amount) || other.total_amount == total_amount)&&(identical(other.total_amount_paid, total_amount_paid) || other.total_amount_paid == total_amount_paid)&&(identical(other.total_amount_remain, total_amount_remain) || other.total_amount_remain == total_amount_remain)&&(identical(other.logged_registration_code, logged_registration_code) || other.logged_registration_code == logged_registration_code)&&(identical(other.state, state) || other.state == state)&&(identical(other.receiver_state, receiver_state) || other.receiver_state == receiver_state)&&(identical(other.allocation_state, allocation_state) || other.allocation_state == allocation_state)&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.steward_temp_key, steward_temp_key) || other.steward_temp_key == steward_temp_key)&&(identical(other.approved_price_status, approved_price_status) || other.approved_price_status == approved_price_status)&&(identical(other.calculate_status, calculate_status) || other.calculate_status == calculate_status)&&(identical(other.temporary_trash, temporary_trash) || other.temporary_trash == temporary_trash)&&(identical(other.temporary_deleted, temporary_deleted) || other.temporary_deleted == temporary_deleted)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.ware_house, ware_house)&&const DeepCollectionEquality().equals(other.steward_ware_house, steward_ware_house)&&const DeepCollectionEquality().equals(other.car, car)&&const DeepCollectionEquality().equals(other.dispenser, dispenser));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hashAll([runtimeType,id,product,const DeepCollectionEquality().hash(kill_house),const DeepCollectionEquality().hash(to_kill_house),steward,const DeepCollectionEquality().hash(to_steward),const DeepCollectionEquality().hash(guilds),to_guilds,const DeepCollectionEquality().hash(to_cold_house),index_weight,date_timestamp,new_state,new_receiver_state,new_allocation_state,key,create_date,modify_date,trash,number_of_carcasses,real_number_of_carcasses,receiver_real_number_of_carcasses,weight_of_carcasses,real_weight_of_carcasses,receiver_real_weight_of_carcasses,weight_loss_of_carcasses,final_registration,sell_type,product_name,seller_type,type,sale_type,allocation_type,system_registration_code,registration_code,amount,total_amount,total_amount_paid,total_amount_remain,logged_registration_code,state,receiver_state,allocation_state,date,role,steward_temp_key,approved_price_status,calculate_status,temporary_trash,temporary_deleted,created_by,modified_by,const DeepCollectionEquality().hash(ware_house),const DeepCollectionEquality().hash(steward_ware_house),const DeepCollectionEquality().hash(car),const DeepCollectionEquality().hash(dispenser)]);
+
+@override
+String toString() {
+ return 'AllocatedMadeResult(id: $id, product: $product, kill_house: $kill_house, to_kill_house: $to_kill_house, steward: $steward, to_steward: $to_steward, guilds: $guilds, to_guilds: $to_guilds, to_cold_house: $to_cold_house, index_weight: $index_weight, date_timestamp: $date_timestamp, new_state: $new_state, new_receiver_state: $new_receiver_state, new_allocation_state: $new_allocation_state, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, number_of_carcasses: $number_of_carcasses, real_number_of_carcasses: $real_number_of_carcasses, receiver_real_number_of_carcasses: $receiver_real_number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, real_weight_of_carcasses: $real_weight_of_carcasses, receiver_real_weight_of_carcasses: $receiver_real_weight_of_carcasses, weight_loss_of_carcasses: $weight_loss_of_carcasses, final_registration: $final_registration, sell_type: $sell_type, product_name: $product_name, seller_type: $seller_type, type: $type, sale_type: $sale_type, allocation_type: $allocation_type, system_registration_code: $system_registration_code, registration_code: $registration_code, amount: $amount, total_amount: $total_amount, total_amount_paid: $total_amount_paid, total_amount_remain: $total_amount_remain, logged_registration_code: $logged_registration_code, state: $state, receiver_state: $receiver_state, allocation_state: $allocation_state, date: $date, role: $role, steward_temp_key: $steward_temp_key, approved_price_status: $approved_price_status, calculate_status: $calculate_status, temporary_trash: $temporary_trash, temporary_deleted: $temporary_deleted, created_by: $created_by, modified_by: $modified_by, ware_house: $ware_house, steward_ware_house: $steward_ware_house, car: $car, dispenser: $dispenser)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $AllocatedMadeResultCopyWith<$Res> {
+ factory $AllocatedMadeResultCopyWith(AllocatedMadeResult value, $Res Function(AllocatedMadeResult) _then) = _$AllocatedMadeResultCopyWithImpl;
+@useResult
+$Res call({
+ int? id, Product? product, dynamic kill_house, dynamic to_kill_house, Steward? steward, dynamic to_steward, dynamic guilds, Steward? to_guilds, dynamic to_cold_house, int? index_weight, int? date_timestamp, int? new_state, int? new_receiver_state, int? new_allocation_state, String? key, String? create_date, String? modify_date, bool? trash, int? number_of_carcasses, int? real_number_of_carcasses, int? receiver_real_number_of_carcasses, int? weight_of_carcasses, int? real_weight_of_carcasses, int? receiver_real_weight_of_carcasses, int? weight_loss_of_carcasses, bool? final_registration, String? sell_type, String? product_name, String? seller_type, String? type, String? sale_type, String? allocation_type, bool? system_registration_code, int? registration_code, int? amount, int? total_amount, int? total_amount_paid, int? total_amount_remain, String? logged_registration_code, String? state, String? receiver_state, String? allocation_state, String? date, String? role, String? steward_temp_key, bool? approved_price_status, bool? calculate_status, bool? temporary_trash, bool? temporary_deleted, String? created_by, String? modified_by, dynamic ware_house, dynamic steward_ware_house, dynamic car, dynamic dispenser
+});
+
+
+$ProductCopyWith<$Res>? get product;$StewardCopyWith<$Res>? get steward;$StewardCopyWith<$Res>? get to_guilds;
+
+}
+/// @nodoc
+class _$AllocatedMadeResultCopyWithImpl<$Res>
+ implements $AllocatedMadeResultCopyWith<$Res> {
+ _$AllocatedMadeResultCopyWithImpl(this._self, this._then);
+
+ final AllocatedMadeResult _self;
+ final $Res Function(AllocatedMadeResult) _then;
+
+/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? product = freezed,Object? kill_house = freezed,Object? to_kill_house = freezed,Object? steward = freezed,Object? to_steward = freezed,Object? guilds = freezed,Object? to_guilds = freezed,Object? to_cold_house = freezed,Object? index_weight = freezed,Object? date_timestamp = freezed,Object? new_state = freezed,Object? new_receiver_state = freezed,Object? new_allocation_state = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? number_of_carcasses = freezed,Object? real_number_of_carcasses = freezed,Object? receiver_real_number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? real_weight_of_carcasses = freezed,Object? receiver_real_weight_of_carcasses = freezed,Object? weight_loss_of_carcasses = freezed,Object? final_registration = freezed,Object? sell_type = freezed,Object? product_name = freezed,Object? seller_type = freezed,Object? type = freezed,Object? sale_type = freezed,Object? allocation_type = freezed,Object? system_registration_code = freezed,Object? registration_code = freezed,Object? amount = freezed,Object? total_amount = freezed,Object? total_amount_paid = freezed,Object? total_amount_remain = freezed,Object? logged_registration_code = freezed,Object? state = freezed,Object? receiver_state = freezed,Object? allocation_state = freezed,Object? date = freezed,Object? role = freezed,Object? steward_temp_key = freezed,Object? approved_price_status = freezed,Object? calculate_status = freezed,Object? temporary_trash = freezed,Object? temporary_deleted = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? ware_house = freezed,Object? steward_ware_house = freezed,Object? car = freezed,Object? dispenser = freezed,}) {
+ return _then(_self.copyWith(
+id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
+as int?,product: freezed == product ? _self.product : product // ignore: cast_nullable_to_non_nullable
+as Product?,kill_house: freezed == kill_house ? _self.kill_house : kill_house // ignore: cast_nullable_to_non_nullable
+as dynamic,to_kill_house: freezed == to_kill_house ? _self.to_kill_house : to_kill_house // ignore: cast_nullable_to_non_nullable
+as dynamic,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
+as Steward?,to_steward: freezed == to_steward ? _self.to_steward : to_steward // ignore: cast_nullable_to_non_nullable
+as dynamic,guilds: freezed == guilds ? _self.guilds : guilds // ignore: cast_nullable_to_non_nullable
+as dynamic,to_guilds: freezed == to_guilds ? _self.to_guilds : to_guilds // ignore: cast_nullable_to_non_nullable
+as Steward?,to_cold_house: freezed == to_cold_house ? _self.to_cold_house : to_cold_house // ignore: cast_nullable_to_non_nullable
+as dynamic,index_weight: freezed == index_weight ? _self.index_weight : index_weight // ignore: cast_nullable_to_non_nullable
+as int?,date_timestamp: freezed == date_timestamp ? _self.date_timestamp : date_timestamp // ignore: cast_nullable_to_non_nullable
+as int?,new_state: freezed == new_state ? _self.new_state : new_state // ignore: cast_nullable_to_non_nullable
+as int?,new_receiver_state: freezed == new_receiver_state ? _self.new_receiver_state : new_receiver_state // ignore: cast_nullable_to_non_nullable
+as int?,new_allocation_state: freezed == new_allocation_state ? _self.new_allocation_state : new_allocation_state // ignore: cast_nullable_to_non_nullable
+as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
+as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
+as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
+as bool?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,real_number_of_carcasses: freezed == real_number_of_carcasses ? _self.real_number_of_carcasses : real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,receiver_real_number_of_carcasses: freezed == receiver_real_number_of_carcasses ? _self.receiver_real_number_of_carcasses : receiver_real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,real_weight_of_carcasses: freezed == real_weight_of_carcasses ? _self.real_weight_of_carcasses : real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,receiver_real_weight_of_carcasses: freezed == receiver_real_weight_of_carcasses ? _self.receiver_real_weight_of_carcasses : receiver_real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,weight_loss_of_carcasses: freezed == weight_loss_of_carcasses ? _self.weight_loss_of_carcasses : weight_loss_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,final_registration: freezed == final_registration ? _self.final_registration : final_registration // ignore: cast_nullable_to_non_nullable
+as bool?,sell_type: freezed == sell_type ? _self.sell_type : sell_type // ignore: cast_nullable_to_non_nullable
+as String?,product_name: freezed == product_name ? _self.product_name : product_name // ignore: cast_nullable_to_non_nullable
+as String?,seller_type: freezed == seller_type ? _self.seller_type : seller_type // ignore: cast_nullable_to_non_nullable
+as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
+as String?,sale_type: freezed == sale_type ? _self.sale_type : sale_type // ignore: cast_nullable_to_non_nullable
+as String?,allocation_type: freezed == allocation_type ? _self.allocation_type : allocation_type // ignore: cast_nullable_to_non_nullable
+as String?,system_registration_code: freezed == system_registration_code ? _self.system_registration_code : system_registration_code // ignore: cast_nullable_to_non_nullable
+as bool?,registration_code: freezed == registration_code ? _self.registration_code : registration_code // ignore: cast_nullable_to_non_nullable
+as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
+as int?,total_amount: freezed == total_amount ? _self.total_amount : total_amount // ignore: cast_nullable_to_non_nullable
+as int?,total_amount_paid: freezed == total_amount_paid ? _self.total_amount_paid : total_amount_paid // ignore: cast_nullable_to_non_nullable
+as int?,total_amount_remain: freezed == total_amount_remain ? _self.total_amount_remain : total_amount_remain // ignore: cast_nullable_to_non_nullable
+as int?,logged_registration_code: freezed == logged_registration_code ? _self.logged_registration_code : logged_registration_code // ignore: cast_nullable_to_non_nullable
+as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
+as String?,receiver_state: freezed == receiver_state ? _self.receiver_state : receiver_state // ignore: cast_nullable_to_non_nullable
+as String?,allocation_state: freezed == allocation_state ? _self.allocation_state : allocation_state // ignore: cast_nullable_to_non_nullable
+as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
+as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable
+as String?,steward_temp_key: freezed == steward_temp_key ? _self.steward_temp_key : steward_temp_key // ignore: cast_nullable_to_non_nullable
+as String?,approved_price_status: freezed == approved_price_status ? _self.approved_price_status : approved_price_status // ignore: cast_nullable_to_non_nullable
+as bool?,calculate_status: freezed == calculate_status ? _self.calculate_status : calculate_status // ignore: cast_nullable_to_non_nullable
+as bool?,temporary_trash: freezed == temporary_trash ? _self.temporary_trash : temporary_trash // ignore: cast_nullable_to_non_nullable
+as bool?,temporary_deleted: freezed == temporary_deleted ? _self.temporary_deleted : temporary_deleted // ignore: cast_nullable_to_non_nullable
+as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
+as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
+as String?,ware_house: freezed == ware_house ? _self.ware_house : ware_house // ignore: cast_nullable_to_non_nullable
+as dynamic,steward_ware_house: freezed == steward_ware_house ? _self.steward_ware_house : steward_ware_house // ignore: cast_nullable_to_non_nullable
+as dynamic,car: freezed == car ? _self.car : car // ignore: cast_nullable_to_non_nullable
+as dynamic,dispenser: freezed == dispenser ? _self.dispenser : dispenser // ignore: cast_nullable_to_non_nullable
+as dynamic,
+ ));
+}
+/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ProductCopyWith<$Res>? get product {
+ if (_self.product == null) {
+ return null;
+ }
+
+ return $ProductCopyWith<$Res>(_self.product!, (value) {
+ return _then(_self.copyWith(product: value));
+ });
+}/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$StewardCopyWith<$Res>? get steward {
+ if (_self.steward == null) {
+ return null;
+ }
+
+ return $StewardCopyWith<$Res>(_self.steward!, (value) {
+ return _then(_self.copyWith(steward: value));
+ });
+}/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$StewardCopyWith<$Res>? get to_guilds {
+ if (_self.to_guilds == null) {
+ return null;
+ }
+
+ return $StewardCopyWith<$Res>(_self.to_guilds!, (value) {
+ return _then(_self.copyWith(to_guilds: value));
+ });
+}
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _AllocatedMadeResult implements AllocatedMadeResult {
+ _AllocatedMadeResult({this.id, this.product, this.kill_house, this.to_kill_house, this.steward, this.to_steward, this.guilds, this.to_guilds, this.to_cold_house, this.index_weight, this.date_timestamp, this.new_state, this.new_receiver_state, this.new_allocation_state, this.key, this.create_date, this.modify_date, this.trash, this.number_of_carcasses, this.real_number_of_carcasses, this.receiver_real_number_of_carcasses, this.weight_of_carcasses, this.real_weight_of_carcasses, this.receiver_real_weight_of_carcasses, this.weight_loss_of_carcasses, this.final_registration, this.sell_type, this.product_name, this.seller_type, this.type, this.sale_type, this.allocation_type, this.system_registration_code, this.registration_code, this.amount, this.total_amount, this.total_amount_paid, this.total_amount_remain, this.logged_registration_code, this.state, this.receiver_state, this.allocation_state, this.date, this.role, this.steward_temp_key, this.approved_price_status, this.calculate_status, this.temporary_trash, this.temporary_deleted, this.created_by, this.modified_by, this.ware_house, this.steward_ware_house, this.car, this.dispenser});
+ factory _AllocatedMadeResult.fromJson(Map json) => _$AllocatedMadeResultFromJson(json);
+
+@override final int? id;
+@override final Product? product;
+@override final dynamic kill_house;
+@override final dynamic to_kill_house;
+@override final Steward? steward;
+@override final dynamic to_steward;
+@override final dynamic guilds;
+@override final Steward? to_guilds;
+@override final dynamic to_cold_house;
+@override final int? index_weight;
+@override final int? date_timestamp;
+@override final int? new_state;
+@override final int? new_receiver_state;
+@override final int? new_allocation_state;
+@override final String? key;
+@override final String? create_date;
+@override final String? modify_date;
+@override final bool? trash;
+@override final int? number_of_carcasses;
+@override final int? real_number_of_carcasses;
+@override final int? receiver_real_number_of_carcasses;
+@override final int? weight_of_carcasses;
+@override final int? real_weight_of_carcasses;
+@override final int? receiver_real_weight_of_carcasses;
+@override final int? weight_loss_of_carcasses;
+@override final bool? final_registration;
+@override final String? sell_type;
+@override final String? product_name;
+@override final String? seller_type;
+@override final String? type;
+@override final String? sale_type;
+@override final String? allocation_type;
+@override final bool? system_registration_code;
+@override final int? registration_code;
+@override final int? amount;
+@override final int? total_amount;
+@override final int? total_amount_paid;
+@override final int? total_amount_remain;
+@override final String? logged_registration_code;
+@override final String? state;
+@override final String? receiver_state;
+@override final String? allocation_state;
+@override final String? date;
+@override final String? role;
+@override final String? steward_temp_key;
+@override final bool? approved_price_status;
+@override final bool? calculate_status;
+@override final bool? temporary_trash;
+@override final bool? temporary_deleted;
+@override final String? created_by;
+@override final String? modified_by;
+@override final dynamic ware_house;
+@override final dynamic steward_ware_house;
+@override final dynamic car;
+@override final dynamic dispenser;
+
+/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$AllocatedMadeResultCopyWith<_AllocatedMadeResult> get copyWith => __$AllocatedMadeResultCopyWithImpl<_AllocatedMadeResult>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$AllocatedMadeResultToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _AllocatedMadeResult&&(identical(other.id, id) || other.id == id)&&(identical(other.product, product) || other.product == product)&&const DeepCollectionEquality().equals(other.kill_house, kill_house)&&const DeepCollectionEquality().equals(other.to_kill_house, to_kill_house)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.to_steward, to_steward)&&const DeepCollectionEquality().equals(other.guilds, guilds)&&(identical(other.to_guilds, to_guilds) || other.to_guilds == to_guilds)&&const DeepCollectionEquality().equals(other.to_cold_house, to_cold_house)&&(identical(other.index_weight, index_weight) || other.index_weight == index_weight)&&(identical(other.date_timestamp, date_timestamp) || other.date_timestamp == date_timestamp)&&(identical(other.new_state, new_state) || other.new_state == new_state)&&(identical(other.new_receiver_state, new_receiver_state) || other.new_receiver_state == new_receiver_state)&&(identical(other.new_allocation_state, new_allocation_state) || other.new_allocation_state == new_allocation_state)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.real_number_of_carcasses, real_number_of_carcasses) || other.real_number_of_carcasses == real_number_of_carcasses)&&(identical(other.receiver_real_number_of_carcasses, receiver_real_number_of_carcasses) || other.receiver_real_number_of_carcasses == receiver_real_number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.real_weight_of_carcasses, real_weight_of_carcasses) || other.real_weight_of_carcasses == real_weight_of_carcasses)&&(identical(other.receiver_real_weight_of_carcasses, receiver_real_weight_of_carcasses) || other.receiver_real_weight_of_carcasses == receiver_real_weight_of_carcasses)&&(identical(other.weight_loss_of_carcasses, weight_loss_of_carcasses) || other.weight_loss_of_carcasses == weight_loss_of_carcasses)&&(identical(other.final_registration, final_registration) || other.final_registration == final_registration)&&(identical(other.sell_type, sell_type) || other.sell_type == sell_type)&&(identical(other.product_name, product_name) || other.product_name == product_name)&&(identical(other.seller_type, seller_type) || other.seller_type == seller_type)&&(identical(other.type, type) || other.type == type)&&(identical(other.sale_type, sale_type) || other.sale_type == sale_type)&&(identical(other.allocation_type, allocation_type) || other.allocation_type == allocation_type)&&(identical(other.system_registration_code, system_registration_code) || other.system_registration_code == system_registration_code)&&(identical(other.registration_code, registration_code) || other.registration_code == registration_code)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.total_amount, total_amount) || other.total_amount == total_amount)&&(identical(other.total_amount_paid, total_amount_paid) || other.total_amount_paid == total_amount_paid)&&(identical(other.total_amount_remain, total_amount_remain) || other.total_amount_remain == total_amount_remain)&&(identical(other.logged_registration_code, logged_registration_code) || other.logged_registration_code == logged_registration_code)&&(identical(other.state, state) || other.state == state)&&(identical(other.receiver_state, receiver_state) || other.receiver_state == receiver_state)&&(identical(other.allocation_state, allocation_state) || other.allocation_state == allocation_state)&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.steward_temp_key, steward_temp_key) || other.steward_temp_key == steward_temp_key)&&(identical(other.approved_price_status, approved_price_status) || other.approved_price_status == approved_price_status)&&(identical(other.calculate_status, calculate_status) || other.calculate_status == calculate_status)&&(identical(other.temporary_trash, temporary_trash) || other.temporary_trash == temporary_trash)&&(identical(other.temporary_deleted, temporary_deleted) || other.temporary_deleted == temporary_deleted)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.ware_house, ware_house)&&const DeepCollectionEquality().equals(other.steward_ware_house, steward_ware_house)&&const DeepCollectionEquality().equals(other.car, car)&&const DeepCollectionEquality().equals(other.dispenser, dispenser));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hashAll([runtimeType,id,product,const DeepCollectionEquality().hash(kill_house),const DeepCollectionEquality().hash(to_kill_house),steward,const DeepCollectionEquality().hash(to_steward),const DeepCollectionEquality().hash(guilds),to_guilds,const DeepCollectionEquality().hash(to_cold_house),index_weight,date_timestamp,new_state,new_receiver_state,new_allocation_state,key,create_date,modify_date,trash,number_of_carcasses,real_number_of_carcasses,receiver_real_number_of_carcasses,weight_of_carcasses,real_weight_of_carcasses,receiver_real_weight_of_carcasses,weight_loss_of_carcasses,final_registration,sell_type,product_name,seller_type,type,sale_type,allocation_type,system_registration_code,registration_code,amount,total_amount,total_amount_paid,total_amount_remain,logged_registration_code,state,receiver_state,allocation_state,date,role,steward_temp_key,approved_price_status,calculate_status,temporary_trash,temporary_deleted,created_by,modified_by,const DeepCollectionEquality().hash(ware_house),const DeepCollectionEquality().hash(steward_ware_house),const DeepCollectionEquality().hash(car),const DeepCollectionEquality().hash(dispenser)]);
+
+@override
+String toString() {
+ return 'AllocatedMadeResult(id: $id, product: $product, kill_house: $kill_house, to_kill_house: $to_kill_house, steward: $steward, to_steward: $to_steward, guilds: $guilds, to_guilds: $to_guilds, to_cold_house: $to_cold_house, index_weight: $index_weight, date_timestamp: $date_timestamp, new_state: $new_state, new_receiver_state: $new_receiver_state, new_allocation_state: $new_allocation_state, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, number_of_carcasses: $number_of_carcasses, real_number_of_carcasses: $real_number_of_carcasses, receiver_real_number_of_carcasses: $receiver_real_number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, real_weight_of_carcasses: $real_weight_of_carcasses, receiver_real_weight_of_carcasses: $receiver_real_weight_of_carcasses, weight_loss_of_carcasses: $weight_loss_of_carcasses, final_registration: $final_registration, sell_type: $sell_type, product_name: $product_name, seller_type: $seller_type, type: $type, sale_type: $sale_type, allocation_type: $allocation_type, system_registration_code: $system_registration_code, registration_code: $registration_code, amount: $amount, total_amount: $total_amount, total_amount_paid: $total_amount_paid, total_amount_remain: $total_amount_remain, logged_registration_code: $logged_registration_code, state: $state, receiver_state: $receiver_state, allocation_state: $allocation_state, date: $date, role: $role, steward_temp_key: $steward_temp_key, approved_price_status: $approved_price_status, calculate_status: $calculate_status, temporary_trash: $temporary_trash, temporary_deleted: $temporary_deleted, created_by: $created_by, modified_by: $modified_by, ware_house: $ware_house, steward_ware_house: $steward_ware_house, car: $car, dispenser: $dispenser)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$AllocatedMadeResultCopyWith<$Res> implements $AllocatedMadeResultCopyWith<$Res> {
+ factory _$AllocatedMadeResultCopyWith(_AllocatedMadeResult value, $Res Function(_AllocatedMadeResult) _then) = __$AllocatedMadeResultCopyWithImpl;
+@override @useResult
+$Res call({
+ int? id, Product? product, dynamic kill_house, dynamic to_kill_house, Steward? steward, dynamic to_steward, dynamic guilds, Steward? to_guilds, dynamic to_cold_house, int? index_weight, int? date_timestamp, int? new_state, int? new_receiver_state, int? new_allocation_state, String? key, String? create_date, String? modify_date, bool? trash, int? number_of_carcasses, int? real_number_of_carcasses, int? receiver_real_number_of_carcasses, int? weight_of_carcasses, int? real_weight_of_carcasses, int? receiver_real_weight_of_carcasses, int? weight_loss_of_carcasses, bool? final_registration, String? sell_type, String? product_name, String? seller_type, String? type, String? sale_type, String? allocation_type, bool? system_registration_code, int? registration_code, int? amount, int? total_amount, int? total_amount_paid, int? total_amount_remain, String? logged_registration_code, String? state, String? receiver_state, String? allocation_state, String? date, String? role, String? steward_temp_key, bool? approved_price_status, bool? calculate_status, bool? temporary_trash, bool? temporary_deleted, String? created_by, String? modified_by, dynamic ware_house, dynamic steward_ware_house, dynamic car, dynamic dispenser
+});
+
+
+@override $ProductCopyWith<$Res>? get product;@override $StewardCopyWith<$Res>? get steward;@override $StewardCopyWith<$Res>? get to_guilds;
+
+}
+/// @nodoc
+class __$AllocatedMadeResultCopyWithImpl<$Res>
+ implements _$AllocatedMadeResultCopyWith<$Res> {
+ __$AllocatedMadeResultCopyWithImpl(this._self, this._then);
+
+ final _AllocatedMadeResult _self;
+ final $Res Function(_AllocatedMadeResult) _then;
+
+/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? product = freezed,Object? kill_house = freezed,Object? to_kill_house = freezed,Object? steward = freezed,Object? to_steward = freezed,Object? guilds = freezed,Object? to_guilds = freezed,Object? to_cold_house = freezed,Object? index_weight = freezed,Object? date_timestamp = freezed,Object? new_state = freezed,Object? new_receiver_state = freezed,Object? new_allocation_state = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? number_of_carcasses = freezed,Object? real_number_of_carcasses = freezed,Object? receiver_real_number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? real_weight_of_carcasses = freezed,Object? receiver_real_weight_of_carcasses = freezed,Object? weight_loss_of_carcasses = freezed,Object? final_registration = freezed,Object? sell_type = freezed,Object? product_name = freezed,Object? seller_type = freezed,Object? type = freezed,Object? sale_type = freezed,Object? allocation_type = freezed,Object? system_registration_code = freezed,Object? registration_code = freezed,Object? amount = freezed,Object? total_amount = freezed,Object? total_amount_paid = freezed,Object? total_amount_remain = freezed,Object? logged_registration_code = freezed,Object? state = freezed,Object? receiver_state = freezed,Object? allocation_state = freezed,Object? date = freezed,Object? role = freezed,Object? steward_temp_key = freezed,Object? approved_price_status = freezed,Object? calculate_status = freezed,Object? temporary_trash = freezed,Object? temporary_deleted = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? ware_house = freezed,Object? steward_ware_house = freezed,Object? car = freezed,Object? dispenser = freezed,}) {
+ return _then(_AllocatedMadeResult(
+id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
+as int?,product: freezed == product ? _self.product : product // ignore: cast_nullable_to_non_nullable
+as Product?,kill_house: freezed == kill_house ? _self.kill_house : kill_house // ignore: cast_nullable_to_non_nullable
+as dynamic,to_kill_house: freezed == to_kill_house ? _self.to_kill_house : to_kill_house // ignore: cast_nullable_to_non_nullable
+as dynamic,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
+as Steward?,to_steward: freezed == to_steward ? _self.to_steward : to_steward // ignore: cast_nullable_to_non_nullable
+as dynamic,guilds: freezed == guilds ? _self.guilds : guilds // ignore: cast_nullable_to_non_nullable
+as dynamic,to_guilds: freezed == to_guilds ? _self.to_guilds : to_guilds // ignore: cast_nullable_to_non_nullable
+as Steward?,to_cold_house: freezed == to_cold_house ? _self.to_cold_house : to_cold_house // ignore: cast_nullable_to_non_nullable
+as dynamic,index_weight: freezed == index_weight ? _self.index_weight : index_weight // ignore: cast_nullable_to_non_nullable
+as int?,date_timestamp: freezed == date_timestamp ? _self.date_timestamp : date_timestamp // ignore: cast_nullable_to_non_nullable
+as int?,new_state: freezed == new_state ? _self.new_state : new_state // ignore: cast_nullable_to_non_nullable
+as int?,new_receiver_state: freezed == new_receiver_state ? _self.new_receiver_state : new_receiver_state // ignore: cast_nullable_to_non_nullable
+as int?,new_allocation_state: freezed == new_allocation_state ? _self.new_allocation_state : new_allocation_state // ignore: cast_nullable_to_non_nullable
+as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
+as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
+as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
+as bool?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,real_number_of_carcasses: freezed == real_number_of_carcasses ? _self.real_number_of_carcasses : real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,receiver_real_number_of_carcasses: freezed == receiver_real_number_of_carcasses ? _self.receiver_real_number_of_carcasses : receiver_real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,real_weight_of_carcasses: freezed == real_weight_of_carcasses ? _self.real_weight_of_carcasses : real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,receiver_real_weight_of_carcasses: freezed == receiver_real_weight_of_carcasses ? _self.receiver_real_weight_of_carcasses : receiver_real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,weight_loss_of_carcasses: freezed == weight_loss_of_carcasses ? _self.weight_loss_of_carcasses : weight_loss_of_carcasses // ignore: cast_nullable_to_non_nullable
+as int?,final_registration: freezed == final_registration ? _self.final_registration : final_registration // ignore: cast_nullable_to_non_nullable
+as bool?,sell_type: freezed == sell_type ? _self.sell_type : sell_type // ignore: cast_nullable_to_non_nullable
+as String?,product_name: freezed == product_name ? _self.product_name : product_name // ignore: cast_nullable_to_non_nullable
+as String?,seller_type: freezed == seller_type ? _self.seller_type : seller_type // ignore: cast_nullable_to_non_nullable
+as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
+as String?,sale_type: freezed == sale_type ? _self.sale_type : sale_type // ignore: cast_nullable_to_non_nullable
+as String?,allocation_type: freezed == allocation_type ? _self.allocation_type : allocation_type // ignore: cast_nullable_to_non_nullable
+as String?,system_registration_code: freezed == system_registration_code ? _self.system_registration_code : system_registration_code // ignore: cast_nullable_to_non_nullable
+as bool?,registration_code: freezed == registration_code ? _self.registration_code : registration_code // ignore: cast_nullable_to_non_nullable
+as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
+as int?,total_amount: freezed == total_amount ? _self.total_amount : total_amount // ignore: cast_nullable_to_non_nullable
+as int?,total_amount_paid: freezed == total_amount_paid ? _self.total_amount_paid : total_amount_paid // ignore: cast_nullable_to_non_nullable
+as int?,total_amount_remain: freezed == total_amount_remain ? _self.total_amount_remain : total_amount_remain // ignore: cast_nullable_to_non_nullable
+as int?,logged_registration_code: freezed == logged_registration_code ? _self.logged_registration_code : logged_registration_code // ignore: cast_nullable_to_non_nullable
+as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
+as String?,receiver_state: freezed == receiver_state ? _self.receiver_state : receiver_state // ignore: cast_nullable_to_non_nullable
+as String?,allocation_state: freezed == allocation_state ? _self.allocation_state : allocation_state // ignore: cast_nullable_to_non_nullable
+as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
+as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable
+as String?,steward_temp_key: freezed == steward_temp_key ? _self.steward_temp_key : steward_temp_key // ignore: cast_nullable_to_non_nullable
+as String?,approved_price_status: freezed == approved_price_status ? _self.approved_price_status : approved_price_status // ignore: cast_nullable_to_non_nullable
+as bool?,calculate_status: freezed == calculate_status ? _self.calculate_status : calculate_status // ignore: cast_nullable_to_non_nullable
+as bool?,temporary_trash: freezed == temporary_trash ? _self.temporary_trash : temporary_trash // ignore: cast_nullable_to_non_nullable
+as bool?,temporary_deleted: freezed == temporary_deleted ? _self.temporary_deleted : temporary_deleted // ignore: cast_nullable_to_non_nullable
+as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
+as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
+as String?,ware_house: freezed == ware_house ? _self.ware_house : ware_house // ignore: cast_nullable_to_non_nullable
+as dynamic,steward_ware_house: freezed == steward_ware_house ? _self.steward_ware_house : steward_ware_house // ignore: cast_nullable_to_non_nullable
+as dynamic,car: freezed == car ? _self.car : car // ignore: cast_nullable_to_non_nullable
+as dynamic,dispenser: freezed == dispenser ? _self.dispenser : dispenser // ignore: cast_nullable_to_non_nullable
+as dynamic,
+ ));
+}
+
+/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ProductCopyWith<$Res>? get product {
+ if (_self.product == null) {
+ return null;
+ }
+
+ return $ProductCopyWith<$Res>(_self.product!, (value) {
+ return _then(_self.copyWith(product: value));
+ });
+}/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$StewardCopyWith<$Res>? get steward {
+ if (_self.steward == null) {
+ return null;
+ }
+
+ return $StewardCopyWith<$Res>(_self.steward!, (value) {
+ return _then(_self.copyWith(steward: value));
+ });
+}/// Create a copy of AllocatedMadeResult
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$StewardCopyWith<$Res>? get to_guilds {
+ if (_self.to_guilds == null) {
+ return null;
+ }
+
+ return $StewardCopyWith<$Res>(_self.to_guilds!, (value) {
+ return _then(_self.copyWith(to_guilds: value));
+ });
+}
+}
+
+
+/// @nodoc
+mixin _$Product {
+
+ int? get weight_average;
+/// Create a copy of Product
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$ProductCopyWith get copyWith => _$ProductCopyWithImpl(this as Product, _$identity);
+
+ /// Serializes this Product to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is Product&&(identical(other.weight_average, weight_average) || other.weight_average == weight_average));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,weight_average);
+
+@override
+String toString() {
+ return 'Product(weight_average: $weight_average)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $ProductCopyWith<$Res> {
+ factory $ProductCopyWith(Product value, $Res Function(Product) _then) = _$ProductCopyWithImpl;
+@useResult
+$Res call({
+ int? weight_average
+});
+
+
+
+
+}
+/// @nodoc
+class _$ProductCopyWithImpl<$Res>
+ implements $ProductCopyWith<$Res> {
+ _$ProductCopyWithImpl(this._self, this._then);
+
+ final Product _self;
+ final $Res Function(Product) _then;
+
+/// Create a copy of Product
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? weight_average = freezed,}) {
+ return _then(_self.copyWith(
+weight_average: freezed == weight_average ? _self.weight_average : weight_average // ignore: cast_nullable_to_non_nullable
+as int?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _Product implements Product {
+ _Product({this.weight_average});
+ factory _Product.fromJson(Map json) => _$ProductFromJson(json);
+
+@override final int? weight_average;
+
+/// Create a copy of Product
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$ProductCopyWith<_Product> get copyWith => __$ProductCopyWithImpl<_Product>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$ProductToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _Product&&(identical(other.weight_average, weight_average) || other.weight_average == weight_average));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,weight_average);
+
+@override
+String toString() {
+ return 'Product(weight_average: $weight_average)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$ProductCopyWith<$Res> implements $ProductCopyWith<$Res> {
+ factory _$ProductCopyWith(_Product value, $Res Function(_Product) _then) = __$ProductCopyWithImpl;
+@override @useResult
+$Res call({
+ int? weight_average
+});
+
+
+
+
+}
+/// @nodoc
+class __$ProductCopyWithImpl<$Res>
+ implements _$ProductCopyWith<$Res> {
+ __$ProductCopyWithImpl(this._self, this._then);
+
+ final _Product _self;
+ final $Res Function(_Product) _then;
+
+/// Create a copy of Product
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? weight_average = freezed,}) {
+ return _then(_Product(
+weight_average: freezed == weight_average ? _self.weight_average : weight_average // ignore: cast_nullable_to_non_nullable
+as int?,
+ ));
+}
+
+
+}
+
+
+/// @nodoc
+mixin _$Steward {
+
+ int? get id; User? get user; Address? get address; Activity? get guild_area_activity; Activity? get guild_type_activity; List? get kill_house; List? get steward_kill_house; List? get stewards; PosStatus? get get_pos_status; String? get key; String? get create_date; String? get modify_date; bool? get trash; dynamic get user_id_foreign_key; dynamic get address_id_foreign_key; dynamic get user_bank_id_foreign_key; dynamic get wallet_id_foreign_key; dynamic get provincial_government_id_key; dynamic get identity_documents; bool? get active; int? get city_number; String? get city_name; String? get guilds_id; String? get license_number; String? get guilds_name; String? get phone; String? get type_activity; String? get area_activity; int? get province_number; String? get province_name; bool? get steward; bool? get has_pos; dynamic get centers_allocation; dynamic get kill_house_centers_allocation; dynamic get allocation_limit; bool? get limitation_allocation; String? get registerar_role; String? get registerar_fullname; String? get registerar_mobile; bool? get kill_house_register; bool? get steward_register; bool? get guilds_room_register; bool? get pos_company_register; String? get province_accept_state; String? get province_message; String? get condition; String? get description_condition; bool? get steward_active; dynamic get steward_allocation_limit; bool? get steward_limitation_allocation; bool? get license; dynamic get license_form; dynamic get license_file; String? get reviewer_role; String? get reviewer_fullname; String? get reviewer_mobile; String? get checker_message; bool? get final_accept; bool? get temporary_registration; String? get created_by; String? get modified_by; dynamic get user_bank_info; int? get wallet; List? get cars; List? get user_level;
+/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$StewardCopyWith get copyWith => _$StewardCopyWithImpl(this as Steward, _$identity);
+
+ /// Serializes this Steward to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is Steward&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.address, address) || other.address == address)&&(identical(other.guild_area_activity, guild_area_activity) || other.guild_area_activity == guild_area_activity)&&(identical(other.guild_type_activity, guild_type_activity) || other.guild_type_activity == guild_type_activity)&&const DeepCollectionEquality().equals(other.kill_house, kill_house)&&const DeepCollectionEquality().equals(other.steward_kill_house, steward_kill_house)&&const DeepCollectionEquality().equals(other.stewards, stewards)&&(identical(other.get_pos_status, get_pos_status) || other.get_pos_status == get_pos_status)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&const DeepCollectionEquality().equals(other.user_id_foreign_key, user_id_foreign_key)&&const DeepCollectionEquality().equals(other.address_id_foreign_key, address_id_foreign_key)&&const DeepCollectionEquality().equals(other.user_bank_id_foreign_key, user_bank_id_foreign_key)&&const DeepCollectionEquality().equals(other.wallet_id_foreign_key, wallet_id_foreign_key)&&const DeepCollectionEquality().equals(other.provincial_government_id_key, provincial_government_id_key)&&const DeepCollectionEquality().equals(other.identity_documents, identity_documents)&&(identical(other.active, active) || other.active == active)&&(identical(other.city_number, city_number) || other.city_number == city_number)&&(identical(other.city_name, city_name) || other.city_name == city_name)&&(identical(other.guilds_id, guilds_id) || other.guilds_id == guilds_id)&&(identical(other.license_number, license_number) || other.license_number == license_number)&&(identical(other.guilds_name, guilds_name) || other.guilds_name == guilds_name)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.type_activity, type_activity) || other.type_activity == type_activity)&&(identical(other.area_activity, area_activity) || other.area_activity == area_activity)&&(identical(other.province_number, province_number) || other.province_number == province_number)&&(identical(other.province_name, province_name) || other.province_name == province_name)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.has_pos, has_pos) || other.has_pos == has_pos)&&const DeepCollectionEquality().equals(other.centers_allocation, centers_allocation)&&const DeepCollectionEquality().equals(other.kill_house_centers_allocation, kill_house_centers_allocation)&&const DeepCollectionEquality().equals(other.allocation_limit, allocation_limit)&&(identical(other.limitation_allocation, limitation_allocation) || other.limitation_allocation == limitation_allocation)&&(identical(other.registerar_role, registerar_role) || other.registerar_role == registerar_role)&&(identical(other.registerar_fullname, registerar_fullname) || other.registerar_fullname == registerar_fullname)&&(identical(other.registerar_mobile, registerar_mobile) || other.registerar_mobile == registerar_mobile)&&(identical(other.kill_house_register, kill_house_register) || other.kill_house_register == kill_house_register)&&(identical(other.steward_register, steward_register) || other.steward_register == steward_register)&&(identical(other.guilds_room_register, guilds_room_register) || other.guilds_room_register == guilds_room_register)&&(identical(other.pos_company_register, pos_company_register) || other.pos_company_register == pos_company_register)&&(identical(other.province_accept_state, province_accept_state) || other.province_accept_state == province_accept_state)&&(identical(other.province_message, province_message) || other.province_message == province_message)&&(identical(other.condition, condition) || other.condition == condition)&&(identical(other.description_condition, description_condition) || other.description_condition == description_condition)&&(identical(other.steward_active, steward_active) || other.steward_active == steward_active)&&const DeepCollectionEquality().equals(other.steward_allocation_limit, steward_allocation_limit)&&(identical(other.steward_limitation_allocation, steward_limitation_allocation) || other.steward_limitation_allocation == steward_limitation_allocation)&&(identical(other.license, license) || other.license == license)&&const DeepCollectionEquality().equals(other.license_form, license_form)&&const DeepCollectionEquality().equals(other.license_file, license_file)&&(identical(other.reviewer_role, reviewer_role) || other.reviewer_role == reviewer_role)&&(identical(other.reviewer_fullname, reviewer_fullname) || other.reviewer_fullname == reviewer_fullname)&&(identical(other.reviewer_mobile, reviewer_mobile) || other.reviewer_mobile == reviewer_mobile)&&(identical(other.checker_message, checker_message) || other.checker_message == checker_message)&&(identical(other.final_accept, final_accept) || other.final_accept == final_accept)&&(identical(other.temporary_registration, temporary_registration) || other.temporary_registration == temporary_registration)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.user_bank_info, user_bank_info)&&(identical(other.wallet, wallet) || other.wallet == wallet)&&const DeepCollectionEquality().equals(other.cars, cars)&&const DeepCollectionEquality().equals(other.user_level, user_level));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hashAll([runtimeType,id,user,address,guild_area_activity,guild_type_activity,const DeepCollectionEquality().hash(kill_house),const DeepCollectionEquality().hash(steward_kill_house),const DeepCollectionEquality().hash(stewards),get_pos_status,key,create_date,modify_date,trash,const DeepCollectionEquality().hash(user_id_foreign_key),const DeepCollectionEquality().hash(address_id_foreign_key),const DeepCollectionEquality().hash(user_bank_id_foreign_key),const DeepCollectionEquality().hash(wallet_id_foreign_key),const DeepCollectionEquality().hash(provincial_government_id_key),const DeepCollectionEquality().hash(identity_documents),active,city_number,city_name,guilds_id,license_number,guilds_name,phone,type_activity,area_activity,province_number,province_name,steward,has_pos,const DeepCollectionEquality().hash(centers_allocation),const DeepCollectionEquality().hash(kill_house_centers_allocation),const DeepCollectionEquality().hash(allocation_limit),limitation_allocation,registerar_role,registerar_fullname,registerar_mobile,kill_house_register,steward_register,guilds_room_register,pos_company_register,province_accept_state,province_message,condition,description_condition,steward_active,const DeepCollectionEquality().hash(steward_allocation_limit),steward_limitation_allocation,license,const DeepCollectionEquality().hash(license_form),const DeepCollectionEquality().hash(license_file),reviewer_role,reviewer_fullname,reviewer_mobile,checker_message,final_accept,temporary_registration,created_by,modified_by,const DeepCollectionEquality().hash(user_bank_info),wallet,const DeepCollectionEquality().hash(cars),const DeepCollectionEquality().hash(user_level)]);
+
+@override
+String toString() {
+ return 'Steward(id: $id, user: $user, address: $address, guild_area_activity: $guild_area_activity, guild_type_activity: $guild_type_activity, kill_house: $kill_house, steward_kill_house: $steward_kill_house, stewards: $stewards, get_pos_status: $get_pos_status, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, user_id_foreign_key: $user_id_foreign_key, address_id_foreign_key: $address_id_foreign_key, user_bank_id_foreign_key: $user_bank_id_foreign_key, wallet_id_foreign_key: $wallet_id_foreign_key, provincial_government_id_key: $provincial_government_id_key, identity_documents: $identity_documents, active: $active, city_number: $city_number, city_name: $city_name, guilds_id: $guilds_id, license_number: $license_number, guilds_name: $guilds_name, phone: $phone, type_activity: $type_activity, area_activity: $area_activity, province_number: $province_number, province_name: $province_name, steward: $steward, has_pos: $has_pos, centers_allocation: $centers_allocation, kill_house_centers_allocation: $kill_house_centers_allocation, allocation_limit: $allocation_limit, limitation_allocation: $limitation_allocation, registerar_role: $registerar_role, registerar_fullname: $registerar_fullname, registerar_mobile: $registerar_mobile, kill_house_register: $kill_house_register, steward_register: $steward_register, guilds_room_register: $guilds_room_register, pos_company_register: $pos_company_register, province_accept_state: $province_accept_state, province_message: $province_message, condition: $condition, description_condition: $description_condition, steward_active: $steward_active, steward_allocation_limit: $steward_allocation_limit, steward_limitation_allocation: $steward_limitation_allocation, license: $license, license_form: $license_form, license_file: $license_file, reviewer_role: $reviewer_role, reviewer_fullname: $reviewer_fullname, reviewer_mobile: $reviewer_mobile, checker_message: $checker_message, final_accept: $final_accept, temporary_registration: $temporary_registration, created_by: $created_by, modified_by: $modified_by, user_bank_info: $user_bank_info, wallet: $wallet, cars: $cars, user_level: $user_level)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $StewardCopyWith<$Res> {
+ factory $StewardCopyWith(Steward value, $Res Function(Steward) _then) = _$StewardCopyWithImpl;
+@useResult
+$Res call({
+ int? id, User? user, Address? address, Activity? guild_area_activity, Activity? guild_type_activity, List? kill_house, List? steward_kill_house, List? stewards, PosStatus? get_pos_status, String? key, String? create_date, String? modify_date, bool? trash, dynamic user_id_foreign_key, dynamic address_id_foreign_key, dynamic user_bank_id_foreign_key, dynamic wallet_id_foreign_key, dynamic provincial_government_id_key, dynamic identity_documents, bool? active, int? city_number, String? city_name, String? guilds_id, String? license_number, String? guilds_name, String? phone, String? type_activity, String? area_activity, int? province_number, String? province_name, bool? steward, bool? has_pos, dynamic centers_allocation, dynamic kill_house_centers_allocation, dynamic allocation_limit, bool? limitation_allocation, String? registerar_role, String? registerar_fullname, String? registerar_mobile, bool? kill_house_register, bool? steward_register, bool? guilds_room_register, bool? pos_company_register, String? province_accept_state, String? province_message, String? condition, String? description_condition, bool? steward_active, dynamic steward_allocation_limit, bool? steward_limitation_allocation, bool? license, dynamic license_form, dynamic license_file, String? reviewer_role, String? reviewer_fullname, String? reviewer_mobile, String? checker_message, bool? final_accept, bool? temporary_registration, String? created_by, String? modified_by, dynamic user_bank_info, int? wallet, List? cars, List? user_level
+});
+
+
+$UserCopyWith<$Res>? get user;$AddressCopyWith<$Res>? get address;$ActivityCopyWith<$Res>? get guild_area_activity;$ActivityCopyWith<$Res>? get guild_type_activity;$PosStatusCopyWith<$Res>? get get_pos_status;
+
+}
+/// @nodoc
+class _$StewardCopyWithImpl<$Res>
+ implements $StewardCopyWith<$Res> {
+ _$StewardCopyWithImpl(this._self, this._then);
+
+ final Steward _self;
+ final $Res Function(Steward) _then;
+
+/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? user = freezed,Object? address = freezed,Object? guild_area_activity = freezed,Object? guild_type_activity = freezed,Object? kill_house = freezed,Object? steward_kill_house = freezed,Object? stewards = freezed,Object? get_pos_status = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? user_id_foreign_key = freezed,Object? address_id_foreign_key = freezed,Object? user_bank_id_foreign_key = freezed,Object? wallet_id_foreign_key = freezed,Object? provincial_government_id_key = freezed,Object? identity_documents = freezed,Object? active = freezed,Object? city_number = freezed,Object? city_name = freezed,Object? guilds_id = freezed,Object? license_number = freezed,Object? guilds_name = freezed,Object? phone = freezed,Object? type_activity = freezed,Object? area_activity = freezed,Object? province_number = freezed,Object? province_name = freezed,Object? steward = freezed,Object? has_pos = freezed,Object? centers_allocation = freezed,Object? kill_house_centers_allocation = freezed,Object? allocation_limit = freezed,Object? limitation_allocation = freezed,Object? registerar_role = freezed,Object? registerar_fullname = freezed,Object? registerar_mobile = freezed,Object? kill_house_register = freezed,Object? steward_register = freezed,Object? guilds_room_register = freezed,Object? pos_company_register = freezed,Object? province_accept_state = freezed,Object? province_message = freezed,Object? condition = freezed,Object? description_condition = freezed,Object? steward_active = freezed,Object? steward_allocation_limit = freezed,Object? steward_limitation_allocation = freezed,Object? license = freezed,Object? license_form = freezed,Object? license_file = freezed,Object? reviewer_role = freezed,Object? reviewer_fullname = freezed,Object? reviewer_mobile = freezed,Object? checker_message = freezed,Object? final_accept = freezed,Object? temporary_registration = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? user_bank_info = freezed,Object? wallet = freezed,Object? cars = freezed,Object? user_level = freezed,}) {
+ return _then(_self.copyWith(
+id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
+as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
+as User?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
+as Address?,guild_area_activity: freezed == guild_area_activity ? _self.guild_area_activity : guild_area_activity // ignore: cast_nullable_to_non_nullable
+as Activity?,guild_type_activity: freezed == guild_type_activity ? _self.guild_type_activity : guild_type_activity // ignore: cast_nullable_to_non_nullable
+as Activity?,kill_house: freezed == kill_house ? _self.kill_house : kill_house // ignore: cast_nullable_to_non_nullable
+as List?,steward_kill_house: freezed == steward_kill_house ? _self.steward_kill_house : steward_kill_house // ignore: cast_nullable_to_non_nullable
+as List?,stewards: freezed == stewards ? _self.stewards : stewards // ignore: cast_nullable_to_non_nullable
+as List?,get_pos_status: freezed == get_pos_status ? _self.get_pos_status : get_pos_status // ignore: cast_nullable_to_non_nullable
+as PosStatus?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
+as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
+as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
+as bool?,user_id_foreign_key: freezed == user_id_foreign_key ? _self.user_id_foreign_key : user_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,address_id_foreign_key: freezed == address_id_foreign_key ? _self.address_id_foreign_key : address_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,user_bank_id_foreign_key: freezed == user_bank_id_foreign_key ? _self.user_bank_id_foreign_key : user_bank_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,wallet_id_foreign_key: freezed == wallet_id_foreign_key ? _self.wallet_id_foreign_key : wallet_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,provincial_government_id_key: freezed == provincial_government_id_key ? _self.provincial_government_id_key : provincial_government_id_key // ignore: cast_nullable_to_non_nullable
+as dynamic,identity_documents: freezed == identity_documents ? _self.identity_documents : identity_documents // ignore: cast_nullable_to_non_nullable
+as dynamic,active: freezed == active ? _self.active : active // ignore: cast_nullable_to_non_nullable
+as bool?,city_number: freezed == city_number ? _self.city_number : city_number // ignore: cast_nullable_to_non_nullable
+as int?,city_name: freezed == city_name ? _self.city_name : city_name // ignore: cast_nullable_to_non_nullable
+as String?,guilds_id: freezed == guilds_id ? _self.guilds_id : guilds_id // ignore: cast_nullable_to_non_nullable
+as String?,license_number: freezed == license_number ? _self.license_number : license_number // ignore: cast_nullable_to_non_nullable
+as String?,guilds_name: freezed == guilds_name ? _self.guilds_name : guilds_name // ignore: cast_nullable_to_non_nullable
+as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
+as String?,type_activity: freezed == type_activity ? _self.type_activity : type_activity // ignore: cast_nullable_to_non_nullable
+as String?,area_activity: freezed == area_activity ? _self.area_activity : area_activity // ignore: cast_nullable_to_non_nullable
+as String?,province_number: freezed == province_number ? _self.province_number : province_number // ignore: cast_nullable_to_non_nullable
+as int?,province_name: freezed == province_name ? _self.province_name : province_name // ignore: cast_nullable_to_non_nullable
+as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
+as bool?,has_pos: freezed == has_pos ? _self.has_pos : has_pos // ignore: cast_nullable_to_non_nullable
+as bool?,centers_allocation: freezed == centers_allocation ? _self.centers_allocation : centers_allocation // ignore: cast_nullable_to_non_nullable
+as dynamic,kill_house_centers_allocation: freezed == kill_house_centers_allocation ? _self.kill_house_centers_allocation : kill_house_centers_allocation // ignore: cast_nullable_to_non_nullable
+as dynamic,allocation_limit: freezed == allocation_limit ? _self.allocation_limit : allocation_limit // ignore: cast_nullable_to_non_nullable
+as dynamic,limitation_allocation: freezed == limitation_allocation ? _self.limitation_allocation : limitation_allocation // ignore: cast_nullable_to_non_nullable
+as bool?,registerar_role: freezed == registerar_role ? _self.registerar_role : registerar_role // ignore: cast_nullable_to_non_nullable
+as String?,registerar_fullname: freezed == registerar_fullname ? _self.registerar_fullname : registerar_fullname // ignore: cast_nullable_to_non_nullable
+as String?,registerar_mobile: freezed == registerar_mobile ? _self.registerar_mobile : registerar_mobile // ignore: cast_nullable_to_non_nullable
+as String?,kill_house_register: freezed == kill_house_register ? _self.kill_house_register : kill_house_register // ignore: cast_nullable_to_non_nullable
+as bool?,steward_register: freezed == steward_register ? _self.steward_register : steward_register // ignore: cast_nullable_to_non_nullable
+as bool?,guilds_room_register: freezed == guilds_room_register ? _self.guilds_room_register : guilds_room_register // ignore: cast_nullable_to_non_nullable
+as bool?,pos_company_register: freezed == pos_company_register ? _self.pos_company_register : pos_company_register // ignore: cast_nullable_to_non_nullable
+as bool?,province_accept_state: freezed == province_accept_state ? _self.province_accept_state : province_accept_state // ignore: cast_nullable_to_non_nullable
+as String?,province_message: freezed == province_message ? _self.province_message : province_message // ignore: cast_nullable_to_non_nullable
+as String?,condition: freezed == condition ? _self.condition : condition // ignore: cast_nullable_to_non_nullable
+as String?,description_condition: freezed == description_condition ? _self.description_condition : description_condition // ignore: cast_nullable_to_non_nullable
+as String?,steward_active: freezed == steward_active ? _self.steward_active : steward_active // ignore: cast_nullable_to_non_nullable
+as bool?,steward_allocation_limit: freezed == steward_allocation_limit ? _self.steward_allocation_limit : steward_allocation_limit // ignore: cast_nullable_to_non_nullable
+as dynamic,steward_limitation_allocation: freezed == steward_limitation_allocation ? _self.steward_limitation_allocation : steward_limitation_allocation // ignore: cast_nullable_to_non_nullable
+as bool?,license: freezed == license ? _self.license : license // ignore: cast_nullable_to_non_nullable
+as bool?,license_form: freezed == license_form ? _self.license_form : license_form // ignore: cast_nullable_to_non_nullable
+as dynamic,license_file: freezed == license_file ? _self.license_file : license_file // ignore: cast_nullable_to_non_nullable
+as dynamic,reviewer_role: freezed == reviewer_role ? _self.reviewer_role : reviewer_role // ignore: cast_nullable_to_non_nullable
+as String?,reviewer_fullname: freezed == reviewer_fullname ? _self.reviewer_fullname : reviewer_fullname // ignore: cast_nullable_to_non_nullable
+as String?,reviewer_mobile: freezed == reviewer_mobile ? _self.reviewer_mobile : reviewer_mobile // ignore: cast_nullable_to_non_nullable
+as String?,checker_message: freezed == checker_message ? _self.checker_message : checker_message // ignore: cast_nullable_to_non_nullable
+as String?,final_accept: freezed == final_accept ? _self.final_accept : final_accept // ignore: cast_nullable_to_non_nullable
+as bool?,temporary_registration: freezed == temporary_registration ? _self.temporary_registration : temporary_registration // ignore: cast_nullable_to_non_nullable
+as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
+as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
+as String?,user_bank_info: freezed == user_bank_info ? _self.user_bank_info : user_bank_info // ignore: cast_nullable_to_non_nullable
+as dynamic,wallet: freezed == wallet ? _self.wallet : wallet // ignore: cast_nullable_to_non_nullable
+as int?,cars: freezed == cars ? _self.cars : cars // ignore: cast_nullable_to_non_nullable
+as List?,user_level: freezed == user_level ? _self.user_level : user_level // ignore: cast_nullable_to_non_nullable
+as List?,
+ ));
+}
+/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$UserCopyWith<$Res>? get user {
+ if (_self.user == null) {
+ return null;
+ }
+
+ return $UserCopyWith<$Res>(_self.user!, (value) {
+ return _then(_self.copyWith(user: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$AddressCopyWith<$Res>? get address {
+ if (_self.address == null) {
+ return null;
+ }
+
+ return $AddressCopyWith<$Res>(_self.address!, (value) {
+ return _then(_self.copyWith(address: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ActivityCopyWith<$Res>? get guild_area_activity {
+ if (_self.guild_area_activity == null) {
+ return null;
+ }
+
+ return $ActivityCopyWith<$Res>(_self.guild_area_activity!, (value) {
+ return _then(_self.copyWith(guild_area_activity: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ActivityCopyWith<$Res>? get guild_type_activity {
+ if (_self.guild_type_activity == null) {
+ return null;
+ }
+
+ return $ActivityCopyWith<$Res>(_self.guild_type_activity!, (value) {
+ return _then(_self.copyWith(guild_type_activity: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$PosStatusCopyWith<$Res>? get get_pos_status {
+ if (_self.get_pos_status == null) {
+ return null;
+ }
+
+ return $PosStatusCopyWith<$Res>(_self.get_pos_status!, (value) {
+ return _then(_self.copyWith(get_pos_status: value));
+ });
+}
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _Steward implements Steward {
+ _Steward({this.id, this.user, this.address, this.guild_area_activity, this.guild_type_activity, final List? kill_house, final List? steward_kill_house, final List? stewards, this.get_pos_status, this.key, this.create_date, this.modify_date, this.trash, this.user_id_foreign_key, this.address_id_foreign_key, this.user_bank_id_foreign_key, this.wallet_id_foreign_key, this.provincial_government_id_key, this.identity_documents, this.active, this.city_number, this.city_name, this.guilds_id, this.license_number, this.guilds_name, this.phone, this.type_activity, this.area_activity, this.province_number, this.province_name, this.steward, this.has_pos, this.centers_allocation, this.kill_house_centers_allocation, this.allocation_limit, this.limitation_allocation, this.registerar_role, this.registerar_fullname, this.registerar_mobile, this.kill_house_register, this.steward_register, this.guilds_room_register, this.pos_company_register, this.province_accept_state, this.province_message, this.condition, this.description_condition, this.steward_active, this.steward_allocation_limit, this.steward_limitation_allocation, this.license, this.license_form, this.license_file, this.reviewer_role, this.reviewer_fullname, this.reviewer_mobile, this.checker_message, this.final_accept, this.temporary_registration, this.created_by, this.modified_by, this.user_bank_info, this.wallet, final List? cars, final List? user_level}): _kill_house = kill_house,_steward_kill_house = steward_kill_house,_stewards = stewards,_cars = cars,_user_level = user_level;
+ factory _Steward.fromJson(Map json) => _$StewardFromJson(json);
+
+@override final int? id;
+@override final User? user;
+@override final Address? address;
+@override final Activity? guild_area_activity;
+@override final Activity? guild_type_activity;
+ final List? _kill_house;
+@override List? get kill_house {
+ final value = _kill_house;
+ if (value == null) return null;
+ if (_kill_house is EqualUnmodifiableListView) return _kill_house;
+ // ignore: implicit_dynamic_type
+ return EqualUnmodifiableListView(value);
+}
+
+ final List? _steward_kill_house;
+@override List? get steward_kill_house {
+ final value = _steward_kill_house;
+ if (value == null) return null;
+ if (_steward_kill_house is EqualUnmodifiableListView) return _steward_kill_house;
+ // ignore: implicit_dynamic_type
+ return EqualUnmodifiableListView(value);
+}
+
+ final List? _stewards;
+@override List? get stewards {
+ final value = _stewards;
+ if (value == null) return null;
+ if (_stewards is EqualUnmodifiableListView) return _stewards;
+ // ignore: implicit_dynamic_type
+ return EqualUnmodifiableListView(value);
+}
+
+@override final PosStatus? get_pos_status;
+@override final String? key;
+@override final String? create_date;
+@override final String? modify_date;
+@override final bool? trash;
+@override final dynamic user_id_foreign_key;
+@override final dynamic address_id_foreign_key;
+@override final dynamic user_bank_id_foreign_key;
+@override final dynamic wallet_id_foreign_key;
+@override final dynamic provincial_government_id_key;
+@override final dynamic identity_documents;
+@override final bool? active;
+@override final int? city_number;
+@override final String? city_name;
+@override final String? guilds_id;
+@override final String? license_number;
+@override final String? guilds_name;
+@override final String? phone;
+@override final String? type_activity;
+@override final String? area_activity;
+@override final int? province_number;
+@override final String? province_name;
+@override final bool? steward;
+@override final bool? has_pos;
+@override final dynamic centers_allocation;
+@override final dynamic kill_house_centers_allocation;
+@override final dynamic allocation_limit;
+@override final bool? limitation_allocation;
+@override final String? registerar_role;
+@override final String? registerar_fullname;
+@override final String? registerar_mobile;
+@override final bool? kill_house_register;
+@override final bool? steward_register;
+@override final bool? guilds_room_register;
+@override final bool? pos_company_register;
+@override final String? province_accept_state;
+@override final String? province_message;
+@override final String? condition;
+@override final String? description_condition;
+@override final bool? steward_active;
+@override final dynamic steward_allocation_limit;
+@override final bool? steward_limitation_allocation;
+@override final bool? license;
+@override final dynamic license_form;
+@override final dynamic license_file;
+@override final String? reviewer_role;
+@override final String? reviewer_fullname;
+@override final String? reviewer_mobile;
+@override final String? checker_message;
+@override final bool? final_accept;
+@override final bool? temporary_registration;
+@override final String? created_by;
+@override final String? modified_by;
+@override final dynamic user_bank_info;
+@override final int? wallet;
+ final List? _cars;
+@override List? get cars {
+ final value = _cars;
+ if (value == null) return null;
+ if (_cars is EqualUnmodifiableListView) return _cars;
+ // ignore: implicit_dynamic_type
+ return EqualUnmodifiableListView(value);
+}
+
+ final List? _user_level;
+@override List? get user_level {
+ final value = _user_level;
+ if (value == null) return null;
+ if (_user_level is EqualUnmodifiableListView) return _user_level;
+ // ignore: implicit_dynamic_type
+ return EqualUnmodifiableListView(value);
+}
+
+
+/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$StewardCopyWith<_Steward> get copyWith => __$StewardCopyWithImpl<_Steward>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$StewardToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _Steward&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.address, address) || other.address == address)&&(identical(other.guild_area_activity, guild_area_activity) || other.guild_area_activity == guild_area_activity)&&(identical(other.guild_type_activity, guild_type_activity) || other.guild_type_activity == guild_type_activity)&&const DeepCollectionEquality().equals(other._kill_house, _kill_house)&&const DeepCollectionEquality().equals(other._steward_kill_house, _steward_kill_house)&&const DeepCollectionEquality().equals(other._stewards, _stewards)&&(identical(other.get_pos_status, get_pos_status) || other.get_pos_status == get_pos_status)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&const DeepCollectionEquality().equals(other.user_id_foreign_key, user_id_foreign_key)&&const DeepCollectionEquality().equals(other.address_id_foreign_key, address_id_foreign_key)&&const DeepCollectionEquality().equals(other.user_bank_id_foreign_key, user_bank_id_foreign_key)&&const DeepCollectionEquality().equals(other.wallet_id_foreign_key, wallet_id_foreign_key)&&const DeepCollectionEquality().equals(other.provincial_government_id_key, provincial_government_id_key)&&const DeepCollectionEquality().equals(other.identity_documents, identity_documents)&&(identical(other.active, active) || other.active == active)&&(identical(other.city_number, city_number) || other.city_number == city_number)&&(identical(other.city_name, city_name) || other.city_name == city_name)&&(identical(other.guilds_id, guilds_id) || other.guilds_id == guilds_id)&&(identical(other.license_number, license_number) || other.license_number == license_number)&&(identical(other.guilds_name, guilds_name) || other.guilds_name == guilds_name)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.type_activity, type_activity) || other.type_activity == type_activity)&&(identical(other.area_activity, area_activity) || other.area_activity == area_activity)&&(identical(other.province_number, province_number) || other.province_number == province_number)&&(identical(other.province_name, province_name) || other.province_name == province_name)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.has_pos, has_pos) || other.has_pos == has_pos)&&const DeepCollectionEquality().equals(other.centers_allocation, centers_allocation)&&const DeepCollectionEquality().equals(other.kill_house_centers_allocation, kill_house_centers_allocation)&&const DeepCollectionEquality().equals(other.allocation_limit, allocation_limit)&&(identical(other.limitation_allocation, limitation_allocation) || other.limitation_allocation == limitation_allocation)&&(identical(other.registerar_role, registerar_role) || other.registerar_role == registerar_role)&&(identical(other.registerar_fullname, registerar_fullname) || other.registerar_fullname == registerar_fullname)&&(identical(other.registerar_mobile, registerar_mobile) || other.registerar_mobile == registerar_mobile)&&(identical(other.kill_house_register, kill_house_register) || other.kill_house_register == kill_house_register)&&(identical(other.steward_register, steward_register) || other.steward_register == steward_register)&&(identical(other.guilds_room_register, guilds_room_register) || other.guilds_room_register == guilds_room_register)&&(identical(other.pos_company_register, pos_company_register) || other.pos_company_register == pos_company_register)&&(identical(other.province_accept_state, province_accept_state) || other.province_accept_state == province_accept_state)&&(identical(other.province_message, province_message) || other.province_message == province_message)&&(identical(other.condition, condition) || other.condition == condition)&&(identical(other.description_condition, description_condition) || other.description_condition == description_condition)&&(identical(other.steward_active, steward_active) || other.steward_active == steward_active)&&const DeepCollectionEquality().equals(other.steward_allocation_limit, steward_allocation_limit)&&(identical(other.steward_limitation_allocation, steward_limitation_allocation) || other.steward_limitation_allocation == steward_limitation_allocation)&&(identical(other.license, license) || other.license == license)&&const DeepCollectionEquality().equals(other.license_form, license_form)&&const DeepCollectionEquality().equals(other.license_file, license_file)&&(identical(other.reviewer_role, reviewer_role) || other.reviewer_role == reviewer_role)&&(identical(other.reviewer_fullname, reviewer_fullname) || other.reviewer_fullname == reviewer_fullname)&&(identical(other.reviewer_mobile, reviewer_mobile) || other.reviewer_mobile == reviewer_mobile)&&(identical(other.checker_message, checker_message) || other.checker_message == checker_message)&&(identical(other.final_accept, final_accept) || other.final_accept == final_accept)&&(identical(other.temporary_registration, temporary_registration) || other.temporary_registration == temporary_registration)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.user_bank_info, user_bank_info)&&(identical(other.wallet, wallet) || other.wallet == wallet)&&const DeepCollectionEquality().equals(other._cars, _cars)&&const DeepCollectionEquality().equals(other._user_level, _user_level));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hashAll([runtimeType,id,user,address,guild_area_activity,guild_type_activity,const DeepCollectionEquality().hash(_kill_house),const DeepCollectionEquality().hash(_steward_kill_house),const DeepCollectionEquality().hash(_stewards),get_pos_status,key,create_date,modify_date,trash,const DeepCollectionEquality().hash(user_id_foreign_key),const DeepCollectionEquality().hash(address_id_foreign_key),const DeepCollectionEquality().hash(user_bank_id_foreign_key),const DeepCollectionEquality().hash(wallet_id_foreign_key),const DeepCollectionEquality().hash(provincial_government_id_key),const DeepCollectionEquality().hash(identity_documents),active,city_number,city_name,guilds_id,license_number,guilds_name,phone,type_activity,area_activity,province_number,province_name,steward,has_pos,const DeepCollectionEquality().hash(centers_allocation),const DeepCollectionEquality().hash(kill_house_centers_allocation),const DeepCollectionEquality().hash(allocation_limit),limitation_allocation,registerar_role,registerar_fullname,registerar_mobile,kill_house_register,steward_register,guilds_room_register,pos_company_register,province_accept_state,province_message,condition,description_condition,steward_active,const DeepCollectionEquality().hash(steward_allocation_limit),steward_limitation_allocation,license,const DeepCollectionEquality().hash(license_form),const DeepCollectionEquality().hash(license_file),reviewer_role,reviewer_fullname,reviewer_mobile,checker_message,final_accept,temporary_registration,created_by,modified_by,const DeepCollectionEquality().hash(user_bank_info),wallet,const DeepCollectionEquality().hash(_cars),const DeepCollectionEquality().hash(_user_level)]);
+
+@override
+String toString() {
+ return 'Steward(id: $id, user: $user, address: $address, guild_area_activity: $guild_area_activity, guild_type_activity: $guild_type_activity, kill_house: $kill_house, steward_kill_house: $steward_kill_house, stewards: $stewards, get_pos_status: $get_pos_status, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, user_id_foreign_key: $user_id_foreign_key, address_id_foreign_key: $address_id_foreign_key, user_bank_id_foreign_key: $user_bank_id_foreign_key, wallet_id_foreign_key: $wallet_id_foreign_key, provincial_government_id_key: $provincial_government_id_key, identity_documents: $identity_documents, active: $active, city_number: $city_number, city_name: $city_name, guilds_id: $guilds_id, license_number: $license_number, guilds_name: $guilds_name, phone: $phone, type_activity: $type_activity, area_activity: $area_activity, province_number: $province_number, province_name: $province_name, steward: $steward, has_pos: $has_pos, centers_allocation: $centers_allocation, kill_house_centers_allocation: $kill_house_centers_allocation, allocation_limit: $allocation_limit, limitation_allocation: $limitation_allocation, registerar_role: $registerar_role, registerar_fullname: $registerar_fullname, registerar_mobile: $registerar_mobile, kill_house_register: $kill_house_register, steward_register: $steward_register, guilds_room_register: $guilds_room_register, pos_company_register: $pos_company_register, province_accept_state: $province_accept_state, province_message: $province_message, condition: $condition, description_condition: $description_condition, steward_active: $steward_active, steward_allocation_limit: $steward_allocation_limit, steward_limitation_allocation: $steward_limitation_allocation, license: $license, license_form: $license_form, license_file: $license_file, reviewer_role: $reviewer_role, reviewer_fullname: $reviewer_fullname, reviewer_mobile: $reviewer_mobile, checker_message: $checker_message, final_accept: $final_accept, temporary_registration: $temporary_registration, created_by: $created_by, modified_by: $modified_by, user_bank_info: $user_bank_info, wallet: $wallet, cars: $cars, user_level: $user_level)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$StewardCopyWith<$Res> implements $StewardCopyWith<$Res> {
+ factory _$StewardCopyWith(_Steward value, $Res Function(_Steward) _then) = __$StewardCopyWithImpl;
+@override @useResult
+$Res call({
+ int? id, User? user, Address? address, Activity? guild_area_activity, Activity? guild_type_activity, List? kill_house, List? steward_kill_house, List? stewards, PosStatus? get_pos_status, String? key, String? create_date, String? modify_date, bool? trash, dynamic user_id_foreign_key, dynamic address_id_foreign_key, dynamic user_bank_id_foreign_key, dynamic wallet_id_foreign_key, dynamic provincial_government_id_key, dynamic identity_documents, bool? active, int? city_number, String? city_name, String? guilds_id, String? license_number, String? guilds_name, String? phone, String? type_activity, String? area_activity, int? province_number, String? province_name, bool? steward, bool? has_pos, dynamic centers_allocation, dynamic kill_house_centers_allocation, dynamic allocation_limit, bool? limitation_allocation, String? registerar_role, String? registerar_fullname, String? registerar_mobile, bool? kill_house_register, bool? steward_register, bool? guilds_room_register, bool? pos_company_register, String? province_accept_state, String? province_message, String? condition, String? description_condition, bool? steward_active, dynamic steward_allocation_limit, bool? steward_limitation_allocation, bool? license, dynamic license_form, dynamic license_file, String? reviewer_role, String? reviewer_fullname, String? reviewer_mobile, String? checker_message, bool? final_accept, bool? temporary_registration, String? created_by, String? modified_by, dynamic user_bank_info, int? wallet, List? cars, List? user_level
+});
+
+
+@override $UserCopyWith<$Res>? get user;@override $AddressCopyWith<$Res>? get address;@override $ActivityCopyWith<$Res>? get guild_area_activity;@override $ActivityCopyWith<$Res>? get guild_type_activity;@override $PosStatusCopyWith<$Res>? get get_pos_status;
+
+}
+/// @nodoc
+class __$StewardCopyWithImpl<$Res>
+ implements _$StewardCopyWith<$Res> {
+ __$StewardCopyWithImpl(this._self, this._then);
+
+ final _Steward _self;
+ final $Res Function(_Steward) _then;
+
+/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? user = freezed,Object? address = freezed,Object? guild_area_activity = freezed,Object? guild_type_activity = freezed,Object? kill_house = freezed,Object? steward_kill_house = freezed,Object? stewards = freezed,Object? get_pos_status = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? user_id_foreign_key = freezed,Object? address_id_foreign_key = freezed,Object? user_bank_id_foreign_key = freezed,Object? wallet_id_foreign_key = freezed,Object? provincial_government_id_key = freezed,Object? identity_documents = freezed,Object? active = freezed,Object? city_number = freezed,Object? city_name = freezed,Object? guilds_id = freezed,Object? license_number = freezed,Object? guilds_name = freezed,Object? phone = freezed,Object? type_activity = freezed,Object? area_activity = freezed,Object? province_number = freezed,Object? province_name = freezed,Object? steward = freezed,Object? has_pos = freezed,Object? centers_allocation = freezed,Object? kill_house_centers_allocation = freezed,Object? allocation_limit = freezed,Object? limitation_allocation = freezed,Object? registerar_role = freezed,Object? registerar_fullname = freezed,Object? registerar_mobile = freezed,Object? kill_house_register = freezed,Object? steward_register = freezed,Object? guilds_room_register = freezed,Object? pos_company_register = freezed,Object? province_accept_state = freezed,Object? province_message = freezed,Object? condition = freezed,Object? description_condition = freezed,Object? steward_active = freezed,Object? steward_allocation_limit = freezed,Object? steward_limitation_allocation = freezed,Object? license = freezed,Object? license_form = freezed,Object? license_file = freezed,Object? reviewer_role = freezed,Object? reviewer_fullname = freezed,Object? reviewer_mobile = freezed,Object? checker_message = freezed,Object? final_accept = freezed,Object? temporary_registration = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? user_bank_info = freezed,Object? wallet = freezed,Object? cars = freezed,Object? user_level = freezed,}) {
+ return _then(_Steward(
+id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
+as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
+as User?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
+as Address?,guild_area_activity: freezed == guild_area_activity ? _self.guild_area_activity : guild_area_activity // ignore: cast_nullable_to_non_nullable
+as Activity?,guild_type_activity: freezed == guild_type_activity ? _self.guild_type_activity : guild_type_activity // ignore: cast_nullable_to_non_nullable
+as Activity?,kill_house: freezed == kill_house ? _self._kill_house : kill_house // ignore: cast_nullable_to_non_nullable
+as List?,steward_kill_house: freezed == steward_kill_house ? _self._steward_kill_house : steward_kill_house // ignore: cast_nullable_to_non_nullable
+as List?,stewards: freezed == stewards ? _self._stewards : stewards // ignore: cast_nullable_to_non_nullable
+as List?,get_pos_status: freezed == get_pos_status ? _self.get_pos_status : get_pos_status // ignore: cast_nullable_to_non_nullable
+as PosStatus?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
+as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
+as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
+as bool?,user_id_foreign_key: freezed == user_id_foreign_key ? _self.user_id_foreign_key : user_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,address_id_foreign_key: freezed == address_id_foreign_key ? _self.address_id_foreign_key : address_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,user_bank_id_foreign_key: freezed == user_bank_id_foreign_key ? _self.user_bank_id_foreign_key : user_bank_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,wallet_id_foreign_key: freezed == wallet_id_foreign_key ? _self.wallet_id_foreign_key : wallet_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as dynamic,provincial_government_id_key: freezed == provincial_government_id_key ? _self.provincial_government_id_key : provincial_government_id_key // ignore: cast_nullable_to_non_nullable
+as dynamic,identity_documents: freezed == identity_documents ? _self.identity_documents : identity_documents // ignore: cast_nullable_to_non_nullable
+as dynamic,active: freezed == active ? _self.active : active // ignore: cast_nullable_to_non_nullable
+as bool?,city_number: freezed == city_number ? _self.city_number : city_number // ignore: cast_nullable_to_non_nullable
+as int?,city_name: freezed == city_name ? _self.city_name : city_name // ignore: cast_nullable_to_non_nullable
+as String?,guilds_id: freezed == guilds_id ? _self.guilds_id : guilds_id // ignore: cast_nullable_to_non_nullable
+as String?,license_number: freezed == license_number ? _self.license_number : license_number // ignore: cast_nullable_to_non_nullable
+as String?,guilds_name: freezed == guilds_name ? _self.guilds_name : guilds_name // ignore: cast_nullable_to_non_nullable
+as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
+as String?,type_activity: freezed == type_activity ? _self.type_activity : type_activity // ignore: cast_nullable_to_non_nullable
+as String?,area_activity: freezed == area_activity ? _self.area_activity : area_activity // ignore: cast_nullable_to_non_nullable
+as String?,province_number: freezed == province_number ? _self.province_number : province_number // ignore: cast_nullable_to_non_nullable
+as int?,province_name: freezed == province_name ? _self.province_name : province_name // ignore: cast_nullable_to_non_nullable
+as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
+as bool?,has_pos: freezed == has_pos ? _self.has_pos : has_pos // ignore: cast_nullable_to_non_nullable
+as bool?,centers_allocation: freezed == centers_allocation ? _self.centers_allocation : centers_allocation // ignore: cast_nullable_to_non_nullable
+as dynamic,kill_house_centers_allocation: freezed == kill_house_centers_allocation ? _self.kill_house_centers_allocation : kill_house_centers_allocation // ignore: cast_nullable_to_non_nullable
+as dynamic,allocation_limit: freezed == allocation_limit ? _self.allocation_limit : allocation_limit // ignore: cast_nullable_to_non_nullable
+as dynamic,limitation_allocation: freezed == limitation_allocation ? _self.limitation_allocation : limitation_allocation // ignore: cast_nullable_to_non_nullable
+as bool?,registerar_role: freezed == registerar_role ? _self.registerar_role : registerar_role // ignore: cast_nullable_to_non_nullable
+as String?,registerar_fullname: freezed == registerar_fullname ? _self.registerar_fullname : registerar_fullname // ignore: cast_nullable_to_non_nullable
+as String?,registerar_mobile: freezed == registerar_mobile ? _self.registerar_mobile : registerar_mobile // ignore: cast_nullable_to_non_nullable
+as String?,kill_house_register: freezed == kill_house_register ? _self.kill_house_register : kill_house_register // ignore: cast_nullable_to_non_nullable
+as bool?,steward_register: freezed == steward_register ? _self.steward_register : steward_register // ignore: cast_nullable_to_non_nullable
+as bool?,guilds_room_register: freezed == guilds_room_register ? _self.guilds_room_register : guilds_room_register // ignore: cast_nullable_to_non_nullable
+as bool?,pos_company_register: freezed == pos_company_register ? _self.pos_company_register : pos_company_register // ignore: cast_nullable_to_non_nullable
+as bool?,province_accept_state: freezed == province_accept_state ? _self.province_accept_state : province_accept_state // ignore: cast_nullable_to_non_nullable
+as String?,province_message: freezed == province_message ? _self.province_message : province_message // ignore: cast_nullable_to_non_nullable
+as String?,condition: freezed == condition ? _self.condition : condition // ignore: cast_nullable_to_non_nullable
+as String?,description_condition: freezed == description_condition ? _self.description_condition : description_condition // ignore: cast_nullable_to_non_nullable
+as String?,steward_active: freezed == steward_active ? _self.steward_active : steward_active // ignore: cast_nullable_to_non_nullable
+as bool?,steward_allocation_limit: freezed == steward_allocation_limit ? _self.steward_allocation_limit : steward_allocation_limit // ignore: cast_nullable_to_non_nullable
+as dynamic,steward_limitation_allocation: freezed == steward_limitation_allocation ? _self.steward_limitation_allocation : steward_limitation_allocation // ignore: cast_nullable_to_non_nullable
+as bool?,license: freezed == license ? _self.license : license // ignore: cast_nullable_to_non_nullable
+as bool?,license_form: freezed == license_form ? _self.license_form : license_form // ignore: cast_nullable_to_non_nullable
+as dynamic,license_file: freezed == license_file ? _self.license_file : license_file // ignore: cast_nullable_to_non_nullable
+as dynamic,reviewer_role: freezed == reviewer_role ? _self.reviewer_role : reviewer_role // ignore: cast_nullable_to_non_nullable
+as String?,reviewer_fullname: freezed == reviewer_fullname ? _self.reviewer_fullname : reviewer_fullname // ignore: cast_nullable_to_non_nullable
+as String?,reviewer_mobile: freezed == reviewer_mobile ? _self.reviewer_mobile : reviewer_mobile // ignore: cast_nullable_to_non_nullable
+as String?,checker_message: freezed == checker_message ? _self.checker_message : checker_message // ignore: cast_nullable_to_non_nullable
+as String?,final_accept: freezed == final_accept ? _self.final_accept : final_accept // ignore: cast_nullable_to_non_nullable
+as bool?,temporary_registration: freezed == temporary_registration ? _self.temporary_registration : temporary_registration // ignore: cast_nullable_to_non_nullable
+as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
+as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
+as String?,user_bank_info: freezed == user_bank_info ? _self.user_bank_info : user_bank_info // ignore: cast_nullable_to_non_nullable
+as dynamic,wallet: freezed == wallet ? _self.wallet : wallet // ignore: cast_nullable_to_non_nullable
+as int?,cars: freezed == cars ? _self._cars : cars // ignore: cast_nullable_to_non_nullable
+as List?,user_level: freezed == user_level ? _self._user_level : user_level // ignore: cast_nullable_to_non_nullable
+as List?,
+ ));
+}
+
+/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$UserCopyWith<$Res>? get user {
+ if (_self.user == null) {
+ return null;
+ }
+
+ return $UserCopyWith<$Res>(_self.user!, (value) {
+ return _then(_self.copyWith(user: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$AddressCopyWith<$Res>? get address {
+ if (_self.address == null) {
+ return null;
+ }
+
+ return $AddressCopyWith<$Res>(_self.address!, (value) {
+ return _then(_self.copyWith(address: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ActivityCopyWith<$Res>? get guild_area_activity {
+ if (_self.guild_area_activity == null) {
+ return null;
+ }
+
+ return $ActivityCopyWith<$Res>(_self.guild_area_activity!, (value) {
+ return _then(_self.copyWith(guild_area_activity: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ActivityCopyWith<$Res>? get guild_type_activity {
+ if (_self.guild_type_activity == null) {
+ return null;
+ }
+
+ return $ActivityCopyWith<$Res>(_self.guild_type_activity!, (value) {
+ return _then(_self.copyWith(guild_type_activity: value));
+ });
+}/// Create a copy of Steward
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$PosStatusCopyWith<$Res>? get get_pos_status {
+ if (_self.get_pos_status == null) {
+ return null;
+ }
+
+ return $PosStatusCopyWith<$Res>(_self.get_pos_status!, (value) {
+ return _then(_self.copyWith(get_pos_status: value));
+ });
+}
+}
+
+
+/// @nodoc
+mixin _$User {
+
+ String? get fullname; String? get first_name; String? get last_name; String? get mobile; String? get national_id; String? get city;
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$UserCopyWith get copyWith => _$UserCopyWithImpl(this as User, _$identity);
+
+ /// Serializes this User to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.first_name, first_name) || other.first_name == first_name)&&(identical(other.last_name, last_name) || other.last_name == last_name)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.national_id, national_id) || other.national_id == national_id)&&(identical(other.city, city) || other.city == city));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,fullname,first_name,last_name,mobile,national_id,city);
+
+@override
+String toString() {
+ return 'User(fullname: $fullname, first_name: $first_name, last_name: $last_name, mobile: $mobile, national_id: $national_id, city: $city)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $UserCopyWith<$Res> {
+ factory $UserCopyWith(User value, $Res Function(User) _then) = _$UserCopyWithImpl;
+@useResult
+$Res call({
+ String? fullname, String? first_name, String? last_name, String? mobile, String? national_id, String? city
+});
+
+
+
+
+}
+/// @nodoc
+class _$UserCopyWithImpl<$Res>
+ implements $UserCopyWith<$Res> {
+ _$UserCopyWithImpl(this._self, this._then);
+
+ final User _self;
+ final $Res Function(User) _then;
+
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? fullname = freezed,Object? first_name = freezed,Object? last_name = freezed,Object? mobile = freezed,Object? national_id = freezed,Object? city = freezed,}) {
+ return _then(_self.copyWith(
+fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
+as String?,first_name: freezed == first_name ? _self.first_name : first_name // ignore: cast_nullable_to_non_nullable
+as String?,last_name: freezed == last_name ? _self.last_name : last_name // ignore: cast_nullable_to_non_nullable
+as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
+as String?,national_id: freezed == national_id ? _self.national_id : national_id // ignore: cast_nullable_to_non_nullable
+as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _User implements User {
+ _User({this.fullname, this.first_name, this.last_name, this.mobile, this.national_id, this.city});
+ factory _User.fromJson(Map json) => _$UserFromJson(json);
+
+@override final String? fullname;
+@override final String? first_name;
+@override final String? last_name;
+@override final String? mobile;
+@override final String? national_id;
+@override final String? city;
+
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$UserCopyWith<_User> get copyWith => __$UserCopyWithImpl<_User>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$UserToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.first_name, first_name) || other.first_name == first_name)&&(identical(other.last_name, last_name) || other.last_name == last_name)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.national_id, national_id) || other.national_id == national_id)&&(identical(other.city, city) || other.city == city));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,fullname,first_name,last_name,mobile,national_id,city);
+
+@override
+String toString() {
+ return 'User(fullname: $fullname, first_name: $first_name, last_name: $last_name, mobile: $mobile, national_id: $national_id, city: $city)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$UserCopyWith<$Res> implements $UserCopyWith<$Res> {
+ factory _$UserCopyWith(_User value, $Res Function(_User) _then) = __$UserCopyWithImpl;
+@override @useResult
+$Res call({
+ String? fullname, String? first_name, String? last_name, String? mobile, String? national_id, String? city
+});
+
+
+
+
+}
+/// @nodoc
+class __$UserCopyWithImpl<$Res>
+ implements _$UserCopyWith<$Res> {
+ __$UserCopyWithImpl(this._self, this._then);
+
+ final _User _self;
+ final $Res Function(_User) _then;
+
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? fullname = freezed,Object? first_name = freezed,Object? last_name = freezed,Object? mobile = freezed,Object? national_id = freezed,Object? city = freezed,}) {
+ return _then(_User(
+fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
+as String?,first_name: freezed == first_name ? _self.first_name : first_name // ignore: cast_nullable_to_non_nullable
+as String?,last_name: freezed == last_name ? _self.last_name : last_name // ignore: cast_nullable_to_non_nullable
+as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
+as String?,national_id: freezed == national_id ? _self.national_id : national_id // ignore: cast_nullable_to_non_nullable
+as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+
+}
+
+
+/// @nodoc
+mixin _$Address {
+
+ Province? get province; Province? get city; String? get address; String? get postal_code;
+/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$AddressCopyWith get copyWith => _$AddressCopyWithImpl(this as Address, _$identity);
+
+ /// Serializes this Address to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postal_code, postal_code) || other.postal_code == postal_code));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,province,city,address,postal_code);
+
+@override
+String toString() {
+ return 'Address(province: $province, city: $city, address: $address, postal_code: $postal_code)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $AddressCopyWith<$Res> {
+ factory $AddressCopyWith(Address value, $Res Function(Address) _then) = _$AddressCopyWithImpl;
+@useResult
+$Res call({
+ Province? province, Province? city, String? address, String? postal_code
+});
+
+
+$ProvinceCopyWith<$Res>? get province;$ProvinceCopyWith<$Res>? get city;
+
+}
+/// @nodoc
+class _$AddressCopyWithImpl<$Res>
+ implements $AddressCopyWith<$Res> {
+ _$AddressCopyWithImpl(this._self, this._then);
+
+ final Address _self;
+ final $Res Function(Address) _then;
+
+/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postal_code = freezed,}) {
+ return _then(_self.copyWith(
+province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
+as Province?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
+as Province?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
+as String?,postal_code: freezed == postal_code ? _self.postal_code : postal_code // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ProvinceCopyWith<$Res>? get province {
+ if (_self.province == null) {
+ return null;
+ }
+
+ return $ProvinceCopyWith<$Res>(_self.province!, (value) {
+ return _then(_self.copyWith(province: value));
+ });
+}/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ProvinceCopyWith<$Res>? get city {
+ if (_self.city == null) {
+ return null;
+ }
+
+ return $ProvinceCopyWith<$Res>(_self.city!, (value) {
+ return _then(_self.copyWith(city: value));
+ });
+}
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _Address implements Address {
+ _Address({this.province, this.city, this.address, this.postal_code});
+ factory _Address.fromJson(Map json) => _$AddressFromJson(json);
+
+@override final Province? province;
+@override final Province? city;
+@override final String? address;
+@override final String? postal_code;
+
+/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$AddressCopyWith<_Address> get copyWith => __$AddressCopyWithImpl<_Address>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$AddressToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postal_code, postal_code) || other.postal_code == postal_code));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,province,city,address,postal_code);
+
+@override
+String toString() {
+ return 'Address(province: $province, city: $city, address: $address, postal_code: $postal_code)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$AddressCopyWith<$Res> implements $AddressCopyWith<$Res> {
+ factory _$AddressCopyWith(_Address value, $Res Function(_Address) _then) = __$AddressCopyWithImpl;
+@override @useResult
+$Res call({
+ Province? province, Province? city, String? address, String? postal_code
+});
+
+
+@override $ProvinceCopyWith<$Res>? get province;@override $ProvinceCopyWith<$Res>? get city;
+
+}
+/// @nodoc
+class __$AddressCopyWithImpl<$Res>
+ implements _$AddressCopyWith<$Res> {
+ __$AddressCopyWithImpl(this._self, this._then);
+
+ final _Address _self;
+ final $Res Function(_Address) _then;
+
+/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postal_code = freezed,}) {
+ return _then(_Address(
+province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
+as Province?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
+as Province?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
+as String?,postal_code: freezed == postal_code ? _self.postal_code : postal_code // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ProvinceCopyWith<$Res>? get province {
+ if (_self.province == null) {
+ return null;
+ }
+
+ return $ProvinceCopyWith<$Res>(_self.province!, (value) {
+ return _then(_self.copyWith(province: value));
+ });
+}/// Create a copy of Address
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$ProvinceCopyWith<$Res>? get city {
+ if (_self.city == null) {
+ return null;
+ }
+
+ return $ProvinceCopyWith<$Res>(_self.city!, (value) {
+ return _then(_self.copyWith(city: value));
+ });
+}
+}
+
+
+/// @nodoc
+mixin _$Province {
+
+ String? get key; String? get name;
+/// Create a copy of Province
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$ProvinceCopyWith get copyWith => _$ProvinceCopyWithImpl(this as Province, _$identity);
+
+ /// Serializes this Province to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is Province&&(identical(other.key, key) || other.key == key)&&(identical(other.name, name) || other.name == name));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,key,name);
+
+@override
+String toString() {
+ return 'Province(key: $key, name: $name)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $ProvinceCopyWith<$Res> {
+ factory $ProvinceCopyWith(Province value, $Res Function(Province) _then) = _$ProvinceCopyWithImpl;
+@useResult
+$Res call({
+ String? key, String? name
+});
+
+
+
+
+}
+/// @nodoc
+class _$ProvinceCopyWithImpl<$Res>
+ implements $ProvinceCopyWith<$Res> {
+ _$ProvinceCopyWithImpl(this._self, this._then);
+
+ final Province _self;
+ final $Res Function(Province) _then;
+
+/// Create a copy of Province
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? key = freezed,Object? name = freezed,}) {
+ return _then(_self.copyWith(
+key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _Province implements Province {
+ _Province({this.key, this.name});
+ factory _Province.fromJson(Map json) => _$ProvinceFromJson(json);
+
+@override final String? key;
+@override final String? name;
+
+/// Create a copy of Province
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$ProvinceCopyWith<_Province> get copyWith => __$ProvinceCopyWithImpl<_Province>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$ProvinceToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _Province&&(identical(other.key, key) || other.key == key)&&(identical(other.name, name) || other.name == name));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,key,name);
+
+@override
+String toString() {
+ return 'Province(key: $key, name: $name)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$ProvinceCopyWith<$Res> implements $ProvinceCopyWith<$Res> {
+ factory _$ProvinceCopyWith(_Province value, $Res Function(_Province) _then) = __$ProvinceCopyWithImpl;
+@override @useResult
+$Res call({
+ String? key, String? name
+});
+
+
+
+
+}
+/// @nodoc
+class __$ProvinceCopyWithImpl<$Res>
+ implements _$ProvinceCopyWith<$Res> {
+ __$ProvinceCopyWithImpl(this._self, this._then);
+
+ final _Province _self;
+ final $Res Function(_Province) _then;
+
+/// Create a copy of Province
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? key = freezed,Object? name = freezed,}) {
+ return _then(_Province(
+key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+
+}
+
+
+/// @nodoc
+mixin _$Activity {
+
+ String? get key; String? get title;
+/// Create a copy of Activity
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$ActivityCopyWith get copyWith => _$ActivityCopyWithImpl(this as Activity, _$identity);
+
+ /// Serializes this Activity to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is Activity&&(identical(other.key, key) || other.key == key)&&(identical(other.title, title) || other.title == title));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,key,title);
+
+@override
+String toString() {
+ return 'Activity(key: $key, title: $title)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $ActivityCopyWith<$Res> {
+ factory $ActivityCopyWith(Activity value, $Res Function(Activity) _then) = _$ActivityCopyWithImpl;
+@useResult
+$Res call({
+ String? key, String? title
+});
+
+
+
+
+}
+/// @nodoc
+class _$ActivityCopyWithImpl<$Res>
+ implements $ActivityCopyWith<$Res> {
+ _$ActivityCopyWithImpl(this._self, this._then);
+
+ final Activity _self;
+ final $Res Function(Activity) _then;
+
+/// Create a copy of Activity
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? key = freezed,Object? title = freezed,}) {
+ return _then(_self.copyWith(
+key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,title: freezed == title ? _self.title : title // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _Activity implements Activity {
+ _Activity({this.key, this.title});
+ factory _Activity.fromJson(Map json) => _$ActivityFromJson(json);
+
+@override final String? key;
+@override final String? title;
+
+/// Create a copy of Activity
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$ActivityCopyWith<_Activity> get copyWith => __$ActivityCopyWithImpl<_Activity>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$ActivityToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _Activity&&(identical(other.key, key) || other.key == key)&&(identical(other.title, title) || other.title == title));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,key,title);
+
+@override
+String toString() {
+ return 'Activity(key: $key, title: $title)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$ActivityCopyWith<$Res> implements $ActivityCopyWith<$Res> {
+ factory _$ActivityCopyWith(_Activity value, $Res Function(_Activity) _then) = __$ActivityCopyWithImpl;
+@override @useResult
+$Res call({
+ String? key, String? title
+});
+
+
+
+
+}
+/// @nodoc
+class __$ActivityCopyWithImpl<$Res>
+ implements _$ActivityCopyWith<$Res> {
+ __$ActivityCopyWithImpl(this._self, this._then);
+
+ final _Activity _self;
+ final $Res Function(_Activity) _then;
+
+/// Create a copy of Activity
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? key = freezed,Object? title = freezed,}) {
+ return _then(_Activity(
+key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,title: freezed == title ? _self.title : title // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+
+}
+
+
+/// @nodoc
+mixin _$PosStatus {
+
+ int? get len_active_sessions; bool? get has_pons; bool? get has_active_pons;
+/// Create a copy of PosStatus
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$PosStatusCopyWith get copyWith => _$PosStatusCopyWithImpl(this as PosStatus, _$identity);
+
+ /// Serializes this PosStatus to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is PosStatus&&(identical(other.len_active_sessions, len_active_sessions) || other.len_active_sessions == len_active_sessions)&&(identical(other.has_pons, has_pons) || other.has_pons == has_pons)&&(identical(other.has_active_pons, has_active_pons) || other.has_active_pons == has_active_pons));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,len_active_sessions,has_pons,has_active_pons);
+
+@override
+String toString() {
+ return 'PosStatus(len_active_sessions: $len_active_sessions, has_pons: $has_pons, has_active_pons: $has_active_pons)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $PosStatusCopyWith<$Res> {
+ factory $PosStatusCopyWith(PosStatus value, $Res Function(PosStatus) _then) = _$PosStatusCopyWithImpl;
+@useResult
+$Res call({
+ int? len_active_sessions, bool? has_pons, bool? has_active_pons
+});
+
+
+
+
+}
+/// @nodoc
+class _$PosStatusCopyWithImpl<$Res>
+ implements $PosStatusCopyWith<$Res> {
+ _$PosStatusCopyWithImpl(this._self, this._then);
+
+ final PosStatus _self;
+ final $Res Function(PosStatus) _then;
+
+/// Create a copy of PosStatus
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? len_active_sessions = freezed,Object? has_pons = freezed,Object? has_active_pons = freezed,}) {
+ return _then(_self.copyWith(
+len_active_sessions: freezed == len_active_sessions ? _self.len_active_sessions : len_active_sessions // ignore: cast_nullable_to_non_nullable
+as int?,has_pons: freezed == has_pons ? _self.has_pons : has_pons // ignore: cast_nullable_to_non_nullable
+as bool?,has_active_pons: freezed == has_active_pons ? _self.has_active_pons : has_active_pons // ignore: cast_nullable_to_non_nullable
+as bool?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _PosStatus implements PosStatus {
+ _PosStatus({this.len_active_sessions, this.has_pons, this.has_active_pons});
+ factory _PosStatus.fromJson(Map json) => _$PosStatusFromJson(json);
+
+@override final int? len_active_sessions;
+@override final bool? has_pons;
+@override final bool? has_active_pons;
+
+/// Create a copy of PosStatus
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$PosStatusCopyWith<_PosStatus> get copyWith => __$PosStatusCopyWithImpl<_PosStatus>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$PosStatusToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _PosStatus&&(identical(other.len_active_sessions, len_active_sessions) || other.len_active_sessions == len_active_sessions)&&(identical(other.has_pons, has_pons) || other.has_pons == has_pons)&&(identical(other.has_active_pons, has_active_pons) || other.has_active_pons == has_active_pons));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,len_active_sessions,has_pons,has_active_pons);
+
+@override
+String toString() {
+ return 'PosStatus(len_active_sessions: $len_active_sessions, has_pons: $has_pons, has_active_pons: $has_active_pons)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$PosStatusCopyWith<$Res> implements $PosStatusCopyWith<$Res> {
+ factory _$PosStatusCopyWith(_PosStatus value, $Res Function(_PosStatus) _then) = __$PosStatusCopyWithImpl;
+@override @useResult
+$Res call({
+ int? len_active_sessions, bool? has_pons, bool? has_active_pons
+});
+
+
+
+
+}
+/// @nodoc
+class __$PosStatusCopyWithImpl<$Res>
+ implements _$PosStatusCopyWith<$Res> {
+ __$PosStatusCopyWithImpl(this._self, this._then);
+
+ final _PosStatus _self;
+ final $Res Function(_PosStatus) _then;
+
+/// Create a copy of PosStatus
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? len_active_sessions = freezed,Object? has_pons = freezed,Object? has_active_pons = freezed,}) {
+ return _then(_PosStatus(
+len_active_sessions: freezed == len_active_sessions ? _self.len_active_sessions : len_active_sessions // ignore: cast_nullable_to_non_nullable
+as int?,has_pons: freezed == has_pons ? _self.has_pons : has_pons // ignore: cast_nullable_to_non_nullable
+as bool?,has_active_pons: freezed == has_active_pons ? _self.has_active_pons : has_active_pons // ignore: cast_nullable_to_non_nullable
+as bool?,
+ ));
+}
+
+
+}
+
+// dart format on
diff --git a/packages/chicken/lib/data/models/response/allocated_made/allocated_made.g.dart b/packages/chicken/lib/data/models/response/allocated_made/allocated_made.g.dart
new file mode 100644
index 0000000..9116ccf
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/allocated_made/allocated_made.g.dart
@@ -0,0 +1,373 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'allocated_made.dart';
+
+// **************************************************************************
+// JsonSerializableGenerator
+// **************************************************************************
+
+_AllocatedMadeModel _$AllocatedMadeModelFromJson(Map json) =>
+ _AllocatedMadeModel(
+ count: (json['count'] as num?)?.toInt(),
+ next: json['next'] as String?,
+ previous: json['previous'] as String?,
+ results: (json['results'] as List?)
+ ?.map((e) => AllocatedMadeResult.fromJson(e as Map))
+ .toList(),
+ );
+
+Map _$AllocatedMadeModelToJson(_AllocatedMadeModel instance) =>
+ {
+ 'count': instance.count,
+ 'next': instance.next,
+ 'previous': instance.previous,
+ 'results': instance.results,
+ };
+
+_AllocatedMadeResult _$AllocatedMadeResultFromJson(
+ Map json,
+) => _AllocatedMadeResult(
+ id: (json['id'] as num?)?.toInt(),
+ product: json['product'] == null
+ ? null
+ : Product.fromJson(json['product'] as Map),
+ kill_house: json['kill_house'],
+ to_kill_house: json['to_kill_house'],
+ steward: json['steward'] == null
+ ? null
+ : Steward.fromJson(json['steward'] as Map),
+ to_steward: json['to_steward'],
+ guilds: json['guilds'],
+ to_guilds: json['to_guilds'] == null
+ ? null
+ : Steward.fromJson(json['to_guilds'] as Map),
+ to_cold_house: json['to_cold_house'],
+ index_weight: (json['index_weight'] as num?)?.toInt(),
+ date_timestamp: (json['date_timestamp'] as num?)?.toInt(),
+ new_state: (json['new_state'] as num?)?.toInt(),
+ new_receiver_state: (json['new_receiver_state'] as num?)?.toInt(),
+ new_allocation_state: (json['new_allocation_state'] as num?)?.toInt(),
+ key: json['key'] as String?,
+ create_date: json['create_date'] as String?,
+ modify_date: json['modify_date'] as String?,
+ trash: json['trash'] as bool?,
+ number_of_carcasses: (json['number_of_carcasses'] as num?)?.toInt(),
+ real_number_of_carcasses: (json['real_number_of_carcasses'] as num?)?.toInt(),
+ receiver_real_number_of_carcasses:
+ (json['receiver_real_number_of_carcasses'] as num?)?.toInt(),
+ weight_of_carcasses: (json['weight_of_carcasses'] as num?)?.toInt(),
+ real_weight_of_carcasses: (json['real_weight_of_carcasses'] as num?)?.toInt(),
+ receiver_real_weight_of_carcasses:
+ (json['receiver_real_weight_of_carcasses'] as num?)?.toInt(),
+ weight_loss_of_carcasses: (json['weight_loss_of_carcasses'] as num?)?.toInt(),
+ final_registration: json['final_registration'] as bool?,
+ sell_type: json['sell_type'] as String?,
+ product_name: json['product_name'] as String?,
+ seller_type: json['seller_type'] as String?,
+ type: json['type'] as String?,
+ sale_type: json['sale_type'] as String?,
+ allocation_type: json['allocation_type'] as String?,
+ system_registration_code: json['system_registration_code'] as bool?,
+ registration_code: (json['registration_code'] as num?)?.toInt(),
+ amount: (json['amount'] as num?)?.toInt(),
+ total_amount: (json['total_amount'] as num?)?.toInt(),
+ total_amount_paid: (json['total_amount_paid'] as num?)?.toInt(),
+ total_amount_remain: (json['total_amount_remain'] as num?)?.toInt(),
+ logged_registration_code: json['logged_registration_code'] as String?,
+ state: json['state'] as String?,
+ receiver_state: json['receiver_state'] as String?,
+ allocation_state: json['allocation_state'] as String?,
+ date: json['date'] as String?,
+ role: json['role'] as String?,
+ steward_temp_key: json['steward_temp_key'] as String?,
+ approved_price_status: json['approved_price_status'] as bool?,
+ calculate_status: json['calculate_status'] as bool?,
+ temporary_trash: json['temporary_trash'] as bool?,
+ temporary_deleted: json['temporary_deleted'] as bool?,
+ created_by: json['created_by'] as String?,
+ modified_by: json['modified_by'] as String?,
+ ware_house: json['ware_house'],
+ steward_ware_house: json['steward_ware_house'],
+ car: json['car'],
+ dispenser: json['dispenser'],
+);
+
+Map _$AllocatedMadeResultToJson(
+ _AllocatedMadeResult instance,
+) => {
+ 'id': instance.id,
+ 'product': instance.product,
+ 'kill_house': instance.kill_house,
+ 'to_kill_house': instance.to_kill_house,
+ 'steward': instance.steward,
+ 'to_steward': instance.to_steward,
+ 'guilds': instance.guilds,
+ 'to_guilds': instance.to_guilds,
+ 'to_cold_house': instance.to_cold_house,
+ 'index_weight': instance.index_weight,
+ 'date_timestamp': instance.date_timestamp,
+ 'new_state': instance.new_state,
+ 'new_receiver_state': instance.new_receiver_state,
+ 'new_allocation_state': instance.new_allocation_state,
+ 'key': instance.key,
+ 'create_date': instance.create_date,
+ 'modify_date': instance.modify_date,
+ 'trash': instance.trash,
+ 'number_of_carcasses': instance.number_of_carcasses,
+ 'real_number_of_carcasses': instance.real_number_of_carcasses,
+ 'receiver_real_number_of_carcasses':
+ instance.receiver_real_number_of_carcasses,
+ 'weight_of_carcasses': instance.weight_of_carcasses,
+ 'real_weight_of_carcasses': instance.real_weight_of_carcasses,
+ 'receiver_real_weight_of_carcasses':
+ instance.receiver_real_weight_of_carcasses,
+ 'weight_loss_of_carcasses': instance.weight_loss_of_carcasses,
+ 'final_registration': instance.final_registration,
+ 'sell_type': instance.sell_type,
+ 'product_name': instance.product_name,
+ 'seller_type': instance.seller_type,
+ 'type': instance.type,
+ 'sale_type': instance.sale_type,
+ 'allocation_type': instance.allocation_type,
+ 'system_registration_code': instance.system_registration_code,
+ 'registration_code': instance.registration_code,
+ 'amount': instance.amount,
+ 'total_amount': instance.total_amount,
+ 'total_amount_paid': instance.total_amount_paid,
+ 'total_amount_remain': instance.total_amount_remain,
+ 'logged_registration_code': instance.logged_registration_code,
+ 'state': instance.state,
+ 'receiver_state': instance.receiver_state,
+ 'allocation_state': instance.allocation_state,
+ 'date': instance.date,
+ 'role': instance.role,
+ 'steward_temp_key': instance.steward_temp_key,
+ 'approved_price_status': instance.approved_price_status,
+ 'calculate_status': instance.calculate_status,
+ 'temporary_trash': instance.temporary_trash,
+ 'temporary_deleted': instance.temporary_deleted,
+ 'created_by': instance.created_by,
+ 'modified_by': instance.modified_by,
+ 'ware_house': instance.ware_house,
+ 'steward_ware_house': instance.steward_ware_house,
+ 'car': instance.car,
+ 'dispenser': instance.dispenser,
+};
+
+_Product _$ProductFromJson(Map json) =>
+ _Product(weight_average: (json['weight_average'] as num?)?.toInt());
+
+Map _$ProductToJson(_Product instance) => {
+ 'weight_average': instance.weight_average,
+};
+
+_Steward _$StewardFromJson(Map json) => _Steward(
+ id: (json['id'] as num?)?.toInt(),
+ user: json['user'] == null
+ ? null
+ : User.fromJson(json['user'] as Map),
+ address: json['address'] == null
+ ? null
+ : Address.fromJson(json['address'] as Map),
+ guild_area_activity: json['guild_area_activity'] == null
+ ? null
+ : Activity.fromJson(json['guild_area_activity'] as Map),
+ guild_type_activity: json['guild_type_activity'] == null
+ ? null
+ : Activity.fromJson(json['guild_type_activity'] as Map),
+ kill_house: json['kill_house'] as List?,
+ steward_kill_house: json['steward_kill_house'] as List?,
+ stewards: json['stewards'] as List?,
+ get_pos_status: json['get_pos_status'] == null
+ ? null
+ : PosStatus.fromJson(json['get_pos_status'] as Map),
+ key: json['key'] as String?,
+ create_date: json['create_date'] as String?,
+ modify_date: json['modify_date'] as String?,
+ trash: json['trash'] as bool?,
+ user_id_foreign_key: json['user_id_foreign_key'],
+ address_id_foreign_key: json['address_id_foreign_key'],
+ user_bank_id_foreign_key: json['user_bank_id_foreign_key'],
+ wallet_id_foreign_key: json['wallet_id_foreign_key'],
+ provincial_government_id_key: json['provincial_government_id_key'],
+ identity_documents: json['identity_documents'],
+ active: json['active'] as bool?,
+ city_number: (json['city_number'] as num?)?.toInt(),
+ city_name: json['city_name'] as String?,
+ guilds_id: json['guilds_id'] as String?,
+ license_number: json['license_number'] as String?,
+ guilds_name: json['guilds_name'] as String?,
+ phone: json['phone'] as String?,
+ type_activity: json['type_activity'] as String?,
+ area_activity: json['area_activity'] as String?,
+ province_number: (json['province_number'] as num?)?.toInt(),
+ province_name: json['province_name'] as String?,
+ steward: json['steward'] as bool?,
+ has_pos: json['has_pos'] as bool?,
+ centers_allocation: json['centers_allocation'],
+ kill_house_centers_allocation: json['kill_house_centers_allocation'],
+ allocation_limit: json['allocation_limit'],
+ limitation_allocation: json['limitation_allocation'] as bool?,
+ registerar_role: json['registerar_role'] as String?,
+ registerar_fullname: json['registerar_fullname'] as String?,
+ registerar_mobile: json['registerar_mobile'] as String?,
+ kill_house_register: json['kill_house_register'] as bool?,
+ steward_register: json['steward_register'] as bool?,
+ guilds_room_register: json['guilds_room_register'] as bool?,
+ pos_company_register: json['pos_company_register'] as bool?,
+ province_accept_state: json['province_accept_state'] as String?,
+ province_message: json['province_message'] as String?,
+ condition: json['condition'] as String?,
+ description_condition: json['description_condition'] as String?,
+ steward_active: json['steward_active'] as bool?,
+ steward_allocation_limit: json['steward_allocation_limit'],
+ steward_limitation_allocation: json['steward_limitation_allocation'] as bool?,
+ license: json['license'] as bool?,
+ license_form: json['license_form'],
+ license_file: json['license_file'],
+ reviewer_role: json['reviewer_role'] as String?,
+ reviewer_fullname: json['reviewer_fullname'] as String?,
+ reviewer_mobile: json['reviewer_mobile'] as String?,
+ checker_message: json['checker_message'] as String?,
+ final_accept: json['final_accept'] as bool?,
+ temporary_registration: json['temporary_registration'] as bool?,
+ created_by: json['created_by'] as String?,
+ modified_by: json['modified_by'] as String?,
+ user_bank_info: json['user_bank_info'],
+ wallet: (json['wallet'] as num?)?.toInt(),
+ cars: json['cars'] as List?,
+ user_level: json['user_level'] as List?,
+);
+
+Map _$StewardToJson(_Steward instance) => {
+ 'id': instance.id,
+ 'user': instance.user,
+ 'address': instance.address,
+ 'guild_area_activity': instance.guild_area_activity,
+ 'guild_type_activity': instance.guild_type_activity,
+ 'kill_house': instance.kill_house,
+ 'steward_kill_house': instance.steward_kill_house,
+ 'stewards': instance.stewards,
+ 'get_pos_status': instance.get_pos_status,
+ 'key': instance.key,
+ 'create_date': instance.create_date,
+ 'modify_date': instance.modify_date,
+ 'trash': instance.trash,
+ 'user_id_foreign_key': instance.user_id_foreign_key,
+ 'address_id_foreign_key': instance.address_id_foreign_key,
+ 'user_bank_id_foreign_key': instance.user_bank_id_foreign_key,
+ 'wallet_id_foreign_key': instance.wallet_id_foreign_key,
+ 'provincial_government_id_key': instance.provincial_government_id_key,
+ 'identity_documents': instance.identity_documents,
+ 'active': instance.active,
+ 'city_number': instance.city_number,
+ 'city_name': instance.city_name,
+ 'guilds_id': instance.guilds_id,
+ 'license_number': instance.license_number,
+ 'guilds_name': instance.guilds_name,
+ 'phone': instance.phone,
+ 'type_activity': instance.type_activity,
+ 'area_activity': instance.area_activity,
+ 'province_number': instance.province_number,
+ 'province_name': instance.province_name,
+ 'steward': instance.steward,
+ 'has_pos': instance.has_pos,
+ 'centers_allocation': instance.centers_allocation,
+ 'kill_house_centers_allocation': instance.kill_house_centers_allocation,
+ 'allocation_limit': instance.allocation_limit,
+ 'limitation_allocation': instance.limitation_allocation,
+ 'registerar_role': instance.registerar_role,
+ 'registerar_fullname': instance.registerar_fullname,
+ 'registerar_mobile': instance.registerar_mobile,
+ 'kill_house_register': instance.kill_house_register,
+ 'steward_register': instance.steward_register,
+ 'guilds_room_register': instance.guilds_room_register,
+ 'pos_company_register': instance.pos_company_register,
+ 'province_accept_state': instance.province_accept_state,
+ 'province_message': instance.province_message,
+ 'condition': instance.condition,
+ 'description_condition': instance.description_condition,
+ 'steward_active': instance.steward_active,
+ 'steward_allocation_limit': instance.steward_allocation_limit,
+ 'steward_limitation_allocation': instance.steward_limitation_allocation,
+ 'license': instance.license,
+ 'license_form': instance.license_form,
+ 'license_file': instance.license_file,
+ 'reviewer_role': instance.reviewer_role,
+ 'reviewer_fullname': instance.reviewer_fullname,
+ 'reviewer_mobile': instance.reviewer_mobile,
+ 'checker_message': instance.checker_message,
+ 'final_accept': instance.final_accept,
+ 'temporary_registration': instance.temporary_registration,
+ 'created_by': instance.created_by,
+ 'modified_by': instance.modified_by,
+ 'user_bank_info': instance.user_bank_info,
+ 'wallet': instance.wallet,
+ 'cars': instance.cars,
+ 'user_level': instance.user_level,
+};
+
+_User _$UserFromJson(Map json) => _User(
+ fullname: json['fullname'] as String?,
+ first_name: json['first_name'] as String?,
+ last_name: json['last_name'] as String?,
+ mobile: json['mobile'] as String?,
+ national_id: json['national_id'] as String?,
+ city: json['city'] as String?,
+);
+
+Map _$UserToJson(_User instance) => {
+ 'fullname': instance.fullname,
+ 'first_name': instance.first_name,
+ 'last_name': instance.last_name,
+ 'mobile': instance.mobile,
+ 'national_id': instance.national_id,
+ 'city': instance.city,
+};
+
+_Address _$AddressFromJson(Map json) => _Address(
+ province: json['province'] == null
+ ? null
+ : Province.fromJson(json['province'] as Map),
+ city: json['city'] == null
+ ? null
+ : Province.fromJson(json['city'] as Map),
+ address: json['address'] as String?,
+ postal_code: json['postal_code'] as String?,
+);
+
+Map _$AddressToJson(_Address instance) => {
+ 'province': instance.province,
+ 'city': instance.city,
+ 'address': instance.address,
+ 'postal_code': instance.postal_code,
+};
+
+_Province _$ProvinceFromJson(Map json) =>
+ _Province(key: json['key'] as String?, name: json['name'] as String?);
+
+Map _$ProvinceToJson(_Province instance) => {
+ 'key': instance.key,
+ 'name': instance.name,
+};
+
+_Activity _$ActivityFromJson(Map json) =>
+ _Activity(key: json['key'] as String?, title: json['title'] as String?);
+
+Map _$ActivityToJson(_Activity instance) => {
+ 'key': instance.key,
+ 'title': instance.title,
+};
+
+_PosStatus _$PosStatusFromJson(Map json) => _PosStatus(
+ len_active_sessions: (json['len_active_sessions'] as num?)?.toInt(),
+ has_pons: json['has_pons'] as bool?,
+ has_active_pons: json['has_active_pons'] as bool?,
+);
+
+Map _$PosStatusToJson(_PosStatus instance) =>
+ {
+ 'len_active_sessions': instance.len_active_sessions,
+ 'has_pons': instance.has_pons,
+ 'has_active_pons': instance.has_active_pons,
+ };
diff --git a/packages/chicken/lib/data/models/response/bar_information/bar_information.dart b/packages/chicken/lib/data/models/response/bar_information/bar_information.dart
new file mode 100644
index 0000000..ed39c98
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/bar_information/bar_information.dart
@@ -0,0 +1,25 @@
+import 'package:freezed_annotation/freezed_annotation.dart';
+
+part 'bar_information.freezed.dart';
+part 'bar_information.g.dart';
+
+@freezed
+abstract class BarInformation with _$BarInformation {
+ const factory BarInformation({
+ int? totalBars,
+ int? totalBarsQuantity,
+ double? totalBarsWeight,
+ int? totalEnteredBars,
+ int? totalEnteredBarsQuantity,
+ double? totalEnteredBarsWeight,
+ int? totalNotEnteredBars,
+ int? totalNotEnteredBarsQuantity,
+ double? totalNotEnteredKillHouseRequestsWeight,
+ int? totalRejectedBars,
+ int? totalRejectedBarsQuantity,
+ double? totalRejectedBarsWeight,
+ }) = _BarInformation;
+
+ factory BarInformation.fromJson(Map json) =>
+ _$BarInformationFromJson(json);
+}
diff --git a/packages/chicken/lib/data/models/response/bar_information/bar_information.freezed.dart b/packages/chicken/lib/data/models/response/bar_information/bar_information.freezed.dart
new file mode 100644
index 0000000..e8b13e8
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/bar_information/bar_information.freezed.dart
@@ -0,0 +1,181 @@
+// dart format width=80
+// coverage:ignore-file
+// GENERATED CODE - DO NOT MODIFY BY HAND
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
+
+part of 'bar_information.dart';
+
+// **************************************************************************
+// FreezedGenerator
+// **************************************************************************
+
+// dart format off
+T _$identity(T value) => value;
+
+/// @nodoc
+mixin _$BarInformation {
+
+ int? get totalBars; int? get totalBarsQuantity; double? get totalBarsWeight; int? get totalEnteredBars; int? get totalEnteredBarsQuantity; double? get totalEnteredBarsWeight; int? get totalNotEnteredBars; int? get totalNotEnteredBarsQuantity; double? get totalNotEnteredKillHouseRequestsWeight; int? get totalRejectedBars; int? get totalRejectedBarsQuantity; double? get totalRejectedBarsWeight;
+/// Create a copy of BarInformation
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$BarInformationCopyWith get copyWith => _$BarInformationCopyWithImpl(this as BarInformation, _$identity);
+
+ /// Serializes this BarInformation to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is BarInformation&&(identical(other.totalBars, totalBars) || other.totalBars == totalBars)&&(identical(other.totalBarsQuantity, totalBarsQuantity) || other.totalBarsQuantity == totalBarsQuantity)&&(identical(other.totalBarsWeight, totalBarsWeight) || other.totalBarsWeight == totalBarsWeight)&&(identical(other.totalEnteredBars, totalEnteredBars) || other.totalEnteredBars == totalEnteredBars)&&(identical(other.totalEnteredBarsQuantity, totalEnteredBarsQuantity) || other.totalEnteredBarsQuantity == totalEnteredBarsQuantity)&&(identical(other.totalEnteredBarsWeight, totalEnteredBarsWeight) || other.totalEnteredBarsWeight == totalEnteredBarsWeight)&&(identical(other.totalNotEnteredBars, totalNotEnteredBars) || other.totalNotEnteredBars == totalNotEnteredBars)&&(identical(other.totalNotEnteredBarsQuantity, totalNotEnteredBarsQuantity) || other.totalNotEnteredBarsQuantity == totalNotEnteredBarsQuantity)&&(identical(other.totalNotEnteredKillHouseRequestsWeight, totalNotEnteredKillHouseRequestsWeight) || other.totalNotEnteredKillHouseRequestsWeight == totalNotEnteredKillHouseRequestsWeight)&&(identical(other.totalRejectedBars, totalRejectedBars) || other.totalRejectedBars == totalRejectedBars)&&(identical(other.totalRejectedBarsQuantity, totalRejectedBarsQuantity) || other.totalRejectedBarsQuantity == totalRejectedBarsQuantity)&&(identical(other.totalRejectedBarsWeight, totalRejectedBarsWeight) || other.totalRejectedBarsWeight == totalRejectedBarsWeight));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,totalBars,totalBarsQuantity,totalBarsWeight,totalEnteredBars,totalEnteredBarsQuantity,totalEnteredBarsWeight,totalNotEnteredBars,totalNotEnteredBarsQuantity,totalNotEnteredKillHouseRequestsWeight,totalRejectedBars,totalRejectedBarsQuantity,totalRejectedBarsWeight);
+
+@override
+String toString() {
+ return 'BarInformation(totalBars: $totalBars, totalBarsQuantity: $totalBarsQuantity, totalBarsWeight: $totalBarsWeight, totalEnteredBars: $totalEnteredBars, totalEnteredBarsQuantity: $totalEnteredBarsQuantity, totalEnteredBarsWeight: $totalEnteredBarsWeight, totalNotEnteredBars: $totalNotEnteredBars, totalNotEnteredBarsQuantity: $totalNotEnteredBarsQuantity, totalNotEnteredKillHouseRequestsWeight: $totalNotEnteredKillHouseRequestsWeight, totalRejectedBars: $totalRejectedBars, totalRejectedBarsQuantity: $totalRejectedBarsQuantity, totalRejectedBarsWeight: $totalRejectedBarsWeight)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $BarInformationCopyWith<$Res> {
+ factory $BarInformationCopyWith(BarInformation value, $Res Function(BarInformation) _then) = _$BarInformationCopyWithImpl;
+@useResult
+$Res call({
+ int? totalBars, int? totalBarsQuantity, double? totalBarsWeight, int? totalEnteredBars, int? totalEnteredBarsQuantity, double? totalEnteredBarsWeight, int? totalNotEnteredBars, int? totalNotEnteredBarsQuantity, double? totalNotEnteredKillHouseRequestsWeight, int? totalRejectedBars, int? totalRejectedBarsQuantity, double? totalRejectedBarsWeight
+});
+
+
+
+
+}
+/// @nodoc
+class _$BarInformationCopyWithImpl<$Res>
+ implements $BarInformationCopyWith<$Res> {
+ _$BarInformationCopyWithImpl(this._self, this._then);
+
+ final BarInformation _self;
+ final $Res Function(BarInformation) _then;
+
+/// Create a copy of BarInformation
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? totalBars = freezed,Object? totalBarsQuantity = freezed,Object? totalBarsWeight = freezed,Object? totalEnteredBars = freezed,Object? totalEnteredBarsQuantity = freezed,Object? totalEnteredBarsWeight = freezed,Object? totalNotEnteredBars = freezed,Object? totalNotEnteredBarsQuantity = freezed,Object? totalNotEnteredKillHouseRequestsWeight = freezed,Object? totalRejectedBars = freezed,Object? totalRejectedBarsQuantity = freezed,Object? totalRejectedBarsWeight = freezed,}) {
+ return _then(_self.copyWith(
+totalBars: freezed == totalBars ? _self.totalBars : totalBars // ignore: cast_nullable_to_non_nullable
+as int?,totalBarsQuantity: freezed == totalBarsQuantity ? _self.totalBarsQuantity : totalBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalBarsWeight: freezed == totalBarsWeight ? _self.totalBarsWeight : totalBarsWeight // ignore: cast_nullable_to_non_nullable
+as double?,totalEnteredBars: freezed == totalEnteredBars ? _self.totalEnteredBars : totalEnteredBars // ignore: cast_nullable_to_non_nullable
+as int?,totalEnteredBarsQuantity: freezed == totalEnteredBarsQuantity ? _self.totalEnteredBarsQuantity : totalEnteredBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalEnteredBarsWeight: freezed == totalEnteredBarsWeight ? _self.totalEnteredBarsWeight : totalEnteredBarsWeight // ignore: cast_nullable_to_non_nullable
+as double?,totalNotEnteredBars: freezed == totalNotEnteredBars ? _self.totalNotEnteredBars : totalNotEnteredBars // ignore: cast_nullable_to_non_nullable
+as int?,totalNotEnteredBarsQuantity: freezed == totalNotEnteredBarsQuantity ? _self.totalNotEnteredBarsQuantity : totalNotEnteredBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalNotEnteredKillHouseRequestsWeight: freezed == totalNotEnteredKillHouseRequestsWeight ? _self.totalNotEnteredKillHouseRequestsWeight : totalNotEnteredKillHouseRequestsWeight // ignore: cast_nullable_to_non_nullable
+as double?,totalRejectedBars: freezed == totalRejectedBars ? _self.totalRejectedBars : totalRejectedBars // ignore: cast_nullable_to_non_nullable
+as int?,totalRejectedBarsQuantity: freezed == totalRejectedBarsQuantity ? _self.totalRejectedBarsQuantity : totalRejectedBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalRejectedBarsWeight: freezed == totalRejectedBarsWeight ? _self.totalRejectedBarsWeight : totalRejectedBarsWeight // ignore: cast_nullable_to_non_nullable
+as double?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _BarInformation implements BarInformation {
+ const _BarInformation({this.totalBars, this.totalBarsQuantity, this.totalBarsWeight, this.totalEnteredBars, this.totalEnteredBarsQuantity, this.totalEnteredBarsWeight, this.totalNotEnteredBars, this.totalNotEnteredBarsQuantity, this.totalNotEnteredKillHouseRequestsWeight, this.totalRejectedBars, this.totalRejectedBarsQuantity, this.totalRejectedBarsWeight});
+ factory _BarInformation.fromJson(Map json) => _$BarInformationFromJson(json);
+
+@override final int? totalBars;
+@override final int? totalBarsQuantity;
+@override final double? totalBarsWeight;
+@override final int? totalEnteredBars;
+@override final int? totalEnteredBarsQuantity;
+@override final double? totalEnteredBarsWeight;
+@override final int? totalNotEnteredBars;
+@override final int? totalNotEnteredBarsQuantity;
+@override final double? totalNotEnteredKillHouseRequestsWeight;
+@override final int? totalRejectedBars;
+@override final int? totalRejectedBarsQuantity;
+@override final double? totalRejectedBarsWeight;
+
+/// Create a copy of BarInformation
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$BarInformationCopyWith<_BarInformation> get copyWith => __$BarInformationCopyWithImpl<_BarInformation>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$BarInformationToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _BarInformation&&(identical(other.totalBars, totalBars) || other.totalBars == totalBars)&&(identical(other.totalBarsQuantity, totalBarsQuantity) || other.totalBarsQuantity == totalBarsQuantity)&&(identical(other.totalBarsWeight, totalBarsWeight) || other.totalBarsWeight == totalBarsWeight)&&(identical(other.totalEnteredBars, totalEnteredBars) || other.totalEnteredBars == totalEnteredBars)&&(identical(other.totalEnteredBarsQuantity, totalEnteredBarsQuantity) || other.totalEnteredBarsQuantity == totalEnteredBarsQuantity)&&(identical(other.totalEnteredBarsWeight, totalEnteredBarsWeight) || other.totalEnteredBarsWeight == totalEnteredBarsWeight)&&(identical(other.totalNotEnteredBars, totalNotEnteredBars) || other.totalNotEnteredBars == totalNotEnteredBars)&&(identical(other.totalNotEnteredBarsQuantity, totalNotEnteredBarsQuantity) || other.totalNotEnteredBarsQuantity == totalNotEnteredBarsQuantity)&&(identical(other.totalNotEnteredKillHouseRequestsWeight, totalNotEnteredKillHouseRequestsWeight) || other.totalNotEnteredKillHouseRequestsWeight == totalNotEnteredKillHouseRequestsWeight)&&(identical(other.totalRejectedBars, totalRejectedBars) || other.totalRejectedBars == totalRejectedBars)&&(identical(other.totalRejectedBarsQuantity, totalRejectedBarsQuantity) || other.totalRejectedBarsQuantity == totalRejectedBarsQuantity)&&(identical(other.totalRejectedBarsWeight, totalRejectedBarsWeight) || other.totalRejectedBarsWeight == totalRejectedBarsWeight));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,totalBars,totalBarsQuantity,totalBarsWeight,totalEnteredBars,totalEnteredBarsQuantity,totalEnteredBarsWeight,totalNotEnteredBars,totalNotEnteredBarsQuantity,totalNotEnteredKillHouseRequestsWeight,totalRejectedBars,totalRejectedBarsQuantity,totalRejectedBarsWeight);
+
+@override
+String toString() {
+ return 'BarInformation(totalBars: $totalBars, totalBarsQuantity: $totalBarsQuantity, totalBarsWeight: $totalBarsWeight, totalEnteredBars: $totalEnteredBars, totalEnteredBarsQuantity: $totalEnteredBarsQuantity, totalEnteredBarsWeight: $totalEnteredBarsWeight, totalNotEnteredBars: $totalNotEnteredBars, totalNotEnteredBarsQuantity: $totalNotEnteredBarsQuantity, totalNotEnteredKillHouseRequestsWeight: $totalNotEnteredKillHouseRequestsWeight, totalRejectedBars: $totalRejectedBars, totalRejectedBarsQuantity: $totalRejectedBarsQuantity, totalRejectedBarsWeight: $totalRejectedBarsWeight)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$BarInformationCopyWith<$Res> implements $BarInformationCopyWith<$Res> {
+ factory _$BarInformationCopyWith(_BarInformation value, $Res Function(_BarInformation) _then) = __$BarInformationCopyWithImpl;
+@override @useResult
+$Res call({
+ int? totalBars, int? totalBarsQuantity, double? totalBarsWeight, int? totalEnteredBars, int? totalEnteredBarsQuantity, double? totalEnteredBarsWeight, int? totalNotEnteredBars, int? totalNotEnteredBarsQuantity, double? totalNotEnteredKillHouseRequestsWeight, int? totalRejectedBars, int? totalRejectedBarsQuantity, double? totalRejectedBarsWeight
+});
+
+
+
+
+}
+/// @nodoc
+class __$BarInformationCopyWithImpl<$Res>
+ implements _$BarInformationCopyWith<$Res> {
+ __$BarInformationCopyWithImpl(this._self, this._then);
+
+ final _BarInformation _self;
+ final $Res Function(_BarInformation) _then;
+
+/// Create a copy of BarInformation
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? totalBars = freezed,Object? totalBarsQuantity = freezed,Object? totalBarsWeight = freezed,Object? totalEnteredBars = freezed,Object? totalEnteredBarsQuantity = freezed,Object? totalEnteredBarsWeight = freezed,Object? totalNotEnteredBars = freezed,Object? totalNotEnteredBarsQuantity = freezed,Object? totalNotEnteredKillHouseRequestsWeight = freezed,Object? totalRejectedBars = freezed,Object? totalRejectedBarsQuantity = freezed,Object? totalRejectedBarsWeight = freezed,}) {
+ return _then(_BarInformation(
+totalBars: freezed == totalBars ? _self.totalBars : totalBars // ignore: cast_nullable_to_non_nullable
+as int?,totalBarsQuantity: freezed == totalBarsQuantity ? _self.totalBarsQuantity : totalBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalBarsWeight: freezed == totalBarsWeight ? _self.totalBarsWeight : totalBarsWeight // ignore: cast_nullable_to_non_nullable
+as double?,totalEnteredBars: freezed == totalEnteredBars ? _self.totalEnteredBars : totalEnteredBars // ignore: cast_nullable_to_non_nullable
+as int?,totalEnteredBarsQuantity: freezed == totalEnteredBarsQuantity ? _self.totalEnteredBarsQuantity : totalEnteredBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalEnteredBarsWeight: freezed == totalEnteredBarsWeight ? _self.totalEnteredBarsWeight : totalEnteredBarsWeight // ignore: cast_nullable_to_non_nullable
+as double?,totalNotEnteredBars: freezed == totalNotEnteredBars ? _self.totalNotEnteredBars : totalNotEnteredBars // ignore: cast_nullable_to_non_nullable
+as int?,totalNotEnteredBarsQuantity: freezed == totalNotEnteredBarsQuantity ? _self.totalNotEnteredBarsQuantity : totalNotEnteredBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalNotEnteredKillHouseRequestsWeight: freezed == totalNotEnteredKillHouseRequestsWeight ? _self.totalNotEnteredKillHouseRequestsWeight : totalNotEnteredKillHouseRequestsWeight // ignore: cast_nullable_to_non_nullable
+as double?,totalRejectedBars: freezed == totalRejectedBars ? _self.totalRejectedBars : totalRejectedBars // ignore: cast_nullable_to_non_nullable
+as int?,totalRejectedBarsQuantity: freezed == totalRejectedBarsQuantity ? _self.totalRejectedBarsQuantity : totalRejectedBarsQuantity // ignore: cast_nullable_to_non_nullable
+as int?,totalRejectedBarsWeight: freezed == totalRejectedBarsWeight ? _self.totalRejectedBarsWeight : totalRejectedBarsWeight // ignore: cast_nullable_to_non_nullable
+as double?,
+ ));
+}
+
+
+}
+
+// dart format on
diff --git a/packages/chicken/lib/data/models/response/bar_information/bar_information.g.dart b/packages/chicken/lib/data/models/response/bar_information/bar_information.g.dart
new file mode 100644
index 0000000..51c1221
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/bar_information/bar_information.g.dart
@@ -0,0 +1,47 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'bar_information.dart';
+
+// **************************************************************************
+// JsonSerializableGenerator
+// **************************************************************************
+
+_BarInformation _$BarInformationFromJson(Map json) =>
+ _BarInformation(
+ totalBars: (json['total_bars'] as num?)?.toInt(),
+ totalBarsQuantity: (json['total_bars_quantity'] as num?)?.toInt(),
+ totalBarsWeight: (json['total_bars_weight'] as num?)?.toDouble(),
+ totalEnteredBars: (json['total_entered_bars'] as num?)?.toInt(),
+ totalEnteredBarsQuantity: (json['total_entered_bars_quantity'] as num?)
+ ?.toInt(),
+ totalEnteredBarsWeight: (json['total_entered_bars_weight'] as num?)
+ ?.toDouble(),
+ totalNotEnteredBars: (json['total_not_entered_bars'] as num?)?.toInt(),
+ totalNotEnteredBarsQuantity:
+ (json['total_not_entered_bars_quantity'] as num?)?.toInt(),
+ totalNotEnteredKillHouseRequestsWeight:
+ (json['total_not_entered_kill_house_requests_weight'] as num?)
+ ?.toDouble(),
+ totalRejectedBars: (json['total_rejected_bars'] as num?)?.toInt(),
+ totalRejectedBarsQuantity: (json['total_rejected_bars_quantity'] as num?)
+ ?.toInt(),
+ totalRejectedBarsWeight: (json['total_rejected_bars_weight'] as num?)
+ ?.toDouble(),
+ );
+
+Map _$BarInformationToJson(_BarInformation instance) =>
+ {
+ 'total_bars': instance.totalBars,
+ 'total_bars_quantity': instance.totalBarsQuantity,
+ 'total_bars_weight': instance.totalBarsWeight,
+ 'total_entered_bars': instance.totalEnteredBars,
+ 'total_entered_bars_quantity': instance.totalEnteredBarsQuantity,
+ 'total_entered_bars_weight': instance.totalEnteredBarsWeight,
+ 'total_not_entered_bars': instance.totalNotEnteredBars,
+ 'total_not_entered_bars_quantity': instance.totalNotEnteredBarsQuantity,
+ 'total_not_entered_kill_house_requests_weight':
+ instance.totalNotEnteredKillHouseRequestsWeight,
+ 'total_rejected_bars': instance.totalRejectedBars,
+ 'total_rejected_bars_quantity': instance.totalRejectedBarsQuantity,
+ 'total_rejected_bars_weight': instance.totalRejectedBarsWeight,
+ };
diff --git a/packages/chicken/lib/data/models/response/guild/guild_model.dart b/packages/chicken/lib/data/models/response/guild/guild_model.dart
new file mode 100644
index 0000000..22beee1
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/guild/guild_model.dart
@@ -0,0 +1,28 @@
+import 'package:freezed_annotation/freezed_annotation.dart';
+
+part 'guild_model.freezed.dart';
+part 'guild_model.g.dart';
+
+@freezed
+abstract class GuildModel with _$GuildModel {
+ const factory GuildModel({
+ String? key,
+ String? guildsName,
+ bool? steward,
+ User? user,
+ }) = _GuildModel;
+
+ factory GuildModel.fromJson(Map json) =>
+ _$GuildModelFromJson(json);
+}
+
+@freezed
+abstract class User with _$User {
+ const factory User({
+ String? fullname,
+ String? mobile,
+ String? city,
+ }) = _User;
+
+ factory User.fromJson(Map json) => _$UserFromJson(json);
+}
\ No newline at end of file
diff --git a/packages/chicken/lib/data/models/response/guild/guild_model.freezed.dart b/packages/chicken/lib/data/models/response/guild/guild_model.freezed.dart
new file mode 100644
index 0000000..1456502
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/guild/guild_model.freezed.dart
@@ -0,0 +1,320 @@
+// dart format width=80
+// coverage:ignore-file
+// GENERATED CODE - DO NOT MODIFY BY HAND
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
+
+part of 'guild_model.dart';
+
+// **************************************************************************
+// FreezedGenerator
+// **************************************************************************
+
+// dart format off
+T _$identity(T value) => value;
+
+/// @nodoc
+mixin _$GuildModel {
+
+ String? get key; String? get guildsName; bool? get steward; User? get user;
+/// Create a copy of GuildModel
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$GuildModelCopyWith get copyWith => _$GuildModelCopyWithImpl(this as GuildModel, _$identity);
+
+ /// Serializes this GuildModel to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is GuildModel&&(identical(other.key, key) || other.key == key)&&(identical(other.guildsName, guildsName) || other.guildsName == guildsName)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.user, user) || other.user == user));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,key,guildsName,steward,user);
+
+@override
+String toString() {
+ return 'GuildModel(key: $key, guildsName: $guildsName, steward: $steward, user: $user)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $GuildModelCopyWith<$Res> {
+ factory $GuildModelCopyWith(GuildModel value, $Res Function(GuildModel) _then) = _$GuildModelCopyWithImpl;
+@useResult
+$Res call({
+ String? key, String? guildsName, bool? steward, User? user
+});
+
+
+$UserCopyWith<$Res>? get user;
+
+}
+/// @nodoc
+class _$GuildModelCopyWithImpl<$Res>
+ implements $GuildModelCopyWith<$Res> {
+ _$GuildModelCopyWithImpl(this._self, this._then);
+
+ final GuildModel _self;
+ final $Res Function(GuildModel) _then;
+
+/// Create a copy of GuildModel
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? key = freezed,Object? guildsName = freezed,Object? steward = freezed,Object? user = freezed,}) {
+ return _then(_self.copyWith(
+key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,guildsName: freezed == guildsName ? _self.guildsName : guildsName // ignore: cast_nullable_to_non_nullable
+as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
+as bool?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
+as User?,
+ ));
+}
+/// Create a copy of GuildModel
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$UserCopyWith<$Res>? get user {
+ if (_self.user == null) {
+ return null;
+ }
+
+ return $UserCopyWith<$Res>(_self.user!, (value) {
+ return _then(_self.copyWith(user: value));
+ });
+}
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _GuildModel implements GuildModel {
+ const _GuildModel({this.key, this.guildsName, this.steward, this.user});
+ factory _GuildModel.fromJson(Map json) => _$GuildModelFromJson(json);
+
+@override final String? key;
+@override final String? guildsName;
+@override final bool? steward;
+@override final User? user;
+
+/// Create a copy of GuildModel
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$GuildModelCopyWith<_GuildModel> get copyWith => __$GuildModelCopyWithImpl<_GuildModel>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$GuildModelToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _GuildModel&&(identical(other.key, key) || other.key == key)&&(identical(other.guildsName, guildsName) || other.guildsName == guildsName)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.user, user) || other.user == user));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,key,guildsName,steward,user);
+
+@override
+String toString() {
+ return 'GuildModel(key: $key, guildsName: $guildsName, steward: $steward, user: $user)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$GuildModelCopyWith<$Res> implements $GuildModelCopyWith<$Res> {
+ factory _$GuildModelCopyWith(_GuildModel value, $Res Function(_GuildModel) _then) = __$GuildModelCopyWithImpl;
+@override @useResult
+$Res call({
+ String? key, String? guildsName, bool? steward, User? user
+});
+
+
+@override $UserCopyWith<$Res>? get user;
+
+}
+/// @nodoc
+class __$GuildModelCopyWithImpl<$Res>
+ implements _$GuildModelCopyWith<$Res> {
+ __$GuildModelCopyWithImpl(this._self, this._then);
+
+ final _GuildModel _self;
+ final $Res Function(_GuildModel) _then;
+
+/// Create a copy of GuildModel
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? key = freezed,Object? guildsName = freezed,Object? steward = freezed,Object? user = freezed,}) {
+ return _then(_GuildModel(
+key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,guildsName: freezed == guildsName ? _self.guildsName : guildsName // ignore: cast_nullable_to_non_nullable
+as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
+as bool?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
+as User?,
+ ));
+}
+
+/// Create a copy of GuildModel
+/// with the given fields replaced by the non-null parameter values.
+@override
+@pragma('vm:prefer-inline')
+$UserCopyWith<$Res>? get user {
+ if (_self.user == null) {
+ return null;
+ }
+
+ return $UserCopyWith<$Res>(_self.user!, (value) {
+ return _then(_self.copyWith(user: value));
+ });
+}
+}
+
+
+/// @nodoc
+mixin _$User {
+
+ String? get fullname; String? get mobile; String? get city;
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$UserCopyWith get copyWith => _$UserCopyWithImpl(this as User, _$identity);
+
+ /// Serializes this User to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.city, city) || other.city == city));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,fullname,mobile,city);
+
+@override
+String toString() {
+ return 'User(fullname: $fullname, mobile: $mobile, city: $city)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $UserCopyWith<$Res> {
+ factory $UserCopyWith(User value, $Res Function(User) _then) = _$UserCopyWithImpl;
+@useResult
+$Res call({
+ String? fullname, String? mobile, String? city
+});
+
+
+
+
+}
+/// @nodoc
+class _$UserCopyWithImpl<$Res>
+ implements $UserCopyWith<$Res> {
+ _$UserCopyWithImpl(this._self, this._then);
+
+ final User _self;
+ final $Res Function(User) _then;
+
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? fullname = freezed,Object? mobile = freezed,Object? city = freezed,}) {
+ return _then(_self.copyWith(
+fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
+as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
+as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+}
+
+
+/// @nodoc
+@JsonSerializable()
+
+class _User implements User {
+ const _User({this.fullname, this.mobile, this.city});
+ factory _User.fromJson(Map json) => _$UserFromJson(json);
+
+@override final String? fullname;
+@override final String? mobile;
+@override final String? city;
+
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@override @JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+_$UserCopyWith<_User> get copyWith => __$UserCopyWithImpl<_User>(this, _$identity);
+
+@override
+Map toJson() {
+ return _$UserToJson(this, );
+}
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is _User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.city, city) || other.city == city));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hash(runtimeType,fullname,mobile,city);
+
+@override
+String toString() {
+ return 'User(fullname: $fullname, mobile: $mobile, city: $city)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class _$UserCopyWith<$Res> implements $UserCopyWith<$Res> {
+ factory _$UserCopyWith(_User value, $Res Function(_User) _then) = __$UserCopyWithImpl;
+@override @useResult
+$Res call({
+ String? fullname, String? mobile, String? city
+});
+
+
+
+
+}
+/// @nodoc
+class __$UserCopyWithImpl<$Res>
+ implements _$UserCopyWith<$Res> {
+ __$UserCopyWithImpl(this._self, this._then);
+
+ final _User _self;
+ final $Res Function(_User) _then;
+
+/// Create a copy of User
+/// with the given fields replaced by the non-null parameter values.
+@override @pragma('vm:prefer-inline') $Res call({Object? fullname = freezed,Object? mobile = freezed,Object? city = freezed,}) {
+ return _then(_User(
+fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
+as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
+as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
+as String?,
+ ));
+}
+
+
+}
+
+// dart format on
diff --git a/packages/chicken/lib/data/models/response/guild/guild_model.g.dart b/packages/chicken/lib/data/models/response/guild/guild_model.g.dart
new file mode 100644
index 0000000..4b82c26
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/guild/guild_model.g.dart
@@ -0,0 +1,36 @@
+// GENERATED CODE - DO NOT MODIFY BY HAND
+
+part of 'guild_model.dart';
+
+// **************************************************************************
+// JsonSerializableGenerator
+// **************************************************************************
+
+_GuildModel _$GuildModelFromJson(Map json) => _GuildModel(
+ key: json['key'] as String?,
+ guildsName: json['guilds_name'] as String?,
+ steward: json['steward'] as bool?,
+ user: json['user'] == null
+ ? null
+ : User.fromJson(json['user'] as Map),
+);
+
+Map _$GuildModelToJson(_GuildModel instance) =>
+ {
+ 'key': instance.key,
+ 'guilds_name': instance.guildsName,
+ 'steward': instance.steward,
+ 'user': instance.user,
+ };
+
+_User _$UserFromJson(Map json) => _User(
+ fullname: json['fullname'] as String?,
+ mobile: json['mobile'] as String?,
+ city: json['city'] as String?,
+);
+
+Map _$UserToJson(_User instance) => {
+ 'fullname': instance.fullname,
+ 'mobile': instance.mobile,
+ 'city': instance.city,
+};
diff --git a/packages/chicken/lib/data/models/response/guild_profile/guild_profile.dart b/packages/chicken/lib/data/models/response/guild_profile/guild_profile.dart
new file mode 100644
index 0000000..4572332
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/guild_profile/guild_profile.dart
@@ -0,0 +1,160 @@
+import 'package:freezed_annotation/freezed_annotation.dart';
+
+part 'guild_profile.freezed.dart';
+part 'guild_profile.g.dart';
+
+@freezed
+abstract class GuildProfile with _$GuildProfile {
+ const factory GuildProfile({
+ int? id,
+ User? user,
+ Address? address,
+ GuildAreaActivity? guild_area_activity,
+ GuildTypeActivity? guild_type_activity,
+ List? kill_house,
+ List? steward_kill_house,
+ List? stewards,
+ GetPosStatus? get_pos_status,
+ String? key,
+ String? create_date,
+ String? modify_date,
+ bool? trash,
+ String? user_id_foreign_key,
+ String? address_id_foreign_key,
+ String? user_bank_id_foreign_key,
+ String? wallet_id_foreign_key,
+ String? provincial_government_id_key,
+ dynamic identity_documents,
+ bool? active,
+ int? city_number,
+ String? city_name,
+ String? guilds_id,
+ String? license_number,
+ String? guilds_name,
+ String? phone,
+ String? type_activity,
+ String? area_activity,
+ int? province_number,
+ String? province_name,
+ bool? steward,
+ bool? has_pos,
+ dynamic centers_allocation,
+ dynamic kill_house_centers_allocation,
+ dynamic allocation_limit,
+ bool? limitation_allocation,
+ String? registerar_role,
+ String? registerar_fullname,
+ String? registerar_mobile,
+ bool? kill_house_register,
+ bool? steward_register,
+ bool? guilds_room_register,
+ bool? pos_company_register,
+ String? province_accept_state,
+ String? province_message,
+ String? condition,
+ String? description_condition,
+ bool? steward_active,
+ dynamic steward_allocation_limit,
+ bool? steward_limitation_allocation,
+ bool? license,
+ dynamic license_form,
+ dynamic license_file,
+ String? reviewer_role,
+ String? reviewer_fullname,
+ String? reviewer_mobile,
+ String? checker_message,
+ bool? final_accept,
+ bool? temporary_registration,
+ String? created_by,
+ String? modified_by,
+ dynamic user_bank_info,
+ int? wallet,
+ List? cars,
+ List? user_level,
+ }) = _GuildProfile;
+
+ factory GuildProfile.fromJson(Map json) =>
+ _$GuildProfileFromJson(json);
+}
+
+@freezed
+abstract class User with _$User {
+ const factory User({
+ String? fullname,
+ String? first_name,
+ String? last_name,
+ String? mobile,
+ String? national_id,
+ String? city,
+ }) = _User;
+
+ factory User.fromJson(Map json) => _$UserFromJson(json);
+}
+
+@freezed
+abstract class Address with _$Address {
+ const factory Address({
+ Province? province,
+ City? city,
+ String? address,
+ String? postal_code,
+ }) = _Address;
+
+ factory Address.fromJson(Map json) =>
+ _$AddressFromJson(json);
+}
+
+@freezed
+abstract class Province with _$Province {
+ const factory Province({
+ String? key,
+ String? name,
+ }) = _Province;
+
+ factory Province.fromJson(Map json) =>
+ _$ProvinceFromJson(json);
+}
+
+@freezed
+abstract class City with _$City {
+ const factory City({
+ String? key,
+ String? name,
+ }) = _City;
+
+ factory City.fromJson(Map json) => _$CityFromJson(json);
+}
+
+@freezed
+abstract class GuildAreaActivity with _$GuildAreaActivity {
+ const factory GuildAreaActivity({
+ String? key,
+ String? title,
+ }) = _GuildAreaActivity;
+
+ factory GuildAreaActivity.fromJson(Map json) =>
+ _$GuildAreaActivityFromJson(json);
+}
+
+@freezed
+abstract class GuildTypeActivity with _$GuildTypeActivity {
+ const factory GuildTypeActivity({
+ String? key,
+ String? title,
+ }) = _GuildTypeActivity;
+
+ factory GuildTypeActivity.fromJson(Map json) =>
+ _$GuildTypeActivityFromJson(json);
+}
+
+@freezed
+abstract class GetPosStatus with _$GetPosStatus {
+ const factory GetPosStatus({
+ int? len_active_sessions,
+ bool? has_pons,
+ bool? has_active_pons,
+ }) = _GetPosStatus;
+
+ factory GetPosStatus.fromJson(Map json) =>
+ _$GetPosStatusFromJson(json);
+}
\ No newline at end of file
diff --git a/packages/chicken/lib/data/models/response/guild_profile/guild_profile.freezed.dart b/packages/chicken/lib/data/models/response/guild_profile/guild_profile.freezed.dart
new file mode 100644
index 0000000..12b9656
--- /dev/null
+++ b/packages/chicken/lib/data/models/response/guild_profile/guild_profile.freezed.dart
@@ -0,0 +1,1521 @@
+// dart format width=80
+// coverage:ignore-file
+// GENERATED CODE - DO NOT MODIFY BY HAND
+// ignore_for_file: type=lint
+// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
+
+part of 'guild_profile.dart';
+
+// **************************************************************************
+// FreezedGenerator
+// **************************************************************************
+
+// dart format off
+T _$identity(T value) => value;
+
+/// @nodoc
+mixin _$GuildProfile {
+
+ int? get id; User? get user; Address? get address; GuildAreaActivity? get guild_area_activity; GuildTypeActivity? get guild_type_activity; List? get kill_house; List? get steward_kill_house; List? get stewards; GetPosStatus? get get_pos_status; String? get key; String? get create_date; String? get modify_date; bool? get trash; String? get user_id_foreign_key; String? get address_id_foreign_key; String? get user_bank_id_foreign_key; String? get wallet_id_foreign_key; String? get provincial_government_id_key; dynamic get identity_documents; bool? get active; int? get city_number; String? get city_name; String? get guilds_id; String? get license_number; String? get guilds_name; String? get phone; String? get type_activity; String? get area_activity; int? get province_number; String? get province_name; bool? get steward; bool? get has_pos; dynamic get centers_allocation; dynamic get kill_house_centers_allocation; dynamic get allocation_limit; bool? get limitation_allocation; String? get registerar_role; String? get registerar_fullname; String? get registerar_mobile; bool? get kill_house_register; bool? get steward_register; bool? get guilds_room_register; bool? get pos_company_register; String? get province_accept_state; String? get province_message; String? get condition; String? get description_condition; bool? get steward_active; dynamic get steward_allocation_limit; bool? get steward_limitation_allocation; bool? get license; dynamic get license_form; dynamic get license_file; String? get reviewer_role; String? get reviewer_fullname; String? get reviewer_mobile; String? get checker_message; bool? get final_accept; bool? get temporary_registration; String? get created_by; String? get modified_by; dynamic get user_bank_info; int? get wallet; List? get cars; List? get user_level;
+/// Create a copy of GuildProfile
+/// with the given fields replaced by the non-null parameter values.
+@JsonKey(includeFromJson: false, includeToJson: false)
+@pragma('vm:prefer-inline')
+$GuildProfileCopyWith get copyWith => _$GuildProfileCopyWithImpl(this as GuildProfile, _$identity);
+
+ /// Serializes this GuildProfile to a JSON map.
+ Map toJson();
+
+
+@override
+bool operator ==(Object other) {
+ return identical(this, other) || (other.runtimeType == runtimeType&&other is GuildProfile&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.address, address) || other.address == address)&&(identical(other.guild_area_activity, guild_area_activity) || other.guild_area_activity == guild_area_activity)&&(identical(other.guild_type_activity, guild_type_activity) || other.guild_type_activity == guild_type_activity)&&const DeepCollectionEquality().equals(other.kill_house, kill_house)&&const DeepCollectionEquality().equals(other.steward_kill_house, steward_kill_house)&&const DeepCollectionEquality().equals(other.stewards, stewards)&&(identical(other.get_pos_status, get_pos_status) || other.get_pos_status == get_pos_status)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.user_id_foreign_key, user_id_foreign_key) || other.user_id_foreign_key == user_id_foreign_key)&&(identical(other.address_id_foreign_key, address_id_foreign_key) || other.address_id_foreign_key == address_id_foreign_key)&&(identical(other.user_bank_id_foreign_key, user_bank_id_foreign_key) || other.user_bank_id_foreign_key == user_bank_id_foreign_key)&&(identical(other.wallet_id_foreign_key, wallet_id_foreign_key) || other.wallet_id_foreign_key == wallet_id_foreign_key)&&(identical(other.provincial_government_id_key, provincial_government_id_key) || other.provincial_government_id_key == provincial_government_id_key)&&const DeepCollectionEquality().equals(other.identity_documents, identity_documents)&&(identical(other.active, active) || other.active == active)&&(identical(other.city_number, city_number) || other.city_number == city_number)&&(identical(other.city_name, city_name) || other.city_name == city_name)&&(identical(other.guilds_id, guilds_id) || other.guilds_id == guilds_id)&&(identical(other.license_number, license_number) || other.license_number == license_number)&&(identical(other.guilds_name, guilds_name) || other.guilds_name == guilds_name)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.type_activity, type_activity) || other.type_activity == type_activity)&&(identical(other.area_activity, area_activity) || other.area_activity == area_activity)&&(identical(other.province_number, province_number) || other.province_number == province_number)&&(identical(other.province_name, province_name) || other.province_name == province_name)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.has_pos, has_pos) || other.has_pos == has_pos)&&const DeepCollectionEquality().equals(other.centers_allocation, centers_allocation)&&const DeepCollectionEquality().equals(other.kill_house_centers_allocation, kill_house_centers_allocation)&&const DeepCollectionEquality().equals(other.allocation_limit, allocation_limit)&&(identical(other.limitation_allocation, limitation_allocation) || other.limitation_allocation == limitation_allocation)&&(identical(other.registerar_role, registerar_role) || other.registerar_role == registerar_role)&&(identical(other.registerar_fullname, registerar_fullname) || other.registerar_fullname == registerar_fullname)&&(identical(other.registerar_mobile, registerar_mobile) || other.registerar_mobile == registerar_mobile)&&(identical(other.kill_house_register, kill_house_register) || other.kill_house_register == kill_house_register)&&(identical(other.steward_register, steward_register) || other.steward_register == steward_register)&&(identical(other.guilds_room_register, guilds_room_register) || other.guilds_room_register == guilds_room_register)&&(identical(other.pos_company_register, pos_company_register) || other.pos_company_register == pos_company_register)&&(identical(other.province_accept_state, province_accept_state) || other.province_accept_state == province_accept_state)&&(identical(other.province_message, province_message) || other.province_message == province_message)&&(identical(other.condition, condition) || other.condition == condition)&&(identical(other.description_condition, description_condition) || other.description_condition == description_condition)&&(identical(other.steward_active, steward_active) || other.steward_active == steward_active)&&const DeepCollectionEquality().equals(other.steward_allocation_limit, steward_allocation_limit)&&(identical(other.steward_limitation_allocation, steward_limitation_allocation) || other.steward_limitation_allocation == steward_limitation_allocation)&&(identical(other.license, license) || other.license == license)&&const DeepCollectionEquality().equals(other.license_form, license_form)&&const DeepCollectionEquality().equals(other.license_file, license_file)&&(identical(other.reviewer_role, reviewer_role) || other.reviewer_role == reviewer_role)&&(identical(other.reviewer_fullname, reviewer_fullname) || other.reviewer_fullname == reviewer_fullname)&&(identical(other.reviewer_mobile, reviewer_mobile) || other.reviewer_mobile == reviewer_mobile)&&(identical(other.checker_message, checker_message) || other.checker_message == checker_message)&&(identical(other.final_accept, final_accept) || other.final_accept == final_accept)&&(identical(other.temporary_registration, temporary_registration) || other.temporary_registration == temporary_registration)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.user_bank_info, user_bank_info)&&(identical(other.wallet, wallet) || other.wallet == wallet)&&const DeepCollectionEquality().equals(other.cars, cars)&&const DeepCollectionEquality().equals(other.user_level, user_level));
+}
+
+@JsonKey(includeFromJson: false, includeToJson: false)
+@override
+int get hashCode => Object.hashAll([runtimeType,id,user,address,guild_area_activity,guild_type_activity,const DeepCollectionEquality().hash(kill_house),const DeepCollectionEquality().hash(steward_kill_house),const DeepCollectionEquality().hash(stewards),get_pos_status,key,create_date,modify_date,trash,user_id_foreign_key,address_id_foreign_key,user_bank_id_foreign_key,wallet_id_foreign_key,provincial_government_id_key,const DeepCollectionEquality().hash(identity_documents),active,city_number,city_name,guilds_id,license_number,guilds_name,phone,type_activity,area_activity,province_number,province_name,steward,has_pos,const DeepCollectionEquality().hash(centers_allocation),const DeepCollectionEquality().hash(kill_house_centers_allocation),const DeepCollectionEquality().hash(allocation_limit),limitation_allocation,registerar_role,registerar_fullname,registerar_mobile,kill_house_register,steward_register,guilds_room_register,pos_company_register,province_accept_state,province_message,condition,description_condition,steward_active,const DeepCollectionEquality().hash(steward_allocation_limit),steward_limitation_allocation,license,const DeepCollectionEquality().hash(license_form),const DeepCollectionEquality().hash(license_file),reviewer_role,reviewer_fullname,reviewer_mobile,checker_message,final_accept,temporary_registration,created_by,modified_by,const DeepCollectionEquality().hash(user_bank_info),wallet,const DeepCollectionEquality().hash(cars),const DeepCollectionEquality().hash(user_level)]);
+
+@override
+String toString() {
+ return 'GuildProfile(id: $id, user: $user, address: $address, guild_area_activity: $guild_area_activity, guild_type_activity: $guild_type_activity, kill_house: $kill_house, steward_kill_house: $steward_kill_house, stewards: $stewards, get_pos_status: $get_pos_status, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, user_id_foreign_key: $user_id_foreign_key, address_id_foreign_key: $address_id_foreign_key, user_bank_id_foreign_key: $user_bank_id_foreign_key, wallet_id_foreign_key: $wallet_id_foreign_key, provincial_government_id_key: $provincial_government_id_key, identity_documents: $identity_documents, active: $active, city_number: $city_number, city_name: $city_name, guilds_id: $guilds_id, license_number: $license_number, guilds_name: $guilds_name, phone: $phone, type_activity: $type_activity, area_activity: $area_activity, province_number: $province_number, province_name: $province_name, steward: $steward, has_pos: $has_pos, centers_allocation: $centers_allocation, kill_house_centers_allocation: $kill_house_centers_allocation, allocation_limit: $allocation_limit, limitation_allocation: $limitation_allocation, registerar_role: $registerar_role, registerar_fullname: $registerar_fullname, registerar_mobile: $registerar_mobile, kill_house_register: $kill_house_register, steward_register: $steward_register, guilds_room_register: $guilds_room_register, pos_company_register: $pos_company_register, province_accept_state: $province_accept_state, province_message: $province_message, condition: $condition, description_condition: $description_condition, steward_active: $steward_active, steward_allocation_limit: $steward_allocation_limit, steward_limitation_allocation: $steward_limitation_allocation, license: $license, license_form: $license_form, license_file: $license_file, reviewer_role: $reviewer_role, reviewer_fullname: $reviewer_fullname, reviewer_mobile: $reviewer_mobile, checker_message: $checker_message, final_accept: $final_accept, temporary_registration: $temporary_registration, created_by: $created_by, modified_by: $modified_by, user_bank_info: $user_bank_info, wallet: $wallet, cars: $cars, user_level: $user_level)';
+}
+
+
+}
+
+/// @nodoc
+abstract mixin class $GuildProfileCopyWith<$Res> {
+ factory $GuildProfileCopyWith(GuildProfile value, $Res Function(GuildProfile) _then) = _$GuildProfileCopyWithImpl;
+@useResult
+$Res call({
+ int? id, User? user, Address? address, GuildAreaActivity? guild_area_activity, GuildTypeActivity? guild_type_activity, List? kill_house, List? steward_kill_house, List? stewards, GetPosStatus? get_pos_status, String? key, String? create_date, String? modify_date, bool? trash, String? user_id_foreign_key, String? address_id_foreign_key, String? user_bank_id_foreign_key, String? wallet_id_foreign_key, String? provincial_government_id_key, dynamic identity_documents, bool? active, int? city_number, String? city_name, String? guilds_id, String? license_number, String? guilds_name, String? phone, String? type_activity, String? area_activity, int? province_number, String? province_name, bool? steward, bool? has_pos, dynamic centers_allocation, dynamic kill_house_centers_allocation, dynamic allocation_limit, bool? limitation_allocation, String? registerar_role, String? registerar_fullname, String? registerar_mobile, bool? kill_house_register, bool? steward_register, bool? guilds_room_register, bool? pos_company_register, String? province_accept_state, String? province_message, String? condition, String? description_condition, bool? steward_active, dynamic steward_allocation_limit, bool? steward_limitation_allocation, bool? license, dynamic license_form, dynamic license_file, String? reviewer_role, String? reviewer_fullname, String? reviewer_mobile, String? checker_message, bool? final_accept, bool? temporary_registration, String? created_by, String? modified_by, dynamic user_bank_info, int? wallet, List? cars, List? user_level
+});
+
+
+$UserCopyWith<$Res>? get user;$AddressCopyWith<$Res>? get address;$GuildAreaActivityCopyWith<$Res>? get guild_area_activity;$GuildTypeActivityCopyWith<$Res>? get guild_type_activity;$GetPosStatusCopyWith<$Res>? get get_pos_status;
+
+}
+/// @nodoc
+class _$GuildProfileCopyWithImpl<$Res>
+ implements $GuildProfileCopyWith<$Res> {
+ _$GuildProfileCopyWithImpl(this._self, this._then);
+
+ final GuildProfile _self;
+ final $Res Function(GuildProfile) _then;
+
+/// Create a copy of GuildProfile
+/// with the given fields replaced by the non-null parameter values.
+@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? user = freezed,Object? address = freezed,Object? guild_area_activity = freezed,Object? guild_type_activity = freezed,Object? kill_house = freezed,Object? steward_kill_house = freezed,Object? stewards = freezed,Object? get_pos_status = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? user_id_foreign_key = freezed,Object? address_id_foreign_key = freezed,Object? user_bank_id_foreign_key = freezed,Object? wallet_id_foreign_key = freezed,Object? provincial_government_id_key = freezed,Object? identity_documents = freezed,Object? active = freezed,Object? city_number = freezed,Object? city_name = freezed,Object? guilds_id = freezed,Object? license_number = freezed,Object? guilds_name = freezed,Object? phone = freezed,Object? type_activity = freezed,Object? area_activity = freezed,Object? province_number = freezed,Object? province_name = freezed,Object? steward = freezed,Object? has_pos = freezed,Object? centers_allocation = freezed,Object? kill_house_centers_allocation = freezed,Object? allocation_limit = freezed,Object? limitation_allocation = freezed,Object? registerar_role = freezed,Object? registerar_fullname = freezed,Object? registerar_mobile = freezed,Object? kill_house_register = freezed,Object? steward_register = freezed,Object? guilds_room_register = freezed,Object? pos_company_register = freezed,Object? province_accept_state = freezed,Object? province_message = freezed,Object? condition = freezed,Object? description_condition = freezed,Object? steward_active = freezed,Object? steward_allocation_limit = freezed,Object? steward_limitation_allocation = freezed,Object? license = freezed,Object? license_form = freezed,Object? license_file = freezed,Object? reviewer_role = freezed,Object? reviewer_fullname = freezed,Object? reviewer_mobile = freezed,Object? checker_message = freezed,Object? final_accept = freezed,Object? temporary_registration = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? user_bank_info = freezed,Object? wallet = freezed,Object? cars = freezed,Object? user_level = freezed,}) {
+ return _then(_self.copyWith(
+id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
+as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
+as User?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
+as Address?,guild_area_activity: freezed == guild_area_activity ? _self.guild_area_activity : guild_area_activity // ignore: cast_nullable_to_non_nullable
+as GuildAreaActivity?,guild_type_activity: freezed == guild_type_activity ? _self.guild_type_activity : guild_type_activity // ignore: cast_nullable_to_non_nullable
+as GuildTypeActivity?,kill_house: freezed == kill_house ? _self.kill_house : kill_house // ignore: cast_nullable_to_non_nullable
+as List?,steward_kill_house: freezed == steward_kill_house ? _self.steward_kill_house : steward_kill_house // ignore: cast_nullable_to_non_nullable
+as List?,stewards: freezed == stewards ? _self.stewards : stewards // ignore: cast_nullable_to_non_nullable
+as List?,get_pos_status: freezed == get_pos_status ? _self.get_pos_status : get_pos_status // ignore: cast_nullable_to_non_nullable
+as GetPosStatus?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
+as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
+as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
+as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
+as bool?,user_id_foreign_key: freezed == user_id_foreign_key ? _self.user_id_foreign_key : user_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as String?,address_id_foreign_key: freezed == address_id_foreign_key ? _self.address_id_foreign_key : address_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as String?,user_bank_id_foreign_key: freezed == user_bank_id_foreign_key ? _self.user_bank_id_foreign_key : user_bank_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as String?,wallet_id_foreign_key: freezed == wallet_id_foreign_key ? _self.wallet_id_foreign_key : wallet_id_foreign_key // ignore: cast_nullable_to_non_nullable
+as String?,provincial_government_id_key: freezed == provincial_government_id_key ? _self.provincial_government_id_key : provincial_government_id_key // ignore: cast_nullable_to_non_nullable
+as String?,identity_documents: freezed == identity_documents ? _self.identity_documents : identity_documents // ignore: cast_nullable_to_non_nullable
+as dynamic,active: freezed == active ? _self.active : active // ignore: cast_nullable_to_non_nullable
+as bool?,city_number: freezed == city_number ? _self.city_number : city_number // ignore: cast_nullable_to_non_nullable
+as int?,city_name: freezed == city_name ? _self.city_name : city_name // ignore: cast_nullable_to_non_nullable
+as String?,guilds_id: freezed == guilds_id ? _self.guilds_id : guilds_id // ignore: cast_nullable_to_non_nullable
+as String?,license_number: freezed == license_number ? _self.license_number : license_number // ignore: cast_nullable_to_non_nullable
+as String?,guilds_name: freezed == guilds_name ? _self.guilds_name : guilds_name // ignore: cast_nullable_to_non_nullable
+as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
+as String?,type_activity: freezed == type_activity ? _self.type_activity : type_activity // ignore: cast_nullable_to_non_nullable
+as String?,area_activity: freezed == area_activity ? _self.area_activity : area_activity // ignore: cast_nullable_to_non_nullable
+as String?,province_number: freezed == province_number ? _self.province_number : province_number // ignore: cast_nullable_to_non_nullable
+as int?,province_name: freezed == province_name ? _self.province_name : province_name // ignore: cast_nullable_to_non_nullable
+as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
+as bool?,has_pos: freezed == has_pos ? _self.has_pos : has_pos // ignore: cast_nullable_to_non_nullable
+as bool?,centers_allocation: freezed == centers_allocation ? _self.centers_allocation : centers_allocation // ignore: cast_nullable_to_non_nullable
+as dynamic,kill_house_centers_allocation: freezed == kill_house_centers_allocation ? _self.kill_house_centers_allocation : kill_house_centers_allocation // ignore: cast_nullable_to_non_nullable
+as dynamic,allocation_limit: freezed == allocation_limit ? _self.allocation_limit : allocation_limit // ignore: cast_nullable_to_non_nullable
+as dynamic,limitation_allocation: freezed == limitation_allocation ? _self.limitation_allocation : limitation_allocation // ignore: cast_nullable_to_non_nullable
+as bool?,registerar_role: freezed == registerar_role ? _self.registerar_role : registerar_role // ignore: cast_nullable_to_non_nullable
+as String?,registerar_fullname: freezed == registerar_fullname ? _self.registerar_fullname : registerar_fullname // ignore: cast_nullable_to_non_nullable
+as String?,registerar_mobile: freezed == registerar_mobile ? _self.registerar_mobile : registerar_mobile // ignore: cast_nullable_to_non_nullable
+as String?,kill_house_register: freezed == kill_house_register ? _self.kill_house_register : kill_house_register // ignore: cast_nullable_to_non_nullable
+as bool?,steward_register: freezed == steward_register ? _self.steward_register : steward_register // ignore: cast_nullable_to_non_nullable
+as bool?,guilds_room_register: freezed == guilds_room_register ? _self.guilds_room_register : guilds_room_register // ignore: cast_nullable_to_non_nullable
+as bool?,pos_company_register: freezed == pos_company_register ? _self.pos_company_register : pos_company_register // ignore: cast_nullable_to_non_nullable
+as bool?,province_accept_state: freezed == province_accept_state ? _self.province_accept_state : province_accept_state // ignore: cast_nullable_to_non_nullable
+as String?,province_message: freezed == province_message ? _self.province_message : province_message // ignore: cast_nullable_to_non_nullable
+as String?,condition: freezed == condition ? _self.condition : condition // ignore: cast_nullable_to_non_nullable
+as String?,description_condition: freezed == description_condition ? _self.description_condition : description_condition // ignore: cast_nullable_to_non_nullable
+as String?,steward_active: freezed == steward_active ? _self.steward_active : steward_active // ignore: cast_nullable_to_non_nullable
+as bool?,steward_allocation_limit: freezed == steward_allocation_limit ? _self.steward_allocation_limit : steward_allocation_limit // ignore: cast_nullable_to_non_nullable
+as dynamic,steward_limitation_allocation: freezed == steward_limitation_allocation ? _self.steward_limitation_allocation : steward_limitation_allocation // ignore: cast_nullable_to_non_nullable
+as bool?,license: freezed == license ? _self.license : license // ignore: cast_nullable_to_non_nullable
+as bool?,license_form: freezed == license_form ? _self.license_form : license_form // ignore: cast_nullable_to_non_nullable
+as dynamic,license_file: freezed == license_file ? _self.license_file : license_file // ignore: cast_nullable_to_non_nullable
+as dynamic,reviewer_role: freezed == reviewer_role ? _self.reviewer_role : reviewer_role // ignore: cast_nullable_to_non_nullable
+as String?,reviewer_fullname: freezed == reviewer_fullname ? _self.reviewer_fullname : reviewer_fullname // ignore: cast_nullable_to_non_nullable
+as String?,reviewer_mobile: freezed == reviewer_mobile ? _self.reviewer_mobile : reviewer_mobile // ignore: cast_nullable_to_non_nullable
+as String?,checker_message: freezed == checker_message ? _self.checker_message : checker_message // ignore: cast_nullable_to_non_nullable
+as String?,final_accept: freezed == final_accept ? _self.final_accept : final_accept // ignore: cast_nullable_to_non_nullable
+as bool?,temporary_registration: freezed == temporary_registration ? _self.temporary_registration : temporary_registration // ignore: cast_nullable_to_non_nullable
+as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
+as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
+as String?,user_bank_info: freezed == user_bank_info ? _self.user_bank_info : user_bank_info // ignore: cast_nullable_to_non_nullable
+as dynamic,wallet: freezed == wallet ? _self.wallet : wallet // ignore: cast_nullable_to_non_nullable
+as int?,cars: freezed == cars ? _self.cars : cars // ignore: cast_nullable_to_non_nullable
+as List