sample project

This commit is contained in:
Phuoc Nguyen
2025-11-28 15:01:51 +07:00
parent ed6cc4cebc
commit 440b474504
11 changed files with 1071 additions and 343 deletions

View File

@@ -0,0 +1,26 @@
/// Sample Project Repository Interface
///
/// Defines contract for sample project data operations.
library;
import 'package:worker/features/showrooms/domain/entities/sample_project.dart';
/// Sample Project Repository
///
/// Repository interface for sample/model house project operations.
abstract class SampleProjectRepository {
/// Get list of sample/model house projects
///
/// Returns list of sample projects with 360° view links.
/// [limitStart] - Pagination offset
/// [limitPageLength] - Number of items per page (0 = all)
Future<List<SampleProject>> getSampleProjects({
int limitStart = 0,
int limitPageLength = 0,
});
/// Get detail of a sample/model house project by name
///
/// Returns full project detail with files_list for gallery.
Future<SampleProject> getSampleProjectDetail(String name);
}