-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Feature] ๋น์ฝ ์๋ฆผ ์์ฑ
- Loading branch information
Showing
11 changed files
with
253 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/ewha/lux/once/domain/home/dto/AnnounceFavoriteRequestDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package ewha.lux.once.domain.home.dto; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
|
||
@Getter | ||
@Setter | ||
public class AnnounceFavoriteRequestDto { | ||
private String store; | ||
private String storeName; | ||
private double latitude; | ||
private double longitude; | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/ewha/lux/once/domain/home/dto/BeaconRequestDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package ewha.lux.once.domain.home.dto; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
|
||
@Data | ||
@Builder | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
public class BeaconRequestDto { | ||
private String proximityUUID; | ||
private Integer major; | ||
private Integer minor; | ||
} |
40 changes: 40 additions & 0 deletions
40
src/main/java/ewha/lux/once/domain/home/entity/Beacon.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
package ewha.lux.once.domain.home.entity; | ||
|
||
|
||
import jakarta.persistence.*; | ||
import lombok.*; | ||
|
||
@Entity | ||
@Table(name="Beacon") | ||
@Getter | ||
@Setter | ||
@Builder | ||
@NoArgsConstructor(access= AccessLevel.PROTECTED) | ||
@AllArgsConstructor | ||
public class Beacon { | ||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
@Column(name = "beaconId") | ||
private Long id; | ||
|
||
@Column(name = "proximityUUID", nullable = false) | ||
private String proximityUUID; | ||
|
||
@Column(name = "major") | ||
private Integer major; | ||
|
||
@Column(name = "minor") | ||
private Integer minor; | ||
|
||
@Column(name = "name") | ||
private String name; | ||
|
||
@Column(name = "store") | ||
private String store; | ||
|
||
@Column(name = "latitude") | ||
private String latitude; | ||
|
||
@Column(name = "longitude") | ||
private String longitude; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.