MeetingDto.cs 840 B

123456789101112131415161718192021222324252627282930
  1. using Microsoft.AspNetCore.Http;
  2. using MTWorkHR.Core.Entities;
  3. using MTWorkHR.Core.Entities.Base;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. namespace MTWorkHR.Application.Models
  7. {
  8. public class MeetingDto : EntityDto
  9. {
  10. [Required]
  11. [MaxLength(250)]
  12. [Filter]
  13. public string Title { get; set; }
  14. [MaxLength(500)]
  15. [Filter]
  16. public string? Description { get; set; }
  17. public DateTime StartDate { get; set; }
  18. public DateTime EndDate { get; set; }
  19. [MaxLength(250)]
  20. public string? Location { get; set; }
  21. [MaxLength(250)]
  22. public string? MeetingLink { get; set; }
  23. public List<MeetingUserDto>? MeetingUsers { get; set; }
  24. public string? CreateUser { get; set; }
  25. }
  26. }