package org.sxkj.system.param;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
@Data
|
public class RegionAddParam {
|
|
/**
|
* 主键
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
@TableId(value = "id", type = IdType.AUTO)
|
@ApiModelProperty(value = "主键")
|
private Long id;
|
|
/**
|
* 区划编号
|
*/
|
// @TableId(value = "code", type = IdType.INPUT)
|
@ApiModelProperty(value = "区划编号")
|
private String code;
|
/**
|
* 父区划编号
|
*/
|
@ApiModelProperty(value = "父区划编号")
|
private String parentCode;
|
/**
|
* 祖区划编号
|
*/
|
@ApiModelProperty(value = "祖区划编号")
|
private String ancestors;
|
/**
|
* 区划名称
|
*/
|
@ApiModelProperty(value = "区划名称")
|
private String name;
|
/**
|
* 省级区划编号
|
*/
|
@ApiModelProperty(value = "省级区划编号")
|
private String provinceCode;
|
/**
|
* 省级名称
|
*/
|
@ApiModelProperty(value = "省级名称")
|
private String provinceName;
|
/**
|
* 市级区划编号
|
*/
|
@ApiModelProperty(value = "市级区划编号")
|
private String cityCode;
|
/**
|
* 市级名称
|
*/
|
@ApiModelProperty(value = "市级名称")
|
private String cityName;
|
/**
|
* 区级区划编号
|
*/
|
@ApiModelProperty(value = "区级区划编号")
|
private String districtCode;
|
/**
|
* 区级名称
|
*/
|
@ApiModelProperty(value = "区级名称")
|
private String districtName;
|
/**
|
* 镇级区划编号
|
*/
|
@ApiModelProperty(value = "镇级区划编号")
|
private String townCode;
|
/**
|
* 镇级名称
|
*/
|
@ApiModelProperty(value = "镇级名称")
|
private String townName;
|
/**
|
* 村级区划编号
|
*/
|
@ApiModelProperty(value = "村级区划编号")
|
private String villageCode;
|
/**
|
* 村级名称
|
*/
|
@ApiModelProperty(value = "村级名称")
|
private String villageName;
|
/**
|
* 层级
|
*/
|
@ApiModelProperty(value = "层级")
|
private Integer regionLevel;
|
/**
|
* 城乡分类代码
|
*/
|
@ApiModelProperty(value = "城乡分类代码")
|
private Integer type;
|
/**
|
* 排序
|
*/
|
@ApiModelProperty(value = "排序")
|
private Integer sort;
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
@ApiModelProperty(value = "状态 0:禁用 1:启用 ")
|
private Integer status;
|
|
}
|