This commit is contained in:
Felipe Batista
2025-01-27 17:44:27 -03:00
commit 47e7f75720
238 changed files with 36425 additions and 0 deletions

View File

@@ -0,0 +1,82 @@
import { Pcpedc } from './pcpedc.entity';
import { Entity, Column, PrimaryColumn, OneToMany } from "typeorm";
@Entity('PCCLIENTENDENT')
export class Pcclientendent {
@PrimaryColumn({name: 'CODCLI'})
codcli: number;
@PrimaryColumn({name: 'CODENDENTCLI'})
codendentcli: number;
@Column({name: 'BAIRROENT'})
bairroent: string;
@Column({name: 'MUNICENT'})
municent: string;
@Column({name: 'ESTENT'})
estent: string;
@Column({name: 'CEPENT'})
cepent: string;
@Column({name: 'ENDERENT'})
enderent: string;
@Column({name: 'COMPLEMENTOENT'})
complementoent: string;
@Column({name: 'NUMEROENT'})
numeroent: string;
@Column({name: 'CODMUNICIPIO'})
codmunicipio: number;
@Column({name: 'CODCIDADE'})
codcidade: number;
@Column({name: 'PONTOREFER'})
pontorefer: string;
@Column({name: 'LONGITUDE'})
longitude: string;
@Column({name: 'LATITUDE'})
latitude: string;
@Column({name: 'OBSERVACAO'})
observacao: string;
@Column({name: 'FONERECEBEDOR'})
fonerecebedor: number;
@Column({name: 'TELENT'})
telent: string;
@Column({name: 'CODPRACAENT'})
codpracaent: number;
@Column({name: 'EMAILRECEBEDOR'})
emailRecebedor: string;
@Column({name: 'RAZAORECEBEDOR'})
razaorecebedor: string;
@Column({name: 'NUMREGIAO'})
numregiao: number;
@Column({name: 'FANTASIA'})
fantasia: string;
@Column({name: 'CEPRECEBEDOR'})
ceprecebedor: string;
@Column({name: 'CODPAISRECEBEDOR'})
codpaisrecebedor: number;
@OneToMany(() => Pcpedc, pedidos => pedidos.pcclientendent)
pedidos: Pcpedc[];
}