Incluida coluna tipo de endereço (NORMAL/PORTO/CONDOMINIO) no endereço do cliente
This commit is contained in:
@@ -1637,6 +1637,9 @@ export class Pcclient {
|
||||
@Column({ name: 'CODSUBCATEGORIA' })
|
||||
codsubcategoria: number;
|
||||
|
||||
@Column({ name: 'TIPOENDERECO' })
|
||||
tipoendereco: string;
|
||||
|
||||
@OneToMany(() => Pcnfsaid, notas => notas.pcclient)
|
||||
notas: Pcnfsaid[];
|
||||
|
||||
|
||||
@@ -76,6 +76,9 @@ export class Pcclientendent {
|
||||
@Column({name: 'CODPAISRECEBEDOR'})
|
||||
codpaisrecebedor: number;
|
||||
|
||||
@Column({name: 'TIPOENDERECO'})
|
||||
tipoendereco: string;
|
||||
|
||||
@OneToMany(() => Pcpedc, pedidos => pedidos.pcclientendent)
|
||||
pedidos: Pcpedc[];
|
||||
|
||||
|
||||
@@ -23,5 +23,6 @@ export class Address {
|
||||
emailRecebedor: string;
|
||||
latitude: number;
|
||||
longitude: number;
|
||||
addressType?: string;
|
||||
|
||||
}
|
||||
@@ -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,
|
||||
){}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user