create submission

This commit is contained in:
Phuoc Nguyen
2025-11-27 16:56:01 +07:00
parent ba04576750
commit b6cb9e865a
18 changed files with 1445 additions and 138 deletions

View File

@@ -0,0 +1,35 @@
/// Project Progress Entity
///
/// Represents a construction progress stage from the API.
/// Used for dropdown selection when creating/updating project submissions.
library;
import 'package:equatable/equatable.dart';
/// Project Progress Entity
///
/// Contains construction progress stages:
/// - Chưa khởi công (Not started)
/// - Khởi công móng (Foundation started)
/// - Đang phần thô (Rough construction)
/// - Đang hoàn thiện (Finishing)
/// - Cất nóc (Roofing complete)
/// - Hoàn thiện (Completed)
class ProjectProgress extends Equatable {
/// Unique identifier (API: name)
final String id;
/// Progress status label in Vietnamese (API: status)
final String status;
const ProjectProgress({
required this.id,
required this.status,
});
@override
List<Object?> get props => [id, status];
@override
String toString() => 'ProjectProgress(id: $id, status: $status)';
}