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

namespace Marco.Pms.Model.Directory
{
    public class EmployeeBucketMapping
    {
        public Guid Id { get; set; }
        public Guid BucketId { get; set; }
        [ValidateNever]
        [ForeignKey("BucketId")]
        public Bucket? Bucket { get; set; }
        public Guid EmployeeId { get; set; }
        [ValidateNever]
        [ForeignKey("EmployeeId")]
        public Employee? Employee { get; set; }
    }
}
