using Marco.Pms.Model.Master;
using Marco.Pms.Model.Utilities;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using System.ComponentModel.DataAnnotations.Schema;

namespace Marco.Pms.Model.DocumentManager
{
    public class DocumentCategoryMaster : TenantRelation
    {
        public Guid Id { get; set; }
        public string Name { get; set; } = string.Empty;
        public string Description { get; set; } = string.Empty;
        public Guid EntityTypeId { get; set; }

        [ValidateNever]
        [ForeignKey("EntityTypeId")]
        public EntityTypeMaster? EntityTypeMaster { get; set; }

        public DateTime CreatedAt { get; set; }
    }
}
