update asset

This commit is contained in:
fro1991
2025-02-12 12:48:18 +07:00
parent 99ee05027f
commit cd8363c337
2 changed files with 5 additions and 5 deletions

View File

@ -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 })

View File

@ -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;