Changeset ae042f4 for src/main/java/com/example/autopartz/model/Repair.java
- Timestamp:
- 01/04/23 02:49:26 (23 months ago)
- Branches:
- main
- Children:
- ab952ab
- Parents:
- 6832924
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/model/Repair.java
r6832924 rae042f4 1 1 package com.example.autopartz.model; 2 2 3 import jakarta.persistence.Entity; 4 import jakarta.persistence.Id; 5 import jakarta.persistence.JoinColumn; 6 import jakarta.persistence.ManyToOne; 7 import lombok.*; 3 import lombok.Getter; 4 import lombok.RequiredArgsConstructor; 5 import lombok.Setter; 6 import lombok.ToString; 8 7 import org.hibernate.Hibernate; 9 8 9 import javax.persistence.Entity; 10 import javax.persistence.Id; 11 import javax.persistence.JoinColumn; 12 import javax.persistence.ManyToOne; 10 13 import java.util.Objects; 11 14 … … 17 20 public class Repair { 18 21 @Id 19 LongID_repair;22 Integer ID_repair; 20 23 @ManyToOne 21 24 @JoinColumn(name = "vin")
Note:
See TracChangeset
for help on using the changeset viewer.