using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Mutual_Transfer_Project.Models
{
public class MutualTransferRequest
{
[Key]
public int ID { get; set; }
public string Description { get; set; }
public bool IsAccepted { get; set; }
public DateTime Date { get; set; }
[ForeignKey("ResponceId")]
public int? ResponceId { get; set; }
public virtual MutualTransferRequest Responce { get; set; }
public ICollection<MutualTransferRequest> MutualTransferRequests { get; set; }
[ForeignKey("EmployeeId")]
public int? EmployeeId { get; set; }
public virtual Employee Employee { get; set; }
[ForeignKey("CityId")]
public int? CityId { get; set; }
public virtual City City { get; set; }
[ForeignKey("DesignationId")]
public int? DesignationId { get; set; }
public virtual Designation Designation { get; set; }
[ForeignKey("DepartmentId")]
public int? DepartmentId { get; set; }
public virtual Department Department { get; set; }
}
}