using planli.backend.DTOs;
using planli.backend.Enums;
using planli.backend.planli.db.Model;
using System.ComponentModel.DataAnnotations;

namespace planli.backend.DTOs
{
    public class BoardAddMemberDto
    {
        [Required]
        public required string Email { get; set; }

        [Required]
        public BoardRole Role { get; set; }

    }
    public class BoardUpdateMemberDto
    {
        [Required]
        public BoardRole Role { get; set; }
    }

    public class BoardMemberResponseDto
    {
        public int UserId { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }
        public BoardRole Role { get; set; }
    }

}
