| | | 1 | | using Microsoft.EntityFrameworkCore; |
| | | 2 | | using Microsoft.Extensions.Logging; |
| | | 3 | | using System; |
| | | 4 | | using System.Collections.Generic; |
| | | 5 | | using System.Linq; |
| | | 6 | | using System.Text; |
| | | 7 | | using System.Threading.Tasks; |
| | | 8 | | using WinSolutions.Sveta.Server.Data.DataModel.Contexts; |
| | | 9 | | using WinSolutions.Sveta.Server.Data.DataModel.Entities; |
| | | 10 | | using WinSolutions.Sveta.Server.Services.Interfaces; |
| | | 11 | | using WinSolutions.Sveta.Server.Domain; |
| | | 12 | | using WinSolutions.Sveta.Common; |
| | | 13 | | |
| | | 14 | | namespace SVETA.Api.Data.DTO |
| | | 15 | | { |
| | | 16 | | public class ContragentKindResponseDTO |
| | | 17 | | { |
| | 0 | 18 | | public ContragentKindResponseDTO() { } |
| | 0 | 19 | | public ContragentKindResponseDTO(ContragentsKind data) |
| | 0 | 20 | | { |
| | 0 | 21 | | Id = data.Id; |
| | 0 | 22 | | Name = data.Name; |
| | 0 | 23 | | Code = data.Code; |
| | 0 | 24 | | Description = data.Description; |
| | 0 | 25 | | } |
| | | 26 | | |
| | 0 | 27 | | public long Id { get; set; } |
| | 0 | 28 | | public string Name { get; set; } |
| | 0 | 29 | | public string Code { get; set; } |
| | 0 | 30 | | public string Description { get; set; } |
| | | 31 | | } |
| | | 32 | | } |