feat: killHouse action page
This commit is contained in:
@@ -92,7 +92,7 @@ Map<String, String?> getFaUserRoleWithOnTap(String? role) {
|
||||
case "ProvinceFinancial":
|
||||
return {"مالی اتحادیه": null};
|
||||
case "KillHouse":
|
||||
return {"کشتارگاه": null};
|
||||
return {"کشتارگاه": ChickenRoutes.initKillHouse};
|
||||
case "KillHouseVet":
|
||||
return {"دامپزشک کشتارگاه": null};
|
||||
case "VetFarm":
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'kill_request_response.freezed.dart';
|
||||
part 'kill_request_response.g.dart';
|
||||
|
||||
@freezed
|
||||
class KillRequestResponse with _$KillRequestResponse {
|
||||
const factory KillRequestResponse({
|
||||
int? killCapacity,
|
||||
String? reciveTime,
|
||||
String? reciveDate,
|
||||
bool? lowWeight,
|
||||
bool? highWeight,
|
||||
double? indexWeight,
|
||||
String? chickenBreed,
|
||||
bool? cash,
|
||||
bool? credit,
|
||||
bool? smsPayment,
|
||||
String? killHouseKey,
|
||||
String? killerKillHouseKey,
|
||||
String? role,
|
||||
}) = _KillRequestResponse;
|
||||
|
||||
factory KillRequestResponse.fromJson(Map<String, dynamic> json) =>
|
||||
_$KillRequestResponseFromJson(json);
|
||||
}
|
||||
@@ -15,7 +15,8 @@ T _$identity<T>(T value) => value;
|
||||
/// @nodoc
|
||||
mixin _$KillRegistrationRequest {
|
||||
|
||||
bool? get approvedPrice; bool? get market; String? get killReqKey; String? get operatorKey; String? get poultryHatchingKey; int? get quantity; String? get sendDate; String? get chickenBreed;@JsonKey(name: "Index_weight") double? get indexWeight; String? get losses; List<dynamic>? get auctionList; bool? get freezing; bool? get export; bool? get cash; bool? get credit; List<dynamic>? get killHouseList; String? get role; String? get poultryKey; int? get amount; String? get financialOperation; bool? get freeSaleInProvince; String? get confirmPoultryMobile;
|
||||
bool? get approvedPrice; bool? get market; String? get killReqKey; String? get operatorKey; String? get poultryHatchingKey; int? get quantity; String? get sendDate; String? get chickenBreed;// ignore: invalid_annotation_target
|
||||
@JsonKey(name: "Index_weight") double? get indexWeight; String? get losses; List<dynamic>? get auctionList; bool? get freezing; bool? get export; bool? get cash; bool? get credit; List<dynamic>? get killHouseList; String? get role; String? get poultryKey; int? get amount; String? get financialOperation; bool? get freeSaleInProvince; String? get confirmPoultryMobile;
|
||||
/// Create a copy of KillRegistrationRequest
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@@ -241,6 +242,7 @@ class _KillRegistrationRequest implements KillRegistrationRequest {
|
||||
@override final int? quantity;
|
||||
@override final String? sendDate;
|
||||
@override final String? chickenBreed;
|
||||
// ignore: invalid_annotation_target
|
||||
@override@JsonKey(name: "Index_weight") final double? indexWeight;
|
||||
@override final String? losses;
|
||||
final List<dynamic>? _auctionList;
|
||||
|
||||
@@ -15,7 +15,8 @@ T _$identity<T>(T value) => value;
|
||||
/// @nodoc
|
||||
mixin _$PoultryOrder {
|
||||
|
||||
String? get key; int? get id; Poultry? get poultry; int? get orderCode; String? get createDate; String? get sendDate; List<String>? get killHouseList; int? get firstQuantity; int? get quantity; bool? get directBuying; bool? get union; double? get amount; String? get financialOperation; int? get remainQuantity;@JsonKey(name: "Index_weight") double? get indexWeight; Hatching? get hatching; String? get finalState; int? get losses; String? get provinceState; String? get stateProcess; Registrar? get registrar; VetFarm? get vetFarm; bool? get freeSaleInProvince; bool? get freezing; bool? get export; String? get cityCheckRequest; bool? get market;
|
||||
String? get key; int? get id; Poultry? get poultry; int? get orderCode; String? get createDate; String? get sendDate; List<String>? get killHouseList; int? get firstQuantity; int? get quantity; bool? get directBuying; bool? get union; double? get amount; String? get financialOperation; int? get remainQuantity;// ignore: invalid_annotation_target
|
||||
@JsonKey(name: "Index_weight") double? get indexWeight; Hatching? get hatching; String? get finalState; int? get losses; String? get provinceState; String? get stateProcess; Registrar? get registrar; VetFarm? get vetFarm; bool? get freeSaleInProvince; bool? get freezing; bool? get export; String? get cityCheckRequest; bool? get market;
|
||||
/// Create a copy of PoultryOrder
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@@ -308,6 +309,7 @@ class _PoultryOrder implements PoultryOrder {
|
||||
@override final double? amount;
|
||||
@override final String? financialOperation;
|
||||
@override final int? remainQuantity;
|
||||
// ignore: invalid_annotation_target
|
||||
@override@JsonKey(name: "Index_weight") final double? indexWeight;
|
||||
@override final Hatching? hatching;
|
||||
@override final String? finalState;
|
||||
|
||||
Reference in New Issue
Block a user