update asset
This commit is contained in:
@ -32,7 +32,10 @@ export class AssetRequestOrder {
|
|||||||
@Column({ type: 'varchar', length: 50 })
|
@Column({ type: 'varchar', length: 50 })
|
||||||
type: string;
|
type: string;
|
||||||
|
|
||||||
@CreateDateColumn()
|
@Column({
|
||||||
|
type: 'date',
|
||||||
|
nullable: true,
|
||||||
|
})
|
||||||
request_at: Date;
|
request_at: Date;
|
||||||
|
|
||||||
@Column({ type: 'text', nullable: true })
|
@Column({ type: 'text', nullable: true })
|
||||||
|
|||||||
@ -20,10 +20,7 @@ export class AssetRequestOrderGood {
|
|||||||
|
|
||||||
@ManyToOne(() => AssetGood, { onDelete: 'CASCADE' })
|
@ManyToOne(() => AssetGood, { onDelete: 'CASCADE' })
|
||||||
@JoinTable()
|
@JoinTable()
|
||||||
goods: AssetGood;
|
good: AssetGood;
|
||||||
|
|
||||||
@Column({ type: 'varchar', length: 255 })
|
|
||||||
goods_name: string;
|
|
||||||
|
|
||||||
@Column({ type: 'int' })
|
@Column({ type: 'int' })
|
||||||
quantity: number;
|
quantity: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user