Commit 7ca3937b authored by Vladimir Trubachoff's avatar Vladimir Trubachoff

Fix order-line

parent 592e3a75
package com.example.testj.service.dto; package com.example.testj.service.dto;
public class OrderLineRequestDto { public class OrderLineRequestDto {
private Long order_id; private Long orderId;
private Long goods_id; private Long goodsId;
private int count; private int count;
public Long getOrderId() { public int getCount() {
return order_id; return count;
} }
public void setOrderId(Long orderId) { public void setCount(int count) {
order_id = orderId; this.count = count;
} }
public Long getGoodsId() { public Long getOrderId() {
return goods_id; return orderId;
} }
public void setGoodsId(Long goodsId) { public void setOrderId(Long orderId) {
goods_id = goodsId; this.orderId = orderId;
} }
public int getCount() { public Long getGoodsId() {
return count; return goodsId;
} }
public void setCount(int count) { public void setGoodsId(Long goodsId) {
this.count = count; this.goodsId = goodsId;
} }
} }
...@@ -16,7 +16,7 @@ export interface OrderLine { ...@@ -16,7 +16,7 @@ export interface OrderLine {
export interface OrderLineReq { export interface OrderLineReq {
id?: number; id?: number;
order_id: number; orderId: number;
goods_id: number; goodsId: number;
count: number; count: number;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment