first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user