-
Notifications
You must be signed in to change notification settings - Fork 2
/
TourInformationEntity.java
77 lines (56 loc) · 1.67 KB
/
TourInformationEntity.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.swidx.mapservice.entity;
import lombok.*;
import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Entity(name="tour_information")
@Embeddable
public class TourInformationEntity implements Serializable {
@EmbeddedId
private TourId tourId;
@Column
private String name;
@Column
private String gubun;
@Column
private Integer read_count;
@Column
private String update_time;
@Column
private String address;
@Column
private String cntct;
@Column
private String represent_image;
@Column
private String thumbnail_image;
@Column(precision = 16,scale = 14)
private BigDecimal lat;
@Column(precision = 17,scale = 14)
private BigDecimal lng;
@Column
private String overview;
@Column
private String homepage;
public TourInformationEntity(TourId tourId,String name,String gubun,
Integer read_count,BigDecimal lat,BigDecimal lng,String cntct,
String update_time,String address,String represent_image,String thumbnail_image,String overview,String homepage){
this.tourId = tourId;
this.name = name;
this.gubun = gubun;
this.read_count = read_count;
this.lat = lat;
this.lng = lng;
this.cntct = cntct;
this.update_time = update_time;
this.address = address;
this.represent_image = represent_image;
this.thumbnail_image = thumbnail_image;
this.overview = overview;
this.homepage = homepage;
}
}