Feat: Tipos de datos y Servicios
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export interface CreateSuscriptorDto {
|
||||
nombreCompleto: string;
|
||||
email?: string | null;
|
||||
telefono?: string | null;
|
||||
direccion: string;
|
||||
tipoDocumento: string;
|
||||
nroDocumento: string;
|
||||
cbu?: string | null;
|
||||
idFormaPagoPreferida: number;
|
||||
observaciones?: string | null;
|
||||
}
|
||||
5
Frontend/src/models/dtos/Suscripciones/FormaPagoDto.ts
Normal file
5
Frontend/src/models/dtos/Suscripciones/FormaPagoDto.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export interface FormaPagoDto {
|
||||
idFormaPago: number;
|
||||
nombre: string;
|
||||
requiereCBU: boolean;
|
||||
}
|
||||
14
Frontend/src/models/dtos/Suscripciones/SuscriptorDto.ts
Normal file
14
Frontend/src/models/dtos/Suscripciones/SuscriptorDto.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface SuscriptorDto {
|
||||
idSuscriptor: number;
|
||||
nombreCompleto: string;
|
||||
email?: string | null;
|
||||
telefono?: string | null;
|
||||
direccion: string;
|
||||
tipoDocumento: string;
|
||||
nroDocumento: string;
|
||||
cbu?: string | null;
|
||||
idFormaPagoPreferida: number;
|
||||
nombreFormaPagoPreferida: string;
|
||||
observaciones?: string | null;
|
||||
activo: boolean;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
export interface UpdateSuscriptorDto {
|
||||
nombreCompleto: string;
|
||||
email?: string | null;
|
||||
telefono?: string | null;
|
||||
direccion: string;
|
||||
tipoDocumento: string;
|
||||
nroDocumento: string;
|
||||
cbu?: string | null;
|
||||
idFormaPagoPreferida: number;
|
||||
observaciones?: string | null;
|
||||
}
|
||||
Reference in New Issue
Block a user