11 changed files with 192 additions and 8 deletions
			
			
		| @ -0,0 +1,27 @@ | |||
| package com.epmet.dto.form; | |||
| 
 | |||
| import lombok.AllArgsConstructor; | |||
| import lombok.Data; | |||
| import lombok.NoArgsConstructor; | |||
| 
 | |||
| import javax.validation.Valid; | |||
| import javax.validation.constraints.NotBlank; | |||
| import java.io.Serializable; | |||
| import java.util.List; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2022/1/17 5:20 下午 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| @AllArgsConstructor | |||
| @NoArgsConstructor | |||
| public class PackageAddOftenUseFunctionFormDTO implements Serializable { | |||
| 
 | |||
|     public interface PackageAddOftenUseFunctionForm{} | |||
| 
 | |||
|     @Valid | |||
|     public List<AddOftenUseFunctionFormDTO> list; | |||
| 
 | |||
| } | |||
| @ -0,0 +1,27 @@ | |||
| package com.epmet.dto.form; | |||
| 
 | |||
| import lombok.AllArgsConstructor; | |||
| import lombok.Data; | |||
| import lombok.NoArgsConstructor; | |||
| 
 | |||
| import javax.validation.Valid; | |||
| import java.io.Serializable; | |||
| import java.util.List; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2022/1/17 5:49 下午 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| @AllArgsConstructor | |||
| @NoArgsConstructor | |||
| public class PackageEditIndividualCategoryFormDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = -6112833952805305270L; | |||
| 
 | |||
|     public interface PackageEditIndividualCategoryForm{} | |||
| 
 | |||
|     @Valid | |||
|     private List<EditIndividualCategoryFormDTO> list; | |||
| } | |||
| @ -0,0 +1,25 @@ | |||
| package com.epmet.dto.form; | |||
| 
 | |||
| import lombok.Data; | |||
| 
 | |||
| import javax.validation.constraints.NotNull; | |||
| import java.io.Serializable; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2022/1/17 4:13 下午 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| public class PersonWarnRightListFormDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = -3561699479212127370L; | |||
| 
 | |||
|     public interface PersonWarnRightListForm{} | |||
| 
 | |||
|     @NotNull(message = "pageNo不能为空",groups = PersonWarnRightListForm.class) | |||
|     private Integer pageNo; | |||
| 
 | |||
|     @NotNull(message = "pageSize不能为空",groups = PersonWarnRightListForm.class) | |||
|     private Integer pageSize; | |||
| } | |||
| @ -0,0 +1,68 @@ | |||
| package com.epmet.dto.result; | |||
| 
 | |||
| import com.epmet.commons.tools.constant.NumConstant; | |||
| import lombok.Data; | |||
| 
 | |||
| import java.io.Serializable; | |||
| import java.util.ArrayList; | |||
| import java.util.List; | |||
| 
 | |||
| /** | |||
|  * @Author zxc | |||
|  * @DateTime 2022/1/17 4:16 下午 | |||
|  * @DESC | |||
|  */ | |||
| @Data | |||
| public class PersonWarnRightListResultDTO implements Serializable { | |||
| 
 | |||
|     private static final long serialVersionUID = -9181230625228226662L; | |||
| 
 | |||
|     private Integer total; | |||
| 
 | |||
|     private List<PersonWarnRightList> list; | |||
| 
 | |||
|     public PersonWarnRightListResultDTO() { | |||
|         this.total = NumConstant.ZERO; | |||
|         this.list = new ArrayList<>(); | |||
|     } | |||
| 
 | |||
|     @Data | |||
|     public static class PersonWarnRightList{ | |||
| 
 | |||
|         /** | |||
|          * 类型 | |||
|          */ | |||
|         private List<String> type; | |||
| 
 | |||
|         /** | |||
|          * 所属网格 | |||
|          */ | |||
|         private String gridName; | |||
| 
 | |||
|         /** | |||
|          * 姓名 | |||
|          */ | |||
|         private String name; | |||
| 
 | |||
|         /** | |||
|          * 所属家庭 | |||
|          */ | |||
|         private String family; | |||
| 
 | |||
|         /** | |||
|          * 电话 | |||
|          */ | |||
|         private String mobile; | |||
| 
 | |||
|         private String userId; | |||
| 
 | |||
|         public PersonWarnRightList() { | |||
|             this.type = new ArrayList<>(); | |||
|             this.gridName = ""; | |||
|             this.name = ""; | |||
|             this.family = ""; | |||
|             this.mobile = ""; | |||
|             this.userId = ""; | |||
|         } | |||
|     } | |||
| } | |||
					Loading…
					
					
				
		Reference in new issue