using System.ComponentModel.DataAnnotations; namespace GerbilManagerWebAPI.Models { /// A litter (Wurf). Parents are gerbils; juveniles are Gerbils linked via Gerbil.LitterId. public class Litter { [Key] public Guid Id { get; set; } public required string Name { get; set; } public DateOnly Date { get; set; } /// Total born count (was "Strength"). public int? TotalBorn { get; set; } public Guid? FatherId { get; set; } public Gerbil? Father { get; set; } public Guid? MotherId { get; set; } public Gerbil? Mother { get; set; } /// Computed ~35 days after Date by default; editable. public DateOnly? ExpectedGoHomeDate { get; set; } public string? Notes { get; set; } } }