20 changed files with 293 additions and 45 deletions
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName CommonGridIdFormDTO |
|||
* @Author wangc |
|||
* @date 2020.04.24 14:17 |
|||
*/ |
|||
@Data |
|||
public class CommonGridIdFormDTO implements Serializable { |
|||
private static final long serialVersionUID = 2496019865436084805L; |
|||
|
|||
/** |
|||
* 网格Id |
|||
* */ |
|||
@NotBlank(message = "网格Id不能为空") |
|||
private String gridId; |
|||
|
|||
/** |
|||
* 用户Id |
|||
* */ |
|||
@NotBlank(message = "用户Id不能为空") |
|||
private String userId; |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @Description 通用用户Id列表参数DTO |
|||
* @ClassName CommonUserIdListFormList |
|||
* @Author wangc |
|||
* @date 2020.04.24 15:42 |
|||
*/ |
|||
@Data |
|||
@AllArgsConstructor |
|||
public class CommonUserIdListFormList implements Serializable{ |
|||
private static final long serialVersionUID = -7045691156972928671L; |
|||
|
|||
/** |
|||
* 用户列表 |
|||
* */ |
|||
@NotBlank(message = "用户列表不能为空") |
|||
private List<String> userIdList; |
|||
} |
Loading…
Reference in new issue