source: src/main/java/com/example/autopartz/model/manytomany/PartIsInStockInWarehouse.java@ 9dcbf44

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 
1package com.example.autopartz.model.manytomany;
2
3import lombok.Getter;
4import lombok.RequiredArgsConstructor;
5import lombok.Setter;
6import lombok.ToString;
7
8import 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)
17public 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.