using PARR.DAL.Models.Base;
using System.ComponentModel.DataAnnotations.Schema;

namespace PARR.DAL.Models
{
    [Table("ApplicationTypes")]
    public class ApplicationType : IBase
    {
        public Guid Id { get; set; }
        public DateTimeOffset DateCreated { get; set; }
        public DateTimeOffset? DateModified { get; set; }
        public required string Name { get; set; }
        public string? Description { get; set; }


        public ICollection<Application> Applications { get; set; } = new HashSet<Application>();
    }
}
