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

namespace Marco.Pms.Model.DocumentManager
{
    public class AttachmentTagMapping : TenantRelation
    {

        public Guid Id { get; set; }
        public Guid DocumentTagId { get; set; }

        [ValidateNever]
        [ForeignKey("DocumentTagId")]
        public DocumentTagMaster? DocumentTag { get; set; }
        public Guid AttachmentId { get; set; }

        [ValidateNever]
        [ForeignKey("AttachmentId")]
        public DocumentAttachment? Attachment { get; set; }
    }
}
