using System.ComponentModel.DataAnnotations;

namespace GerbilManagerWebAPI.Models
{
    /// <summary>A medical-log entry for a gerbil (Gesundheitseintrag).</summary>
    public class HealthRecord
    {
        [Key]
        public Guid Id { get; set; }
        public Guid GerbilId { get; set; }
        public DateOnly Date { get; set; }
        public HealthRecordType Type { get; set; }
        public required string Description { get; set; }
        public string? Veterinarian { get; set; }
        public DateTimeOffset CreatedAt { get; set; }
    }
}
