Files
2026-10-08 10:43:59 +08:00

32 lines
864 B
C#

namespace F9WebAiTest.Application.Dtos;
public class RoleDto
{
public long Id { get; set; }
public string Name { get; set; }
public string Code { get; set; }
public string Description { get; set; }
public int Sort { get; set; }
public int Status { get; set; }
public int EmployeeCount { get; set; }
public DateTime CreatedAt { get; set; }
}
public class CreateRoleDto
{
public string Name { get; set; }
public string Code { get; set; }
public string Description { get; set; } = "";
public int Sort { get; set; }
public List<long> MenuIds { get; set; } = new();
}
public class UpdateRoleDto
{
public string Name { get; set; }
public string Description { get; set; } = "";
public int Sort { get; set; }
public int Status { get; set; } = 1;
public List<long> MenuIds { get; set; } = new();
}