Skip to content

Commit

Permalink
Merge pull request GDSC-snowflowerthon#15 from GDSC-snowflowerthon/fe…
Browse files Browse the repository at this point in the history
…at/shelter-13

[feat] shelter entity 생성
  • Loading branch information
ri-naa authored Jan 10, 2024
2 parents 70ef88e + f924dd9 commit 91599f2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/main/java/com/ALGo/ALGo_server/entity/Shelter.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package com.ALGo.ALGo_server.entity;

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

@Entity
@Getter
@NoArgsConstructor
public class Shelter {

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

@Column(nullable = false)
private String region;

@Column(nullable = false)
private String address;

@Column(nullable = false)
private String description;

}

0 comments on commit 91599f2

Please sign in to comment.