package com.ld.igds.models;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
|
import javax.persistence.*;
|
import java.io.Serializable;
|
|
/**
|
* 气象城市字典表
|
*/
|
@Data
|
@Entity
|
@Table(name = "D_WEATHER_CITY")
|
public class WeatherCity implements Serializable {
|
|
/**
|
*
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
@Column(name = "ID_",length = 32)
|
@PropertyDef(label = "主键ID")
|
private String id;
|
|
@Column(name = "CITY_EN_", length = 30)
|
@PropertyDef(label = "城市编码")
|
private String cityEn;
|
|
@Column(name = "CITY_ZH_", length = 30)
|
@PropertyDef(label = "城市名称")
|
private String cityZh;
|
|
@Column(name = "PROVINCE_EN_", length = 30)
|
@PropertyDef(label = "省份编码")
|
private String provinceEn;
|
|
@Column(name = "PROVINCE_ZH_", length = 30)
|
@PropertyDef(label = "省份名称")
|
private String provinceZh;
|
|
@Column(name = "LAT_", length = 10)
|
@PropertyDef(label = "坐标")
|
private String lat;
|
|
@Column(name = "LON_", length = 10)
|
@PropertyDef(label = "坐标")
|
private String lon;
|
}
|