2026-01-30 15:34:23 +00:00
|
|
|
namespace DoliMiddlewareApi.Dtos.Dolibarr;
|
|
|
|
|
|
|
|
|
|
public class ContactResponse
|
|
|
|
|
{
|
|
|
|
|
public string? id { get; set; }
|
|
|
|
|
public string? lastname { get; set; }
|
|
|
|
|
public string? firstname { get; set; }
|
|
|
|
|
public string? email { get; set; }
|
|
|
|
|
public string? phone_pro { get; set; }
|
|
|
|
|
public string? phone_perso { get; set; }
|
|
|
|
|
public string? phone_mobile { get; set; }
|
|
|
|
|
public string? fk_soc { 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? civility_code { get; set; }
|
|
|
|
|
public string? statut { get; set; }
|
2026-01-30 15:34:23 +00:00
|
|
|
}
|