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

namespace Marco.Pms.Model.Expenses
{
    public class ExpensesReimburse : TenantRelation
    {
        public Guid Id { get; set; }
        public string ReimburseTransactionId { get; set; } = string.Empty;
        public DateTime ReimburseDate { get; set; }
        public Guid ReimburseById { get; set; }

        [ValidateNever]
        [ForeignKey("ReimburseById")]
        public Employee? ReimburseBy { get; set; }
        public string ReimburseNote { get; set; } = string.Empty;
    }
}
