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

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

    public class UpdateBoardDto
    {
        [Required]
        public required string Name { get; set; }
    }

    public class BoardResponseDto
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public List<BoardMemberResponseDto> Members { get; set; }
    }

}
