KPO_Course_Work/Address Directory/Contracts/StreetDTO.cs

14 lines
494 B
C#
Raw Normal View History

2024-12-18 02:14:21 +04:00
using Domain.Entities;
namespace Contracts
2024-12-08 22:57:55 +04:00
{
2024-12-12 00:18:00 +04:00
public record StreetDto(Guid Id, string Name, List<int>? HouseNumbers,
2024-12-18 02:14:21 +04:00
int Index, int OkatoCode, int TaxCode, Guid CityId,
string CityName
);
2024-12-12 00:18:00 +04:00
public record StreetDtoForCreate(string Name, List<int>? HouseNumbers,
2024-12-08 22:57:55 +04:00
int Index, int OkatoCode, int TaxCode, Guid CityId);
2024-12-12 00:18:00 +04:00
public record StreetDtoForUpdate(string Name, List<int>? HouseNumbers,
2024-12-08 22:57:55 +04:00
int Index, int OkatoCode, int TaxCode, Guid CityId);
}