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

namespace Marco.Pms.Model.Projects
{
    public class WorkItemMapping : TenantRelation
    {
        public Guid Id { get; set; }
        public int WorkAreaId { get; set; }
        [ForeignKey("WorkAreaId")]
        [ValidateNever]
        public WorkArea? WorkArea { get; set; }
        public int WorkItemId { get; set; }
        [ForeignKey("WorkItemId")]
        [ValidateNever]
        public WorkItem? WorkItem { get; set; }
    }
}
