Changeset 4d67d70 for src/main/java/com/example/autopartz/model/manytomany/PartIsInStockInWarehouse.java
- Timestamp:
- 01/07/23 01:51:16 (23 months ago)
- Branches:
- main
- Children:
- ed7ef92
- Parents:
- 89865ae
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/manytomany/PartIsInStockInWarehouse.java
r89865ae r4d67d70 1 1 package com.example.autopartz.model.manytomany; 2 2 3 import lombok.Getter; 4 import lombok.RequiredArgsConstructor; 5 import lombok.Setter; 6 import lombok.ToString; 3 import lombok.*; 7 4 8 5 import javax.persistence.*; … … 12 9 @Setter 13 10 @ToString 14 @ RequiredArgsConstructor11 @NoArgsConstructor 15 12 @Table(name = "`part_is_in_stock_in_warehouse`") 16 13 @IdClass(PartIsInStockInWarehouseId.class) … … 24 21 @Column(name = "quantity_warehouse") 25 22 Integer quantity; 23 24 public PartIsInStockInWarehouse(Integer partid, Integer warehouseid, Integer quantity) { 25 this.partid = partid; 26 this.warehouseid = warehouseid; 27 this.quantity = quantity; 28 } 26 29 }
Note:
See TracChangeset
for help on using the changeset viewer.