chore: add some
This commit is contained in:
@@ -18,12 +18,13 @@ export class InvoiceItem extends BaseEntity {
|
||||
@Column({ type: "int", nullable: false })
|
||||
count: number;
|
||||
|
||||
@Column({ type: "decimal", precision: 16, scale: 2, nullable: false, transformer: new DecimalTransformer() })
|
||||
unitPrice: Decimal;
|
||||
|
||||
@Column({ type: "int", nullable: false })
|
||||
discount: number;
|
||||
|
||||
//
|
||||
@Column({ type: "decimal", precision: 16, scale: 2, nullable: false, transformer: new DecimalTransformer() })
|
||||
unitPrice: Decimal;
|
||||
|
||||
@Column({ type: "decimal", precision: 16, scale: 2, nullable: false, transformer: new DecimalTransformer() })
|
||||
totalPrice: Decimal;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user