Incluida coluna tipo de endereço (NORMAL/PORTO/CONDOMINIO) no endereço do cliente

This commit is contained in:
eduardoestevao-appsoluti
2025-05-23 11:26:47 -03:00
parent 1bf75ed35c
commit 85012058e5
8 changed files with 48 additions and 7 deletions

View File

@@ -1637,6 +1637,9 @@ export class Pcclient {
@Column({ name: 'CODSUBCATEGORIA' })
codsubcategoria: number;
@Column({ name: 'TIPOENDERECO' })
tipoendereco: string;
@OneToMany(() => Pcnfsaid, notas => notas.pcclient)
notas: Pcnfsaid[];

View File

@@ -76,6 +76,9 @@ export class Pcclientendent {
@Column({name: 'CODPAISRECEBEDOR'})
codpaisrecebedor: number;
@Column({name: 'TIPOENDERECO'})
tipoendereco: string;
@OneToMany(() => Pcpedc, pedidos => pedidos.pcclientendent)
pedidos: Pcpedc[];

View File

@@ -23,5 +23,6 @@ export class Address {
emailRecebedor: string;
latitude: number;
longitude: number;
addressType?: string;
}

View File

@@ -19,14 +19,16 @@ export class Customer {
public category: Category,
public subCategory: SubCategory,
public place: Place,
public placeId: number,
public sellerId: number,
public ibgeCode: string,
public birthdate: Date,
public ramo: Ramo,
public birthdate?: Date,
public ramo?: Ramo,
public communicate?: string,
public idUser?: number,
public latitude?: number,
public longitude?: number,
public addressType?: string,
){}
}