using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace TaskTrackingSystem.Shared.Models.Role
{
public class CreateRoleDto
{
[Required, MaxLength(50)]
public string Name { get; set; } = string.Empty;
[MaxLength(200)]
public string? Description { get; set; }
///
/// Optional: Menu and permission codes to assign to this role on creation.
///
public List AccessCodes { get; set; } = new();
}
}