Ignore:
Timestamp:
01/07/23 01:51:16 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
ed7ef92
Parents:
89865ae
Message:

Final touches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/model/manytomany/PartIsInStockInWarehouse.java

    r89865ae r4d67d70  
    11package com.example.autopartz.model.manytomany;
    22
    3 import lombok.Getter;
    4 import lombok.RequiredArgsConstructor;
    5 import lombok.Setter;
    6 import lombok.ToString;
     3import lombok.*;
    74
    85import javax.persistence.*;
     
    129@Setter
    1310@ToString
    14 @RequiredArgsConstructor
     11@NoArgsConstructor
    1512@Table(name = "`part_is_in_stock_in_warehouse`")
    1613@IdClass(PartIsInStockInWarehouseId.class)
     
    2421    @Column(name = "quantity_warehouse")
    2522    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    }
    2629}
Note: See TracChangeset for help on using the changeset viewer.