ContractTask.cs 777 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 ContractTask : AuditEntity
  12. {
  13. public long ContractId{ get; set; }
  14. [ForeignKey("ContractId")]
  15. public Contract? Contract { get; set; }
  16. [Required]
  17. [MaxLength(250)]
  18. public string Title { get; set; }
  19. public DateTime? StartDate{ get; set; }
  20. public decimal? Amount { get; set; }
  21. public string? ScopeOfWork { get; set; }
  22. public List<ContractTaskAttachment>? TaskAttachments { get; set; }
  23. }
  24. }