package com.weather.domain.prediction;

/**
 * Created by godong9 on 2017. 7. 29..
 */
public class Prediction {
}

@@ -37,79 +37,1219 @@
 n;%0A%0A
-/**%0A * Created by godong9 on 2017. 7. 29..%0A */%0Apublic class Prediction %7B
+import lombok.*;%0Aimport org.springframework.data.annotation.CreatedDate;%0Aimport org.springframework.data.annotation.LastModifiedDate;%0Aimport org.springframework.data.jpa.domain.support.AuditingEntityListener;%0A%0Aimport javax.persistence.*;%0Aimport java.util.Date;%0A%0A/**%0A * Created by godong9 on 2017. 7. 29..%0A */%0A%0A@Data%0A@Builder%0A@NoArgsConstructor%0A@AllArgsConstructor%0A@EqualsAndHashCode(of = %22id%22)%0A@ToString%0A@Entity%0A@Table(name = %22users%22)%0A@EntityListeners(%7BAuditingEntityListener.class%7D)%0Apublic class Prediction %7B%0A    @Id%0A    @GeneratedValue(strategy = GenerationType.IDENTITY)%0A    @Column(name = %22id%22)%0A    private Long id;%0A%0A    @Column(name = %22weather_code%22)%0A    private WeatherCode weatherCode;%0A%0A    @Column(name = %22temperature%22)%0A    private String temperature;%0A%0A    @Column(name = %22humidity%22)%0A    private String humidity;%0A%0A    @Column(name = %22rain_prop%22)%0A    private String railProp;%0A%0A    @Column(name = %22prediction_date%22)%0A    private Date predictionDate;%0A%0A    @LastModifiedDate%0A    @Temporal(TemporalType.TIMESTAMP)%0A    @Column(name = %22updated_at%22)%0A    private Date updatedAt;%0A%0A    @CreatedDate%0A    @Temporal(TemporalType.TIMESTAMP)%0A    @Column(name = %22created_at%22, updatable = false)%0A    private Date createdAt;
 %0A%7D%0A

Update Prediction entity