forked from luyan/epmet-cloud-lingshan
				
			
				 11 changed files with 211 additions and 4 deletions
			
			
		@ -0,0 +1,28 @@ | 
				
			|||
package com.epmet.project.dto.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import javax.validation.constraints.NotNull; | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2021/8/17 10:06 上午 | 
				
			|||
 * @DESC | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class CategoryTopAppealFormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -1252908912057212505L; | 
				
			|||
 | 
				
			|||
    public interface CategoryTopAppealForm{} | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "组织ID不能为空",groups = CategoryTopAppealForm.class) | 
				
			|||
    private String agencyId; | 
				
			|||
 | 
				
			|||
    @NotNull(message = "topCount不能为空",groups = CategoryTopAppealForm.class) | 
				
			|||
    private Integer topCount; | 
				
			|||
 | 
				
			|||
    private String customerId; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,38 @@ | 
				
			|||
package com.epmet.project.dto.result; | 
				
			|||
 | 
				
			|||
import com.epmet.commons.tools.constant.NumConstant; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2021/8/18 11:09 上午 | 
				
			|||
 * @DESC | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class CategoryTopAppealResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -4334256489103188282L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 分类ID | 
				
			|||
     */ | 
				
			|||
    private String categoryId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 分类名称 | 
				
			|||
     */ | 
				
			|||
    private String categoryName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 分类数量 | 
				
			|||
     */ | 
				
			|||
    private Integer categoryCount; | 
				
			|||
 | 
				
			|||
    public CategoryTopAppealResultDTO() { | 
				
			|||
        this.categoryId = ""; | 
				
			|||
        this.categoryName = ""; | 
				
			|||
        this.categoryCount = NumConstant.ZERO; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue