Skip to content

Commit

Permalink
[SIX-11] feat : 미션 매칭 도메인 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
bombo-dev committed Oct 20, 2023
1 parent eb290be commit f2de1d2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package com.sixheroes.onedayherodomain.missionmatch;

import jakarta.persistence.*;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(name = "mission_matches")
@Entity
public class MissionMatch {

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

@Column(name = "mission_id", nullable = false)
private Long missionId;

@Column(name = "hero_id", nullable = false)
private Long heroId;

@Enumerated(EnumType.STRING)
@Column(name = "status", nullable = false)
private MissionMatchStatus missionMatchStatus;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.sixheroes.onedayherodomain.missionmatch;

public enum MissionMatchStatus {
}

0 comments on commit f2de1d2

Please sign in to comment.