first commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
namespace F9WebAiTest.Application.Dtos;
|
||||
|
||||
public class DepartmentDto
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public long? ParentId { get; set; }
|
||||
public long? LeaderId { get; set; }
|
||||
public string LeaderName { get; set; }
|
||||
public string Phone { get; set; }
|
||||
public int Sort { get; set; }
|
||||
public int Status { get; set; }
|
||||
public List<DepartmentDto> Children { get; set; } = new();
|
||||
}
|
||||
|
||||
public class CreateDepartmentDto
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public long? ParentId { get; set; }
|
||||
public long? LeaderId { get; set; }
|
||||
public string Phone { get; set; } = "";
|
||||
public int Sort { get; set; }
|
||||
}
|
||||
|
||||
public class UpdateDepartmentDto
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public long? ParentId { get; set; }
|
||||
public long? LeaderId { get; set; }
|
||||
public string Phone { get; set; } = "";
|
||||
public int Sort { get; set; }
|
||||
public int Status { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user