package com.rehome.jpahefengweather.entity;


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


@Data
@Entity
public class NmcStorm implements Serializable {
    @Id
    private Long code;

    //台风接入平台
    private String ename;

    //台风名称
    private String name ;

    //台风编号
    private Long tfNo ;

    //台风编号字符串
    private String tfNoString ;

    //台风描述
    private String nameDesc;

    //是否为活跃台风 1:活跃台风    0:台风已停止
    private Long isActive ;

    //台风所处年份
    private String year ;

    @Temporal(TemporalType.TIMESTAMP)
    private Date createDate;

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