k.e.book.ddh.entity.CcAreaQueryDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import k.e.book.common.model.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
/**
* 请求分页的实体
*
* @author kk
* @date 2023-05-21 14:20
*/
@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value="CcAreaQueryDTO", description="CcArea")
public class CcAreaQueryDTO extends PageRequest implements Serializable{
private static final long serialVersionUID = 1L;
@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;
}