|
|
@@ -24,8 +24,8 @@ export class OrderGoods {
|
|
|
@Column({ name: 'goods_type', type: 'int', default: 1, comment: '1实物产品2虚拟订单' })
|
|
|
goodsType!: number;
|
|
|
|
|
|
- @Column({ name: 'supplier_id', type: 'int', unsigned: true, default: 0, comment: '供货商id' })
|
|
|
- supplierId!: number;
|
|
|
+ @Column({ name: 'supplier_id', type: 'int', unsigned: true, nullable: true, comment: '供货商id' })
|
|
|
+ supplierId!: number | null;
|
|
|
|
|
|
@Column({ name: 'cost_price', type: 'decimal', precision: 10, scale: 2, default: 0.00, comment: '成本价' })
|
|
|
costPrice!: number;
|