Changeset ae042f4 for src/main/java/com/example/autopartz/model/views
- Timestamp:
- 01/04/23 02:49:26 (23 months ago)
- Branches:
- main
- Children:
- ab952ab
- Parents:
- 6832924
- Location:
- src/main/java/com/example/autopartz/model/views
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/views/OrdersForUser.java
r6832924 rae042f4 1 1 package com.example.autopartz.model.views; 2 2 3 import jakarta.persistence.Entity; 4 import jakarta.persistence.Id; 5 import jakarta.persistence.IdClass; 6 import jakarta.persistence.Table; 7 import lombok.*; 3 import lombok.Getter; 4 import lombok.RequiredArgsConstructor; 5 import lombok.Setter; 6 import lombok.ToString; 8 7 import org.hibernate.annotations.Immutable; 9 8 9 import javax.persistence.Entity; 10 import javax.persistence.Id; 11 import javax.persistence.IdClass; 12 import javax.persistence.Table; 10 13 import java.io.Serial; 11 14 import java.io.Serializable; … … 25 28 private static final long serialVersionUID = 1L; 26 29 @Id 27 Longuserid;30 Integer userid; 28 31 @Id 29 32 LocalDateTime orderdate; -
src/main/java/com/example/autopartz/model/views/OrdersForUserId.java
r6832924 rae042f4 8 8 @Data 9 9 public class OrdersForUserId implements Serializable { 10 Longuserid;10 Integer userid; 11 11 LocalDateTime orderdate; 12 12 String partname; -
src/main/java/com/example/autopartz/model/views/PartsForCarTypeAndCategory.java
r6832924 rae042f4 1 1 package com.example.autopartz.model.views; 2 2 3 import jakarta.persistence.Entity;4 import jakarta.persistence.Id;5 import jakarta.persistence.Table;6 import lombok. *;3 import lombok.Getter; 4 import lombok.RequiredArgsConstructor; 5 import lombok.Setter; 6 import lombok.ToString; 7 7 import org.hibernate.annotations.Immutable; 8 8 9 import javax.persistence.Entity; 10 import javax.persistence.Id; 11 import javax.persistence.Table; 9 12 import java.io.Serial; 10 13 import java.io.Serializable; … … 21 24 private static final long serialVersionUID = 1L; 22 25 @Id 23 Longpartid;26 Integer partid; 24 27 String partname; 25 28 String cartype; -
src/main/java/com/example/autopartz/model/views/RepairShopReviewsSummary.java
r6832924 rae042f4 1 1 package com.example.autopartz.model.views; 2 2 3 import jakarta.persistence.Entity;4 import jakarta.persistence.Id;5 import jakarta.persistence.Table;6 import lombok. *;3 import lombok.Getter; 4 import lombok.RequiredArgsConstructor; 5 import lombok.Setter; 6 import lombok.ToString; 7 7 import org.hibernate.Hibernate; 8 8 import org.hibernate.annotations.Immutable; 9 9 10 import javax.persistence.Entity; 11 import javax.persistence.Id; 12 import javax.persistence.Table; 10 13 import java.io.Serial; 11 14 import java.io.Serializable; … … 24 27 private static final long serialVersionUID = 1L; 25 28 @Id 26 Longrsid;29 Integer rsid; 27 30 String rsname; 28 Integerreviewcount;31 Long reviewcount; 29 32 Float reviewaverage; 30 33 -
src/main/java/com/example/autopartz/model/views/RepairsForUser.java
r6832924 rae042f4 1 1 package com.example.autopartz.model.views; 2 2 3 import jakarta.persistence.Entity;4 import jakarta.persistence.Id;5 import jakarta.persistence.IdClass;6 import jakarta.persistence.Table;7 3 import lombok.Getter; 8 4 import lombok.RequiredArgsConstructor; … … 11 7 import org.hibernate.annotations.Immutable; 12 8 9 import javax.persistence.Entity; 10 import javax.persistence.Id; 11 import javax.persistence.IdClass; 12 import javax.persistence.Table; 13 13 import java.io.Serial; 14 14 import java.io.Serializable; … … 28 28 private static final long serialVersionUID = 1L; 29 29 @Id 30 Longuserid;30 Integer userid; 31 31 @Id 32 32 LocalDateTime orderdate; -
src/main/java/com/example/autopartz/model/views/ReviewsForUser.java
r6832924 rae042f4 1 1 package com.example.autopartz.model.views; 2 2 3 import jakarta.persistence.Entity;4 import jakarta.persistence.Id;5 import jakarta.persistence.Table;6 3 import lombok.Getter; 7 4 import lombok.RequiredArgsConstructor; … … 10 7 import org.hibernate.annotations.Immutable; 11 8 9 import javax.persistence.Entity; 10 import javax.persistence.Id; 11 import javax.persistence.Table; 12 12 import java.io.Serial; 13 13 import java.io.Serializable; … … 25 25 private static final long serialVersionUID = 1L; 26 26 @Id 27 Longrepairid;28 Longuserid;27 Integer repairid; 28 Integer userid; 29 29 Integer rating; 30 30 String rcomment;
Note:
See TracChangeset
for help on using the changeset viewer.