OrderAllocation.cs 821 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using MTWorkHR.Core.Entities.Base;
  9. namespace MTWorkHR.Core.Entities
  10. {
  11. public class OrderAllocation : AuditEntity, IHaveCompany
  12. {
  13. public int NumberOfDays { get; set; }
  14. [ForeignKey("OrderTypeId")]
  15. public OrderType OrderType { get; set; }
  16. public long OrderTypeId { get; set; }
  17. [ForeignKey("LeaveTypeId")]
  18. public LeaveType? LeaveType { get; set; }
  19. public long? LeaveTypeId { get; set; }
  20. public int Period { get; set; }
  21. [Filter]
  22. public string EmployeeId { get; set; }
  23. public long CompanyId { get; set; }
  24. }
  25. }