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