ContractWorkingDay.cs 578 B

12345678910111213141516171819202122232425
  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 ContractWorkingDay : AuditEntity
  12. {
  13. public long ContractId{ get; set; }
  14. [ForeignKey("ContractId")]
  15. public Contract? Contract { get; set; }
  16. [Required]
  17. [MaxLength(50)]
  18. public string WorkingDay { get; set; }
  19. }
  20. }