source: src/main/java/com/example/autopartz/model/views/WarehousemanReport.java

main
Last change on this file was 4d67d70, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 23 months ago

Final touches

  • Property mode set to 100644
File size: 815 bytes
Line 
1package com.example.autopartz.model.views;
2
3import lombok.Getter;
4import lombok.RequiredArgsConstructor;
5import lombok.Setter;
6import lombok.ToString;
7import org.hibernate.annotations.Immutable;
8
9import javax.persistence.Entity;
10import javax.persistence.Id;
11import javax.persistence.IdClass;
12import javax.persistence.Table;
13import java.io.Serial;
14import java.io.Serializable;
15
16@Entity
17@Getter
18@Setter
19@ToString
20@RequiredArgsConstructor
21@Immutable
22@Table(name = "`warehouseman_report`")
23@IdClass(WarehousemanReportId.class)
24public class WarehousemanReport implements Serializable {
25 @Serial
26 private static final long serialVersionUID = 1L;
27 @Id
28 Integer wid;
29 @Id
30 String pname;
31 Long quantityordered;
32 Integer quantitywarehouse;
33 Long quantitylast3months;
34 String hasenoughinstock;
35}
Note: See TracBrowser for help on using the repository browser.