Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Orders
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Vladimir Trubachoff
Orders
Commits
7ca3937b
Commit
7ca3937b
authored
Jul 01, 2024
by
Vladimir Trubachoff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix order-line
parent
592e3a75
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
OrderLineRequestDto.java
...va/com/example/testj/service/dto/OrderLineRequestDto.java
+14
-14
order.model.ts
src/main/webapp/src/app/core/model/order.model.ts
+2
-2
No files found.
src/main/java/com/example/testj/service/dto/OrderLineRequestDto.java
View file @
7ca3937b
package
com
.
example
.
testj
.
service
.
dto
;
package
com
.
example
.
testj
.
service
.
dto
;
public
class
OrderLineRequestDto
{
public
class
OrderLineRequestDto
{
private
Long
order
_i
d
;
private
Long
order
I
d
;
private
Long
goods
_i
d
;
private
Long
goods
I
d
;
private
int
count
;
private
int
count
;
public
Long
getOrderId
()
{
public
int
getCount
()
{
return
order_id
;
return
count
;
}
}
public
void
set
OrderId
(
Long
orderId
)
{
public
void
set
Count
(
int
count
)
{
order_id
=
orderId
;
this
.
count
=
count
;
}
}
public
Long
get
Goods
Id
()
{
public
Long
get
Order
Id
()
{
return
goods_i
d
;
return
orderI
d
;
}
}
public
void
set
GoodsId
(
Long
goods
Id
)
{
public
void
set
OrderId
(
Long
order
Id
)
{
goods_id
=
goods
Id
;
this
.
orderId
=
order
Id
;
}
}
public
int
getCount
()
{
public
Long
getGoodsId
()
{
return
count
;
return
goodsId
;
}
}
public
void
set
Count
(
int
count
)
{
public
void
set
GoodsId
(
Long
goodsId
)
{
this
.
count
=
count
;
this
.
goodsId
=
goodsId
;
}
}
}
}
src/main/webapp/src/app/core/model/order.model.ts
View file @
7ca3937b
...
@@ -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
_i
d
:
number
;
order
I
d
:
number
;
goods
_i
d
:
number
;
goods
I
d
:
number
;
count
:
number
;
count
:
number
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment