Ignore:
Timestamp:
01/04/23 02:49:26 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
ab952ab
Parents:
6832924
Message:

Configured spring security, changed spring version

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  
    11package com.example.autopartz.model.views;
    22
    3 import jakarta.persistence.Entity;
    4 import jakarta.persistence.Id;
    5 import jakarta.persistence.IdClass;
    6 import jakarta.persistence.Table;
    7 import lombok.*;
     3import lombok.Getter;
     4import lombok.RequiredArgsConstructor;
     5import lombok.Setter;
     6import lombok.ToString;
    87import org.hibernate.annotations.Immutable;
    98
     9import javax.persistence.Entity;
     10import javax.persistence.Id;
     11import javax.persistence.IdClass;
     12import javax.persistence.Table;
    1013import java.io.Serial;
    1114import java.io.Serializable;
     
    2528    private static final long serialVersionUID = 1L;
    2629    @Id
    27     Long userid;
     30    Integer userid;
    2831    @Id
    2932    LocalDateTime orderdate;
  • src/main/java/com/example/autopartz/model/views/OrdersForUserId.java

    r6832924 rae042f4  
    88@Data
    99public class OrdersForUserId implements Serializable {
    10     Long userid;
     10    Integer userid;
    1111    LocalDateTime orderdate;
    1212    String partname;
  • src/main/java/com/example/autopartz/model/views/PartsForCarTypeAndCategory.java

    r6832924 rae042f4  
    11package com.example.autopartz.model.views;
    22
    3 import jakarta.persistence.Entity;
    4 import jakarta.persistence.Id;
    5 import jakarta.persistence.Table;
    6 import lombok.*;
     3import lombok.Getter;
     4import lombok.RequiredArgsConstructor;
     5import lombok.Setter;
     6import lombok.ToString;
    77import org.hibernate.annotations.Immutable;
    88
     9import javax.persistence.Entity;
     10import javax.persistence.Id;
     11import javax.persistence.Table;
    912import java.io.Serial;
    1013import java.io.Serializable;
     
    2124    private static final long serialVersionUID = 1L;
    2225    @Id
    23     Long partid;
     26    Integer partid;
    2427    String partname;
    2528    String cartype;
  • src/main/java/com/example/autopartz/model/views/RepairShopReviewsSummary.java

    r6832924 rae042f4  
    11package com.example.autopartz.model.views;
    22
    3 import jakarta.persistence.Entity;
    4 import jakarta.persistence.Id;
    5 import jakarta.persistence.Table;
    6 import lombok.*;
     3import lombok.Getter;
     4import lombok.RequiredArgsConstructor;
     5import lombok.Setter;
     6import lombok.ToString;
    77import org.hibernate.Hibernate;
    88import org.hibernate.annotations.Immutable;
    99
     10import javax.persistence.Entity;
     11import javax.persistence.Id;
     12import javax.persistence.Table;
    1013import java.io.Serial;
    1114import java.io.Serializable;
     
    2427    private static final long serialVersionUID = 1L;
    2528    @Id
    26     Long rsid;
     29    Integer rsid;
    2730    String rsname;
    28     Integer reviewcount;
     31    Long reviewcount;
    2932    Float reviewaverage;
    3033
  • src/main/java/com/example/autopartz/model/views/RepairsForUser.java

    r6832924 rae042f4  
    11package com.example.autopartz.model.views;
    22
    3 import jakarta.persistence.Entity;
    4 import jakarta.persistence.Id;
    5 import jakarta.persistence.IdClass;
    6 import jakarta.persistence.Table;
    73import lombok.Getter;
    84import lombok.RequiredArgsConstructor;
     
    117import org.hibernate.annotations.Immutable;
    128
     9import javax.persistence.Entity;
     10import javax.persistence.Id;
     11import javax.persistence.IdClass;
     12import javax.persistence.Table;
    1313import java.io.Serial;
    1414import java.io.Serializable;
     
    2828    private static final long serialVersionUID = 1L;
    2929    @Id
    30     Long userid;
     30    Integer userid;
    3131    @Id
    3232    LocalDateTime orderdate;
  • src/main/java/com/example/autopartz/model/views/ReviewsForUser.java

    r6832924 rae042f4  
    11package com.example.autopartz.model.views;
    22
    3 import jakarta.persistence.Entity;
    4 import jakarta.persistence.Id;
    5 import jakarta.persistence.Table;
    63import lombok.Getter;
    74import lombok.RequiredArgsConstructor;
     
    107import org.hibernate.annotations.Immutable;
    118
     9import javax.persistence.Entity;
     10import javax.persistence.Id;
     11import javax.persistence.Table;
    1212import java.io.Serial;
    1313import java.io.Serializable;
     
    2525    private static final long serialVersionUID = 1L;
    2626    @Id
    27     Long repairid;
    28     Long userid;
     27    Integer repairid;
     28    Integer userid;
    2929    Integer rating;
    3030    String rcomment;
Note: See TracChangeset for help on using the changeset viewer.