Initial commit
This commit is contained in:
18
lib/domain/entities/program_workout.dart
Normal file
18
lib/domain/entities/program_workout.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'program_workout.freezed.dart';
|
||||
|
||||
@freezed
|
||||
class ProgramWorkoutEntity with _$ProgramWorkoutEntity {
|
||||
const factory ProgramWorkoutEntity({
|
||||
required String id,
|
||||
required String weekId,
|
||||
required String programId,
|
||||
required String day,
|
||||
required String type,
|
||||
String? refId,
|
||||
String? name,
|
||||
String? description,
|
||||
@Default(false) bool completed,
|
||||
}) = _ProgramWorkoutEntity;
|
||||
}
|
||||
Reference in New Issue
Block a user