k.e.book.ddh.entity.CcAreaAddDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* @author kk
* @date 2023-05-21 14:25
*/
@Data
@ApiModel(value="CcAreaAddDTO", description="CcArea")
public class CcAreaAddDTO implements Serializable{
@ApiModelProperty(value = "ID")
private Integer id;
@ApiModelProperty(value = "父id")
private Integer pid;
@ApiModelProperty(value = "简称")
private String shortname;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "全称")
private String mergename;
@ApiModelProperty(value = "层级:1=省,2=市,3=区/县")
private Integer level;
@ApiModelProperty(value = "拼音")
private String pinyin;
@ApiModelProperty(value = "长途区号")
private String code;
@ApiModelProperty(value = "邮编")
private String zip;
@ApiModelProperty(value = "首字母")
private String first;
@ApiModelProperty(value = "经度")
private String lng;
@ApiModelProperty(value = "纬度")
private String lat;
}