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,62 @@
import { Entity, Column, PrimaryColumn, ManyToOne, JoinColumn } from "typeorm";
import { Pcpedc } from "./pcpedc.entity";
@Entity('PCPEDI')
export class Pcpedi {
@PrimaryColumn({ name: 'NUMPED' })
numped: number;
@PrimaryColumn({ name: 'CODPROD' })
codprod: number;
@PrimaryColumn({ name: 'NUMSEQ' })
numseq: number;
@Column({ name: 'DATA' })
data: Date;
@Column({ name: 'CODCLI' })
codcli: number;
@Column({ name: 'CODUSUR' })
codusur: number;
@Column({ name: 'QT' })
qt: number;
@Column({ name: 'PVENDA' })
pvenda: number;
@Column({ name: 'PTABELA' })
ptabela: number;
@Column({ name: 'NUMCAR' })
numcar: number;
@Column({ name: 'POSICAO' })
posicao: string;
@Column({ name: 'ST' })
st: number;
@Column({ name: 'PERDESC' })
perdesc: number;
@Column({ name: 'TIPOPESO' })
tipopeso: string;
@Column({ name: 'CODFILIALRETIRA' })
codfilialretira: string;
@Column({ name: 'QTEMBALAGEM' })
qtembalagem: number;
@Column({ name: 'CODAUXILIAR' })
codauxiliar: number;
@ManyToOne(type => Pcpedc, pcpedc => pcpedc.itens)
@JoinColumn({ name: 'NUMPED' })
pcpedc: Pcpedc;
}