feat: update profit shareing
Build & Deploy iOS to TestFlight / build-and-deploy (push) Canceled after 0s
Build & Deploy iOS to TestFlight / build-and-deploy (push) Canceled after 0s
This commit is contained in:
@@ -15656,8 +15656,6 @@ ProfitSharingPercentageDto _$ProfitSharingPercentageDtoFromJson(
|
||||
|
||||
/// @nodoc
|
||||
mixin _$ProfitSharingPercentageDto {
|
||||
@JsonKey(name: 'purchase')
|
||||
num? get purchase => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'owner')
|
||||
num? get owner => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'team')
|
||||
@@ -15685,7 +15683,6 @@ abstract class $ProfitSharingPercentageDtoCopyWith<$Res> {
|
||||
>;
|
||||
@useResult
|
||||
$Res call({
|
||||
@JsonKey(name: 'purchase') num? purchase,
|
||||
@JsonKey(name: 'owner') num? owner,
|
||||
@JsonKey(name: 'team') num? team,
|
||||
});
|
||||
@@ -15708,17 +15705,9 @@ class _$ProfitSharingPercentageDtoCopyWithImpl<
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? purchase = freezed,
|
||||
Object? owner = freezed,
|
||||
Object? team = freezed,
|
||||
}) {
|
||||
$Res call({Object? owner = freezed, Object? team = freezed}) {
|
||||
return _then(
|
||||
_value.copyWith(
|
||||
purchase: freezed == purchase
|
||||
? _value.purchase
|
||||
: purchase // ignore: cast_nullable_to_non_nullable
|
||||
as num?,
|
||||
owner: freezed == owner
|
||||
? _value.owner
|
||||
: owner // ignore: cast_nullable_to_non_nullable
|
||||
@@ -15743,7 +15732,6 @@ abstract class _$$ProfitSharingPercentageDtoImplCopyWith<$Res>
|
||||
@override
|
||||
@useResult
|
||||
$Res call({
|
||||
@JsonKey(name: 'purchase') num? purchase,
|
||||
@JsonKey(name: 'owner') num? owner,
|
||||
@JsonKey(name: 'team') num? team,
|
||||
});
|
||||
@@ -15766,17 +15754,9 @@ class __$$ProfitSharingPercentageDtoImplCopyWithImpl<$Res>
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? purchase = freezed,
|
||||
Object? owner = freezed,
|
||||
Object? team = freezed,
|
||||
}) {
|
||||
$Res call({Object? owner = freezed, Object? team = freezed}) {
|
||||
return _then(
|
||||
_$ProfitSharingPercentageDtoImpl(
|
||||
purchase: freezed == purchase
|
||||
? _value.purchase
|
||||
: purchase // ignore: cast_nullable_to_non_nullable
|
||||
as num?,
|
||||
owner: freezed == owner
|
||||
? _value.owner
|
||||
: owner // ignore: cast_nullable_to_non_nullable
|
||||
@@ -15794,7 +15774,6 @@ class __$$ProfitSharingPercentageDtoImplCopyWithImpl<$Res>
|
||||
@JsonSerializable()
|
||||
class _$ProfitSharingPercentageDtoImpl extends _ProfitSharingPercentageDto {
|
||||
const _$ProfitSharingPercentageDtoImpl({
|
||||
@JsonKey(name: 'purchase') this.purchase,
|
||||
@JsonKey(name: 'owner') this.owner,
|
||||
@JsonKey(name: 'team') this.team,
|
||||
}) : super._();
|
||||
@@ -15803,9 +15782,6 @@ class _$ProfitSharingPercentageDtoImpl extends _ProfitSharingPercentageDto {
|
||||
Map<String, dynamic> json,
|
||||
) => _$$ProfitSharingPercentageDtoImplFromJson(json);
|
||||
|
||||
@override
|
||||
@JsonKey(name: 'purchase')
|
||||
final num? purchase;
|
||||
@override
|
||||
@JsonKey(name: 'owner')
|
||||
final num? owner;
|
||||
@@ -15815,7 +15791,7 @@ class _$ProfitSharingPercentageDtoImpl extends _ProfitSharingPercentageDto {
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'ProfitSharingPercentageDto(purchase: $purchase, owner: $owner, team: $team)';
|
||||
return 'ProfitSharingPercentageDto(owner: $owner, team: $team)';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -15823,15 +15799,13 @@ class _$ProfitSharingPercentageDtoImpl extends _ProfitSharingPercentageDto {
|
||||
return identical(this, other) ||
|
||||
(other.runtimeType == runtimeType &&
|
||||
other is _$ProfitSharingPercentageDtoImpl &&
|
||||
(identical(other.purchase, purchase) ||
|
||||
other.purchase == purchase) &&
|
||||
(identical(other.owner, owner) || other.owner == owner) &&
|
||||
(identical(other.team, team) || other.team == team));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType, purchase, owner, team);
|
||||
int get hashCode => Object.hash(runtimeType, owner, team);
|
||||
|
||||
/// Create a copy of ProfitSharingPercentageDto
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@@ -15852,7 +15826,6 @@ class _$ProfitSharingPercentageDtoImpl extends _ProfitSharingPercentageDto {
|
||||
|
||||
abstract class _ProfitSharingPercentageDto extends ProfitSharingPercentageDto {
|
||||
const factory _ProfitSharingPercentageDto({
|
||||
@JsonKey(name: 'purchase') final num? purchase,
|
||||
@JsonKey(name: 'owner') final num? owner,
|
||||
@JsonKey(name: 'team') final num? team,
|
||||
}) = _$ProfitSharingPercentageDtoImpl;
|
||||
@@ -15861,9 +15834,6 @@ abstract class _ProfitSharingPercentageDto extends ProfitSharingPercentageDto {
|
||||
factory _ProfitSharingPercentageDto.fromJson(Map<String, dynamic> json) =
|
||||
_$ProfitSharingPercentageDtoImpl.fromJson;
|
||||
|
||||
@override
|
||||
@JsonKey(name: 'purchase')
|
||||
num? get purchase;
|
||||
@override
|
||||
@JsonKey(name: 'owner')
|
||||
num? get owner;
|
||||
@@ -15895,8 +15865,6 @@ mixin _$ProfitSharingPeriodDto {
|
||||
num? get revenue => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'order_count')
|
||||
num? get orderCount => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'limit_purchase')
|
||||
num? get limitPurchase => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'sdl')
|
||||
num? get sdl => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'limit_team')
|
||||
@@ -15928,7 +15896,6 @@ abstract class $ProfitSharingPeriodDtoCopyWith<$Res> {
|
||||
@JsonKey(name: 'period_end') DateTime? periodEnd,
|
||||
@JsonKey(name: 'revenue') num? revenue,
|
||||
@JsonKey(name: 'order_count') num? orderCount,
|
||||
@JsonKey(name: 'limit_purchase') num? limitPurchase,
|
||||
@JsonKey(name: 'sdl') num? sdl,
|
||||
@JsonKey(name: 'limit_team') num? limitTeam,
|
||||
@JsonKey(name: 'month') String? month,
|
||||
@@ -15958,7 +15925,6 @@ class _$ProfitSharingPeriodDtoCopyWithImpl<
|
||||
Object? periodEnd = freezed,
|
||||
Object? revenue = freezed,
|
||||
Object? orderCount = freezed,
|
||||
Object? limitPurchase = freezed,
|
||||
Object? sdl = freezed,
|
||||
Object? limitTeam = freezed,
|
||||
Object? month = freezed,
|
||||
@@ -15982,10 +15948,6 @@ class _$ProfitSharingPeriodDtoCopyWithImpl<
|
||||
? _value.orderCount
|
||||
: orderCount // ignore: cast_nullable_to_non_nullable
|
||||
as num?,
|
||||
limitPurchase: freezed == limitPurchase
|
||||
? _value.limitPurchase
|
||||
: limitPurchase // ignore: cast_nullable_to_non_nullable
|
||||
as num?,
|
||||
sdl: freezed == sdl
|
||||
? _value.sdl
|
||||
: sdl // ignore: cast_nullable_to_non_nullable
|
||||
@@ -16022,7 +15984,6 @@ abstract class _$$ProfitSharingPeriodDtoImplCopyWith<$Res>
|
||||
@JsonKey(name: 'period_end') DateTime? periodEnd,
|
||||
@JsonKey(name: 'revenue') num? revenue,
|
||||
@JsonKey(name: 'order_count') num? orderCount,
|
||||
@JsonKey(name: 'limit_purchase') num? limitPurchase,
|
||||
@JsonKey(name: 'sdl') num? sdl,
|
||||
@JsonKey(name: 'limit_team') num? limitTeam,
|
||||
@JsonKey(name: 'month') String? month,
|
||||
@@ -16049,7 +16010,6 @@ class __$$ProfitSharingPeriodDtoImplCopyWithImpl<$Res>
|
||||
Object? periodEnd = freezed,
|
||||
Object? revenue = freezed,
|
||||
Object? orderCount = freezed,
|
||||
Object? limitPurchase = freezed,
|
||||
Object? sdl = freezed,
|
||||
Object? limitTeam = freezed,
|
||||
Object? month = freezed,
|
||||
@@ -16073,10 +16033,6 @@ class __$$ProfitSharingPeriodDtoImplCopyWithImpl<$Res>
|
||||
? _value.orderCount
|
||||
: orderCount // ignore: cast_nullable_to_non_nullable
|
||||
as num?,
|
||||
limitPurchase: freezed == limitPurchase
|
||||
? _value.limitPurchase
|
||||
: limitPurchase // ignore: cast_nullable_to_non_nullable
|
||||
as num?,
|
||||
sdl: freezed == sdl
|
||||
? _value.sdl
|
||||
: sdl // ignore: cast_nullable_to_non_nullable
|
||||
@@ -16106,7 +16062,6 @@ class _$ProfitSharingPeriodDtoImpl extends _ProfitSharingPeriodDto {
|
||||
@JsonKey(name: 'period_end') this.periodEnd,
|
||||
@JsonKey(name: 'revenue') this.revenue,
|
||||
@JsonKey(name: 'order_count') this.orderCount,
|
||||
@JsonKey(name: 'limit_purchase') this.limitPurchase,
|
||||
@JsonKey(name: 'sdl') this.sdl,
|
||||
@JsonKey(name: 'limit_team') this.limitTeam,
|
||||
@JsonKey(name: 'month') this.month,
|
||||
@@ -16129,9 +16084,6 @@ class _$ProfitSharingPeriodDtoImpl extends _ProfitSharingPeriodDto {
|
||||
@JsonKey(name: 'order_count')
|
||||
final num? orderCount;
|
||||
@override
|
||||
@JsonKey(name: 'limit_purchase')
|
||||
final num? limitPurchase;
|
||||
@override
|
||||
@JsonKey(name: 'sdl')
|
||||
final num? sdl;
|
||||
@override
|
||||
@@ -16146,7 +16098,7 @@ class _$ProfitSharingPeriodDtoImpl extends _ProfitSharingPeriodDto {
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'ProfitSharingPeriodDto(periodStart: $periodStart, periodEnd: $periodEnd, revenue: $revenue, orderCount: $orderCount, limitPurchase: $limitPurchase, sdl: $sdl, limitTeam: $limitTeam, month: $month, weekCount: $weekCount)';
|
||||
return 'ProfitSharingPeriodDto(periodStart: $periodStart, periodEnd: $periodEnd, revenue: $revenue, orderCount: $orderCount, sdl: $sdl, limitTeam: $limitTeam, month: $month, weekCount: $weekCount)';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -16161,8 +16113,6 @@ class _$ProfitSharingPeriodDtoImpl extends _ProfitSharingPeriodDto {
|
||||
(identical(other.revenue, revenue) || other.revenue == revenue) &&
|
||||
(identical(other.orderCount, orderCount) ||
|
||||
other.orderCount == orderCount) &&
|
||||
(identical(other.limitPurchase, limitPurchase) ||
|
||||
other.limitPurchase == limitPurchase) &&
|
||||
(identical(other.sdl, sdl) || other.sdl == sdl) &&
|
||||
(identical(other.limitTeam, limitTeam) ||
|
||||
other.limitTeam == limitTeam) &&
|
||||
@@ -16179,7 +16129,6 @@ class _$ProfitSharingPeriodDtoImpl extends _ProfitSharingPeriodDto {
|
||||
periodEnd,
|
||||
revenue,
|
||||
orderCount,
|
||||
limitPurchase,
|
||||
sdl,
|
||||
limitTeam,
|
||||
month,
|
||||
@@ -16210,7 +16159,6 @@ abstract class _ProfitSharingPeriodDto extends ProfitSharingPeriodDto {
|
||||
@JsonKey(name: 'period_end') final DateTime? periodEnd,
|
||||
@JsonKey(name: 'revenue') final num? revenue,
|
||||
@JsonKey(name: 'order_count') final num? orderCount,
|
||||
@JsonKey(name: 'limit_purchase') final num? limitPurchase,
|
||||
@JsonKey(name: 'sdl') final num? sdl,
|
||||
@JsonKey(name: 'limit_team') final num? limitTeam,
|
||||
@JsonKey(name: 'month') final String? month,
|
||||
@@ -16234,9 +16182,6 @@ abstract class _ProfitSharingPeriodDto extends ProfitSharingPeriodDto {
|
||||
@JsonKey(name: 'order_count')
|
||||
num? get orderCount;
|
||||
@override
|
||||
@JsonKey(name: 'limit_purchase')
|
||||
num? get limitPurchase;
|
||||
@override
|
||||
@JsonKey(name: 'sdl')
|
||||
num? get sdl;
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user