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

namespace Marco.Pms.Model.DocumentManager
{
    public class DocumentAttachmentMapping : TenantRelation
    {
        public Guid Id { get; set; }
        
        public Guid AttachmentId { get; set; }

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