MeetingDto.cs 1.0 KB

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