|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "片区名称", requiredMode = Schema.RequiredMode.REQUIRED) | 
|---|
|  |  |  | @NotEmpty(message = "片区名称不能为空") //不能为空也不能为null | 
|---|
|  |  |  | @Length(message = "片区名称小于{max}字", min = 1, max = 25) | 
|---|
|  |  |  | @Length(message = "片区名称不大于{max}字,不小于{min}字", min = 1, max = 25) | 
|---|
|  |  |  | public String name; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 负责人 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "片区负责人", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Length(message = "片区负责人姓名小于{max}字", min = 1, max = 25) | 
|---|
|  |  |  | @Length(message = "片区负责人姓名不大于{max}字,不小于{min}字", min = 1, max = 25) | 
|---|
|  |  |  | public String header; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * 电子地图区域着色 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "区域着色", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Length(message = "区域着色长度小于{max}字", min = 1, max = 6) | 
|---|
|  |  |  | @Length(message = "区域着色长度小于{max}字", min = 0, max = 6) | 
|---|
|  |  |  | public String color; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 备注 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Length(message = "备注长度小于{max}字", min = 0, max = 50) | 
|---|
|  |  |  | public String remark; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 是否删除: 0表示未删除  1表示删除. | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Schema(description = "片区删除标志", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | @Schema(description = "片区删除标志,表单不用填写", requiredMode = Schema.RequiredMode.NOT_REQUIRED) | 
|---|
|  |  |  | public Deleted deleted; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|