using System.ComponentModel.DataAnnotations;
using SteUp.Shared.Core.Enum;

namespace SteUp.Shared.Core.Entities;

public class Ispezione : EntityBase<Ispezione>
{
    [Required]
    public string CodMdep { get; set; } = string.Empty;
    public DateTime Data { get; set; }
    [Required]
    public string Rilevatore { get; set; } = string.Empty;

    public string? ActivityId { get; set; }
    
    public StatusEnum Stato { get; set; } = StatusEnum.InCorso;

    public List<Scheda> Schede { get; set; } = [];
}