backup: 사용하지 않는 파일 삭제 전 복구 지점
- 전체 371개 파일 중 82개 미사용 파일 식별 - Phase 1: 33개 파일 삭제 예정 (100% 안전) - Phase 2: 30개 파일 삭제 검토 예정 - Phase 3: 19개 파일 수동 검토 예정 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -582,22 +582,26 @@ EquipmentRequestDto _$EquipmentRequestDtoFromJson(Map<String, dynamic> json) {
|
||||
/// @nodoc
|
||||
mixin _$EquipmentRequestDto {
|
||||
@JsonKey(name: 'companies_id')
|
||||
int get companiesId => throw _privateConstructorUsedError;
|
||||
int? get companiesId =>
|
||||
throw _privateConstructorUsedError; // 백엔드: Option<i32>
|
||||
@JsonKey(name: 'models_id')
|
||||
int get modelsId => throw _privateConstructorUsedError;
|
||||
int? get modelsId => throw _privateConstructorUsedError; // 백엔드: Option<i32>
|
||||
@JsonKey(name: 'serial_number')
|
||||
String get serialNumber => throw _privateConstructorUsedError;
|
||||
String? get barcode => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'purchased_at')
|
||||
DateTime? get purchasedAt => throw _privateConstructorUsedError;
|
||||
DateTime get purchasedAt =>
|
||||
throw _privateConstructorUsedError; // UTC로 미리 변환해서 전달
|
||||
@JsonKey(name: 'purchase_price')
|
||||
int get purchasePrice => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'warranty_number')
|
||||
String get warrantyNumber => throw _privateConstructorUsedError;
|
||||
@JsonKey(name: 'warranty_started_at')
|
||||
DateTime get warrantyStartedAt => throw _privateConstructorUsedError;
|
||||
DateTime get warrantyStartedAt =>
|
||||
throw _privateConstructorUsedError; // UTC로 미리 변환해서 전달
|
||||
@JsonKey(name: 'warranty_ended_at')
|
||||
DateTime get warrantyEndedAt => throw _privateConstructorUsedError;
|
||||
DateTime get warrantyEndedAt =>
|
||||
throw _privateConstructorUsedError; // UTC로 미리 변환해서 전달
|
||||
String? get remark => throw _privateConstructorUsedError;
|
||||
|
||||
/// Serializes this EquipmentRequestDto to a JSON map.
|
||||
@@ -617,11 +621,11 @@ abstract class $EquipmentRequestDtoCopyWith<$Res> {
|
||||
_$EquipmentRequestDtoCopyWithImpl<$Res, EquipmentRequestDto>;
|
||||
@useResult
|
||||
$Res call(
|
||||
{@JsonKey(name: 'companies_id') int companiesId,
|
||||
@JsonKey(name: 'models_id') int modelsId,
|
||||
{@JsonKey(name: 'companies_id') int? companiesId,
|
||||
@JsonKey(name: 'models_id') int? modelsId,
|
||||
@JsonKey(name: 'serial_number') String serialNumber,
|
||||
String? barcode,
|
||||
@JsonKey(name: 'purchased_at') DateTime? purchasedAt,
|
||||
@JsonKey(name: 'purchased_at') DateTime purchasedAt,
|
||||
@JsonKey(name: 'purchase_price') int purchasePrice,
|
||||
@JsonKey(name: 'warranty_number') String warrantyNumber,
|
||||
@JsonKey(name: 'warranty_started_at') DateTime warrantyStartedAt,
|
||||
@@ -644,11 +648,11 @@ class _$EquipmentRequestDtoCopyWithImpl<$Res, $Val extends EquipmentRequestDto>
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? companiesId = null,
|
||||
Object? modelsId = null,
|
||||
Object? companiesId = freezed,
|
||||
Object? modelsId = freezed,
|
||||
Object? serialNumber = null,
|
||||
Object? barcode = freezed,
|
||||
Object? purchasedAt = freezed,
|
||||
Object? purchasedAt = null,
|
||||
Object? purchasePrice = null,
|
||||
Object? warrantyNumber = null,
|
||||
Object? warrantyStartedAt = null,
|
||||
@@ -656,14 +660,14 @@ class _$EquipmentRequestDtoCopyWithImpl<$Res, $Val extends EquipmentRequestDto>
|
||||
Object? remark = freezed,
|
||||
}) {
|
||||
return _then(_value.copyWith(
|
||||
companiesId: null == companiesId
|
||||
companiesId: freezed == companiesId
|
||||
? _value.companiesId
|
||||
: companiesId // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
modelsId: null == modelsId
|
||||
as int?,
|
||||
modelsId: freezed == modelsId
|
||||
? _value.modelsId
|
||||
: modelsId // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
as int?,
|
||||
serialNumber: null == serialNumber
|
||||
? _value.serialNumber
|
||||
: serialNumber // ignore: cast_nullable_to_non_nullable
|
||||
@@ -672,10 +676,10 @@ class _$EquipmentRequestDtoCopyWithImpl<$Res, $Val extends EquipmentRequestDto>
|
||||
? _value.barcode
|
||||
: barcode // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
purchasedAt: freezed == purchasedAt
|
||||
purchasedAt: null == purchasedAt
|
||||
? _value.purchasedAt
|
||||
: purchasedAt // ignore: cast_nullable_to_non_nullable
|
||||
as DateTime?,
|
||||
as DateTime,
|
||||
purchasePrice: null == purchasePrice
|
||||
? _value.purchasePrice
|
||||
: purchasePrice // ignore: cast_nullable_to_non_nullable
|
||||
@@ -709,11 +713,11 @@ abstract class _$$EquipmentRequestDtoImplCopyWith<$Res>
|
||||
@override
|
||||
@useResult
|
||||
$Res call(
|
||||
{@JsonKey(name: 'companies_id') int companiesId,
|
||||
@JsonKey(name: 'models_id') int modelsId,
|
||||
{@JsonKey(name: 'companies_id') int? companiesId,
|
||||
@JsonKey(name: 'models_id') int? modelsId,
|
||||
@JsonKey(name: 'serial_number') String serialNumber,
|
||||
String? barcode,
|
||||
@JsonKey(name: 'purchased_at') DateTime? purchasedAt,
|
||||
@JsonKey(name: 'purchased_at') DateTime purchasedAt,
|
||||
@JsonKey(name: 'purchase_price') int purchasePrice,
|
||||
@JsonKey(name: 'warranty_number') String warrantyNumber,
|
||||
@JsonKey(name: 'warranty_started_at') DateTime warrantyStartedAt,
|
||||
@@ -734,11 +738,11 @@ class __$$EquipmentRequestDtoImplCopyWithImpl<$Res>
|
||||
@pragma('vm:prefer-inline')
|
||||
@override
|
||||
$Res call({
|
||||
Object? companiesId = null,
|
||||
Object? modelsId = null,
|
||||
Object? companiesId = freezed,
|
||||
Object? modelsId = freezed,
|
||||
Object? serialNumber = null,
|
||||
Object? barcode = freezed,
|
||||
Object? purchasedAt = freezed,
|
||||
Object? purchasedAt = null,
|
||||
Object? purchasePrice = null,
|
||||
Object? warrantyNumber = null,
|
||||
Object? warrantyStartedAt = null,
|
||||
@@ -746,14 +750,14 @@ class __$$EquipmentRequestDtoImplCopyWithImpl<$Res>
|
||||
Object? remark = freezed,
|
||||
}) {
|
||||
return _then(_$EquipmentRequestDtoImpl(
|
||||
companiesId: null == companiesId
|
||||
companiesId: freezed == companiesId
|
||||
? _value.companiesId
|
||||
: companiesId // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
modelsId: null == modelsId
|
||||
as int?,
|
||||
modelsId: freezed == modelsId
|
||||
? _value.modelsId
|
||||
: modelsId // ignore: cast_nullable_to_non_nullable
|
||||
as int,
|
||||
as int?,
|
||||
serialNumber: null == serialNumber
|
||||
? _value.serialNumber
|
||||
: serialNumber // ignore: cast_nullable_to_non_nullable
|
||||
@@ -762,10 +766,10 @@ class __$$EquipmentRequestDtoImplCopyWithImpl<$Res>
|
||||
? _value.barcode
|
||||
: barcode // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
purchasedAt: freezed == purchasedAt
|
||||
purchasedAt: null == purchasedAt
|
||||
? _value.purchasedAt
|
||||
: purchasedAt // ignore: cast_nullable_to_non_nullable
|
||||
as DateTime?,
|
||||
as DateTime,
|
||||
purchasePrice: null == purchasePrice
|
||||
? _value.purchasePrice
|
||||
: purchasePrice // ignore: cast_nullable_to_non_nullable
|
||||
@@ -794,11 +798,11 @@ class __$$EquipmentRequestDtoImplCopyWithImpl<$Res>
|
||||
@JsonSerializable()
|
||||
class _$EquipmentRequestDtoImpl implements _EquipmentRequestDto {
|
||||
const _$EquipmentRequestDtoImpl(
|
||||
{@JsonKey(name: 'companies_id') required this.companiesId,
|
||||
@JsonKey(name: 'models_id') required this.modelsId,
|
||||
{@JsonKey(name: 'companies_id') this.companiesId,
|
||||
@JsonKey(name: 'models_id') this.modelsId,
|
||||
@JsonKey(name: 'serial_number') required this.serialNumber,
|
||||
this.barcode,
|
||||
@JsonKey(name: 'purchased_at') this.purchasedAt,
|
||||
@JsonKey(name: 'purchased_at') required this.purchasedAt,
|
||||
@JsonKey(name: 'purchase_price') this.purchasePrice = 0,
|
||||
@JsonKey(name: 'warranty_number') required this.warrantyNumber,
|
||||
@JsonKey(name: 'warranty_started_at') required this.warrantyStartedAt,
|
||||
@@ -810,10 +814,12 @@ class _$EquipmentRequestDtoImpl implements _EquipmentRequestDto {
|
||||
|
||||
@override
|
||||
@JsonKey(name: 'companies_id')
|
||||
final int companiesId;
|
||||
final int? companiesId;
|
||||
// 백엔드: Option<i32>
|
||||
@override
|
||||
@JsonKey(name: 'models_id')
|
||||
final int modelsId;
|
||||
final int? modelsId;
|
||||
// 백엔드: Option<i32>
|
||||
@override
|
||||
@JsonKey(name: 'serial_number')
|
||||
final String serialNumber;
|
||||
@@ -821,7 +827,8 @@ class _$EquipmentRequestDtoImpl implements _EquipmentRequestDto {
|
||||
final String? barcode;
|
||||
@override
|
||||
@JsonKey(name: 'purchased_at')
|
||||
final DateTime? purchasedAt;
|
||||
final DateTime purchasedAt;
|
||||
// UTC로 미리 변환해서 전달
|
||||
@override
|
||||
@JsonKey(name: 'purchase_price')
|
||||
final int purchasePrice;
|
||||
@@ -831,9 +838,11 @@ class _$EquipmentRequestDtoImpl implements _EquipmentRequestDto {
|
||||
@override
|
||||
@JsonKey(name: 'warranty_started_at')
|
||||
final DateTime warrantyStartedAt;
|
||||
// UTC로 미리 변환해서 전달
|
||||
@override
|
||||
@JsonKey(name: 'warranty_ended_at')
|
||||
final DateTime warrantyEndedAt;
|
||||
// UTC로 미리 변환해서 전달
|
||||
@override
|
||||
final String? remark;
|
||||
|
||||
@@ -901,11 +910,11 @@ class _$EquipmentRequestDtoImpl implements _EquipmentRequestDto {
|
||||
|
||||
abstract class _EquipmentRequestDto implements EquipmentRequestDto {
|
||||
const factory _EquipmentRequestDto(
|
||||
{@JsonKey(name: 'companies_id') required final int companiesId,
|
||||
@JsonKey(name: 'models_id') required final int modelsId,
|
||||
{@JsonKey(name: 'companies_id') final int? companiesId,
|
||||
@JsonKey(name: 'models_id') final int? modelsId,
|
||||
@JsonKey(name: 'serial_number') required final String serialNumber,
|
||||
final String? barcode,
|
||||
@JsonKey(name: 'purchased_at') final DateTime? purchasedAt,
|
||||
@JsonKey(name: 'purchased_at') required final DateTime purchasedAt,
|
||||
@JsonKey(name: 'purchase_price') final int purchasePrice,
|
||||
@JsonKey(name: 'warranty_number') required final String warrantyNumber,
|
||||
@JsonKey(name: 'warranty_started_at')
|
||||
@@ -919,10 +928,10 @@ abstract class _EquipmentRequestDto implements EquipmentRequestDto {
|
||||
|
||||
@override
|
||||
@JsonKey(name: 'companies_id')
|
||||
int get companiesId;
|
||||
int? get companiesId; // 백엔드: Option<i32>
|
||||
@override
|
||||
@JsonKey(name: 'models_id')
|
||||
int get modelsId;
|
||||
int? get modelsId; // 백엔드: Option<i32>
|
||||
@override
|
||||
@JsonKey(name: 'serial_number')
|
||||
String get serialNumber;
|
||||
@@ -930,7 +939,7 @@ abstract class _EquipmentRequestDto implements EquipmentRequestDto {
|
||||
String? get barcode;
|
||||
@override
|
||||
@JsonKey(name: 'purchased_at')
|
||||
DateTime? get purchasedAt;
|
||||
DateTime get purchasedAt; // UTC로 미리 변환해서 전달
|
||||
@override
|
||||
@JsonKey(name: 'purchase_price')
|
||||
int get purchasePrice;
|
||||
@@ -939,10 +948,10 @@ abstract class _EquipmentRequestDto implements EquipmentRequestDto {
|
||||
String get warrantyNumber;
|
||||
@override
|
||||
@JsonKey(name: 'warranty_started_at')
|
||||
DateTime get warrantyStartedAt;
|
||||
DateTime get warrantyStartedAt; // UTC로 미리 변환해서 전달
|
||||
@override
|
||||
@JsonKey(name: 'warranty_ended_at')
|
||||
DateTime get warrantyEndedAt;
|
||||
DateTime get warrantyEndedAt; // UTC로 미리 변환해서 전달
|
||||
@override
|
||||
String? get remark;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user