forked from luyan/epmet-cloud-lingshan
11 changed files with 261 additions and 4 deletions
@ -0,0 +1,23 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/7 9:55 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectDistributionAnalysisFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 4911448213428751186L; |
||||
|
|
||||
|
public interface ProjectDistributionAnalysisForm{} |
||||
|
|
||||
|
@NotBlank(message = "date不能为空",groups = ProjectDistributionAnalysisForm.class) |
||||
|
private String date; |
||||
|
|
||||
|
} |
@ -0,0 +1,38 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/7 9:40 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class CategoryListDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 2782140672250580404L; |
||||
|
|
||||
|
/** |
||||
|
* 分类编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
|
||||
|
/** |
||||
|
* 分类名字 |
||||
|
*/ |
||||
|
private String categoryName; |
||||
|
|
||||
|
/** |
||||
|
* 个数 |
||||
|
*/ |
||||
|
private Integer count; |
||||
|
|
||||
|
public CategoryListDTO() { |
||||
|
this.categoryCode = ""; |
||||
|
this.categoryName = ""; |
||||
|
this.count = NumConstant.ZERO; |
||||
|
} |
||||
|
} |
@ -0,0 +1,27 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/7 11:18 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectCategoryByDateDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -6620068264792270703L; |
||||
|
|
||||
|
/** |
||||
|
* 项目创建时间 |
||||
|
*/ |
||||
|
private Date createdTime; |
||||
|
|
||||
|
/** |
||||
|
* 分类编码 |
||||
|
*/ |
||||
|
private String categoryCode; |
||||
|
} |
@ -0,0 +1,27 @@ |
|||||
|
package com.epmet.dto.result; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/12/7 9:38 上午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ProjectDistributionAnalysisLeftResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -5694808164804517466L; |
||||
|
|
||||
|
/** |
||||
|
* 时间段 |
||||
|
*/ |
||||
|
private String time; |
||||
|
|
||||
|
/** |
||||
|
* 分类集合 |
||||
|
*/ |
||||
|
private List<CategoryListDTO> categoryList; |
||||
|
} |
Loading…
Reference in new issue