Skip to content

Commit

Permalink
Merge pull request #15 from iHangbot/feat/report
Browse files Browse the repository at this point in the history
chore: member domain에서 negative랑 positive 삭제
  • Loading branch information
Jimin0304 authored Aug 3, 2023
2 parents 9dd361f + ab24793 commit 0cdcd5e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/main/java/com/mz/ihangbot/member/domain/Member.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,19 @@ public class Member extends DateTimeEntity {
@Column(nullable = false)
private boolean child_gender;

private double positive;

private double negative;

@OneToMany(mappedBy = "member", cascade = ALL, orphanRemoval = true)
private List<KeyWord> keyWords = new ArrayList<>();

@OneToMany(mappedBy = "member", cascade = ALL, orphanRemoval = true)
private List<Sentiment> sentiments = new ArrayList<>();

@Builder
public Member(String username, String password, String child_name, int child_age, boolean child_gender, double positive, double negative) {
public Member(String username, String password, String child_name, int child_age, boolean child_gender) {
this.username = username;
this.password = password;
this.child_name = child_name;
this.child_gender = child_gender;
this.child_age = child_age;
this.positive = positive;
this.negative = negative;
}

public void update(String child_name, int child_age, boolean child_gender) {
Expand Down

0 comments on commit 0cdcd5e

Please sign in to comment.