11 changed files with 184 additions and 5 deletions
@ -0,0 +1,31 @@ |
|||
package com.elink.esua.epdc.dto.admin; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author Liuchuang |
|||
*/ |
|||
@Data |
|||
public class DeptAddAreaCodeFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -8154207132241940362L; |
|||
|
|||
/** |
|||
* 上级组织区域编码 |
|||
*/ |
|||
@NotBlank(message = "上级组织区域编码不能为空") |
|||
private String parentAreaCode; |
|||
|
|||
/** |
|||
* 新增组织名称 |
|||
*/ |
|||
@NotBlank(message = "新增组织名称不能为空") |
|||
private String name; |
|||
|
|||
/** |
|||
* 新增组织区域编码,如果code有值,会更新行政区划的名字。 |
|||
*/ |
|||
private String code; |
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.elink.esua.epdc.dto.admin; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author Liuchuang |
|||
*/ |
|||
@Data |
|||
public class DeptAddAreaCodeResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 8182151134618271181L; |
|||
|
|||
/** |
|||
* 区域编码 |
|||
*/ |
|||
private String code; |
|||
} |
Loading…
Reference in new issue