Skip to content

Commit

Permalink
refactor: MemberEntity 수정
Browse files Browse the repository at this point in the history
- email 삭제
- tag 추가
  • Loading branch information
soyesenna committed Oct 7, 2024
1 parent d2d6dae commit 8dc4e4b
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.leets.team2.xclone.domain.member.entities;

import com.leets.team2.xclone.common.entity.BaseTimeEntity;
import com.leets.team2.xclone.common.entity.AbstractEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
Expand All @@ -17,19 +17,19 @@
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
public class Member extends BaseTimeEntity {

@Column(name = "email", nullable = false)
private String email;
public class Member extends AbstractEntity {

@Column(name = "phone_number", nullable = false)
private String phoneNumber;

@Column(name = "birth_date", nullable = true)
private LocalDateTime birthDate;

@Column(name = "name", nullable = false)
private String name;
@Column(name = "tag", nullable = false, unique = true)
private String tag;

@Column(name = "nickname", nullable = false)
private String nickname;

@Column(name = "introduction", nullable = true)
private String introduction;
Expand Down

0 comments on commit 8dc4e4b

Please sign in to comment.