main
Last change
on this file since 9dcbf44 was 1bd8d1e, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago |
Added views and functionalities for deliveryman, warehouseman and admin
|
-
Property mode
set to
100644
|
File size:
568 bytes
|
Line | |
---|
1 | package com.example.autopartz.model.manytomany;
|
---|
2 |
|
---|
3 | import lombok.Getter;
|
---|
4 | import lombok.RequiredArgsConstructor;
|
---|
5 | import lombok.Setter;
|
---|
6 | import lombok.ToString;
|
---|
7 |
|
---|
8 | import javax.persistence.*;
|
---|
9 |
|
---|
10 | @Entity
|
---|
11 | @Getter
|
---|
12 | @Setter
|
---|
13 | @ToString
|
---|
14 | @RequiredArgsConstructor
|
---|
15 | @Table(name = "`part_is_in_stock_in_warehouse`")
|
---|
16 | @IdClass(PartIsInStockInWarehouseId.class)
|
---|
17 | public class PartIsInStockInWarehouse {
|
---|
18 | @Id
|
---|
19 | @Column(name = "id_part")
|
---|
20 | Integer partid;
|
---|
21 | @Column(name = "id_warehouse")
|
---|
22 | @Id
|
---|
23 | Integer warehouseid;
|
---|
24 | @Column(name = "quantity_warehouse")
|
---|
25 | Integer quantity;
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.