refactor: UI 일관성 개선 및 회사 타입 배지 통일
- 회사 리스트 화면의 배지를 ShadcnBadge 컴포넌트로 통일 - 본사(Blue)와 지점(Purple) 색상 차별화로 시각적 구분 강화 - 고객사(Orange), 파트너사(Green) 색상 체계 개선 - 장비/라이선스 관리 화면과 동일한 배지 스타일 적용 - 불필요한 문서 파일 정리 - 라이선스 만료 요약 모델 업데이트 - 리스트 화면들의 페이지네이션 및 필터링 로직 개선 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,12 +6,13 @@ part 'license_expiry_summary.g.dart';
|
||||
@freezed
|
||||
class LicenseExpirySummary with _$LicenseExpirySummary {
|
||||
const factory LicenseExpirySummary({
|
||||
@JsonKey(name: 'within_30_days') required int within30Days,
|
||||
@JsonKey(name: 'within_60_days') required int within60Days,
|
||||
@JsonKey(name: 'within_90_days') required int within90Days,
|
||||
@JsonKey(name: 'expired') required int expired,
|
||||
@JsonKey(name: 'total_active') required int totalActive,
|
||||
@JsonKey(name: 'licenses') required List<LicenseExpiryDetail> licenses,
|
||||
@JsonKey(name: 'expiring_30_days', defaultValue: 0) required int within30Days,
|
||||
@JsonKey(name: 'expiring_60_days', defaultValue: 0) required int within60Days,
|
||||
@JsonKey(name: 'expiring_90_days', defaultValue: 0) required int within90Days,
|
||||
@JsonKey(name: 'expired', defaultValue: 0) required int expired,
|
||||
@JsonKey(name: 'active', defaultValue: 0) required int totalActive,
|
||||
@JsonKey(name: 'licenses', defaultValue: []) required List<LicenseExpiryDetail> licenses,
|
||||
@JsonKey(name: 'expiring_7_days', defaultValue: 0) int? expiring7Days,
|
||||
}) = _LicenseExpirySummary;
|
||||
|
||||
factory LicenseExpirySummary.fromJson(Map<String, dynamic> json) =>
|
||||
|
||||
Reference in New Issue
Block a user