16 changed files with 89 additions and 23 deletions
@ -0,0 +1,34 @@ |
|||||
|
package com.epmet.dto.org.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @dscription 插叙客户网格基础信息--接口入参 |
||||
|
* @author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class GridBaseInfoFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -3634745091993094743L; |
||||
|
/** |
||||
|
* 客户Id |
||||
|
*/ |
||||
|
@NotBlank(message = "事件标识不能为空", groups = {Grid.class}) |
||||
|
private String customerId = ""; |
||||
|
/** |
||||
|
* 网格Id |
||||
|
*/ |
||||
|
private List<String> orgIdList; |
||||
|
/** |
||||
|
* 操作类型【新增:add 修改删除:edit 初始化所有数据:all】 |
||||
|
*/ |
||||
|
private String type; |
||||
|
|
||||
|
public interface Grid extends CustomerClientShowGroup {} |
||||
|
|
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
package com.epmet.dto.user.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @dscription 插叙客户网格人员基础信息--接口入参 |
||||
|
* @author sun |
||||
|
*/ |
||||
|
@Data |
||||
|
public class StaffBaseInfoFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -3634745091993094743L; |
||||
|
/** |
||||
|
* 客户Id |
||||
|
*/ |
||||
|
@NotBlank(message = "事件标识不能为空", groups = {Staff.class}) |
||||
|
private String customerId = ""; |
||||
|
/** |
||||
|
* 人员Id |
||||
|
*/ |
||||
|
private List<String> staffIdList; |
||||
|
/** |
||||
|
* 操作类型【新增:add 修改删除:edit】 |
||||
|
*/ |
||||
|
private String type; |
||||
|
public interface Staff extends CustomerClientShowGroup {} |
||||
|
|
||||
|
} |
Loading…
Reference in new issue