feat: добавил получение person id сотрудников
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 1m45s
All checks were successful
Create and publish a Docker image / Publish image (push) Successful in 1m45s
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace SfeduSchedule.DTO.Responses;
|
||||
|
||||
public record SearchPersonResponse(
|
||||
IReadOnlyList<SearchPerson> Persons
|
||||
);
|
||||
|
||||
public record SearchPerson(
|
||||
[property: JsonPropertyName("name")]
|
||||
string Name,
|
||||
[property: JsonPropertyName("person_id")]
|
||||
string PersonId
|
||||
);
|
||||
Reference in New Issue
Block a user