package com.rehome.jpahefengweather.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Temporal;
import jakarta.persistence.TemporalType;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@Entity
public class HefengProvince implements Serializable{
    //省份编号
    @Id
    private String code;
    //省份中文名称
    private String name;
    //url
    private String url;
    //创建时间
    @Temporal(TemporalType.TIMESTAMP)
    private Date createDate;
    //最后一次更新时间
    @Temporal(TemporalType.TIMESTAMP)
    private Date lastUpdateDate;
}