Skip to content

Commit

Permalink
[FIX] isFirstEntry 필드 로그인 시 default 값 적용 #125
Browse files Browse the repository at this point in the history
  • Loading branch information
jun02160 committed Feb 24, 2024
1 parent 0737e30 commit 35eb749
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public UserLoginResponseDto login(String socialAccessToken, SocialLoginRequestDt
.isMeChild(true)
.isMatchFinish(false)
.fcmToken(request.getFcmToken())
.isFirstEntry(true)
.build();

userRepository.save(user);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,32 @@
package sopt.org.umbba.domain.domain.user;

import lombok.*;
import lombok.extern.slf4j.Slf4j;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.ConstraintMode;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.ForeignKey;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.SQLDelete;
import org.hibernate.annotations.Where;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import sopt.org.umbba.domain.domain.common.AuditingTimeEntity;
import sopt.org.umbba.domain.domain.parentchild.Parentchild;

import javax.persistence.*;
import java.util.List;

@Slf4j
@Entity
@Table(name = "`User`")
Expand Down

0 comments on commit 35eb749

Please sign in to comment.