using Microsoft.AspNetCore.Http;
using MTWorkHR.Core.Entities;
using MTWorkHR.Core.Entities.Base;
using MTWorkHR.Core.Global;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MTWorkHR.Application.Models
{
    public class MeetingDto : EntityDto
    {
        [Required]
        [MaxLength(250)]
        [Filter]
        public string Title { get; set; }

        [MaxLength(500)]
        [Filter]
        public string? Description { get; set; }
        public DateTime MeetingDate { get; set; }
        public string StartTime { get; set; }
        public string EndTime { get; set; }
        public RepeatEnum RepeatId { get; set; } = 0;

        [MaxLength(250)]
        public string? Location { get; set; }
        [MaxLength(250)]
        public string? MeetingLink { get; set; }
        public List<string>? MeetingUserIds { get; set; }

        public List<MeetingUserDto>? MeetingUsers { get; set; }
        public string? CreateUser { get; set; }

    }
}
