Skip to content

Commit

Permalink
Merge pull request #62 from endless-horses/fix#61-accessory-result
Browse files Browse the repository at this point in the history
액세서리 결과 조회 파일 수정 close #61
  • Loading branch information
SubiHwang authored Feb 20, 2024
2 parents 3efb588 + b7bbf54 commit 4c7b916
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 45 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
package com.endlesshorses.oot.custom.accessory.enity;

import com.endlesshorses.oot.custom.result.entity.Result;
import com.endlesshorses.oot.custom.resultAccessory.entity.ResultAccessory;
import jakarta.persistence.*;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Entity
@Getter
@Setter
Expand All @@ -27,6 +22,4 @@ public class Accessory {
@Column(nullable = false, columnDefinition = "TEXT")
private String explanation;

@OneToMany(mappedBy = "accessory")
private List<ResultAccessory> resultAccessories = new ArrayList<>();
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.endlesshorses.oot.custom.color.entity.Color;
import com.endlesshorses.oot.custom.font.entity.Font;
import com.endlesshorses.oot.custom.pattern.entity.Pattern;
import com.endlesshorses.oot.custom.resultAccessory.entity.ResultAccessory;
import com.endlesshorses.oot.custom.wheel.entity.Wheel;
import jakarta.persistence.*;
import lombok.Getter;
Expand Down Expand Up @@ -37,8 +36,6 @@ public class Result {
@JoinColumn(name = "FONT_COLOR_ID", nullable = false)
private Color color;

@OneToMany(mappedBy ="result")
private List<ResultAccessory>ResultAccessories = new ArrayList<>();

@Column(nullable = false)
@CreatedDate
Expand Down

This file was deleted.

0 comments on commit 4c7b916

Please sign in to comment.