import 'package:freezed_annotation/freezed_annotation.dart';

part 'home_poultry_science_model.freezed.dart';
part 'home_poultry_science_model.g.dart';

@freezed
abstract class HomePoultryScienceModel with _$HomePoultryScienceModel {
  const factory HomePoultryScienceModel({
    int? farmCount,
    int? hatchingCount,
    int? hatchingQuantity,
    int? hatchingLeftOver,
    int? hatchingLosses,
    int? hatchingKilledQuantity,
    int? hatchingMaxAge,
    int? hatchingMinAge,
  }) = _HomePoultryScienceModel;

  factory HomePoultryScienceModel.fromJson(Map<String, dynamic> json) =>
      _$HomePoultryScienceModelFromJson(json);
}
