Skip to content

Commit

Permalink
[SIX-20] feat : 신고 카테고리 도메인 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
bombo-dev committed Oct 22, 2023
1 parent 7af2e06 commit d8d6965
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.sixheroes.onedayherodomain.report;

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

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

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

@Column(name = "name", nullable = false)
private String name;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.sixheroes.onedayherodomain.report.repository;

import com.sixheroes.onedayherodomain.report.ReportCategory;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ReportCategoryRepository extends JpaRepository<ReportCategory, Long> {
}

0 comments on commit d8d6965

Please sign in to comment.