ContractTaskDto.cs 756 B

123456789101112131415161718192021222324252627
  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.Application.Models
  10. {
  11. public class ContractTaskDto : EntityDto
  12. {
  13. public long ContractId{ get; set; }
  14. //public ContractDto? Contract { get; set; }
  15. [Required]
  16. [MaxLength(250)]
  17. public string Title { get; set; }
  18. public DateTime? StartDate{ get; set; }
  19. public decimal? Amount { get; set; }
  20. public string? ScopeOfWork { get; set; }
  21. public List<ContractTaskAttachmentDto>? TaskAttachments { get; set; }
  22. }
  23. }