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

namespace Marco.Pms.Model.Expenses
{
    public class BillAttachments : TenantRelation
    {
        public Guid Id { get; set; }
        public Guid ExpensesId { get; set; }

        [ValidateNever]
        [ForeignKey("ExpensesId")]
        public Expenses? Expenses { get; set; }
        public Guid DocumentId { get; set; }

        [ValidateNever]
        [ForeignKey("DocumentId")]
        public Document? Document { get; set; }
    }
}
