package com.rehome.jpahefengweather.entity;

import lombok.Data;
import jakarta.persistence.*;
import java.io.Serializable;
import java.util.Date;


@Data
@Entity
public class NmcNowWeather implements Serializable{
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    //存放长文本
    @Column(columnDefinition = "TEXT")
    private String weather;

    private String weatherDate;

    private String code;

    @Temporal(TemporalType.TIMESTAMP)
    private Date createDate;

    @Temporal(TemporalType.TIMESTAMP)
    private Date lastUpdateDate;
}