2026-01-30 15:34:23 +00:00
|
|
|
namespace DoliMiddlewareApi.Dtos.Dolibarr;
|
|
|
|
|
|
|
|
|
|
public class ClientResponse
|
|
|
|
|
{
|
|
|
|
|
public string? id { get; set; }
|
|
|
|
|
public string? name { get; set; }
|
|
|
|
|
public string? code_client { get; set; }
|
2026-02-05 13:25:13 +00:00
|
|
|
public string? typent_code { get; set; }
|
|
|
|
|
public string? status { get; set; }
|
2026-01-30 15:34:23 +00:00
|
|
|
public string? email { get; set; }
|
|
|
|
|
public string? phone { get; set; }
|
feat: add DTOs, Dolibarr response types and mappers for Contacts, Clients, Setup and invoice lines
- New command DTOs: CreateClientDto, UpdateClientDto, CreateContactDto,
UpdateContactDto, UpdateInvoiceLineDto
- New query DTOs: ClientDetailDto, ContactDetailDto, Setup dictionaries
(PaymentTypeDto, CountryDto, CivilityDto, ContactTypeDto,
PaymentTermDto, CompanyDto)
- New Dolibarr response types for setup endpoints
- SetupMapper for all dictionary transforms
- Extended ClientResponse and ContactResponse with additional fields
(address, town, zip, country_code, note_public, note_private, etc.)
- ClientMapper: added MapToClientDetailDto for GET /Clients/{id}
- ContactMapper: added MapToContactDetailDto for GET /Contacts/{id}
2026-05-15 16:58:26 +00:00
|
|
|
public string? address { get; set; }
|
|
|
|
|
public string? zip { get; set; }
|
|
|
|
|
public string? town { get; set; }
|
|
|
|
|
public string? country_code { get; set; }
|
|
|
|
|
public string? tva_intra { get; set; }
|
|
|
|
|
public string? url { get; set; }
|
|
|
|
|
public string? note_public { get; set; }
|
|
|
|
|
public string? note_private { get; set; }
|
|
|
|
|
public string? client { get; set; }
|
2026-05-29 14:35:17 +00:00
|
|
|
public string? fournisseur { get; set; }
|
2026-01-30 15:34:23 +00:00
|
|
|
}
|