commit
This commit is contained in:
62
src/domain/entity/tables/pcpedi.entity.ts
Normal file
62
src/domain/entity/tables/pcpedi.entity.ts
Normal 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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user