diff --git a/models/OrderDish.d.ts b/models/OrderDish.d.ts index e34ae1ee..39ee9035 100644 --- a/models/OrderDish.d.ts +++ b/models/OrderDish.d.ts @@ -14,23 +14,23 @@ declare let attributes: { modifiers: OrderModifier[]; /** */ order: any; - /** Количество уникальных блюд в корзине */ + /** The number of unique dishes in the basket */ uniqueItems: number; - /** цена позиции */ + /** Position price*/ itemTotal: number; - /** цена позиции до применения скидок */ + /** Position price before the use of discounts */ itemTotalBeforeDiscount: string; - /**Общая сумма скидки */ + /**The total amount of the discount */ discountTotal: number; - /** Тип скидки */ + /** Type discount */ discountType: string; - /** Сумма скидки */ + /** Discount amount */ discountAmount: string; - /** Сообщение скидки */ + /** postDiscounts */ discountMessage: string; /** Comment to dish in order */ comment: string; - /** Метка кто добавил */ + /** The label who added */ addedBy: string; /** Вес */ weight: number; diff --git a/models/OrderDish.js b/models/OrderDish.js index 74ba344b..32e69b5c 100644 --- a/models/OrderDish.js +++ b/models/OrderDish.js @@ -21,23 +21,23 @@ let attributes = { order: { model: "Order", }, - /** Количество уникальных блюд в корзине */ + /** The number of unique dishes in the basket */ uniqueItems: "number", - /** цена позиции */ + /** Position price*/ itemTotal: "number", - /** цена позиции до применения скидок */ + /** Position price before the use of discounts */ itemTotalBeforeDiscount: "number", - /**Общая сумма скидки */ + /**The total amount of the discount */ discountTotal: "number", - /** Тип скидки */ + /** Type discount */ discountType: 'string', - /** Сумма скидки */ + /** Discount amount */ discountAmount: "number", - /** Сообщение скидки */ + /** postDiscounts */ discountMessage: "string", /** Comment to dish in order */ comment: "string", - /** Метка кто добавил */ + /** The label who added */ addedBy: { type: "string", defaultsTo: "user",