forked from luyan/epmet-cloud-lingshan
13 changed files with 354 additions and 4 deletions
@ -0,0 +1,17 @@ |
|||||
|
package com.epmet.resi.group.constant; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/9/3 4:39 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
public interface ActConstant { |
||||
|
|
||||
|
/** |
||||
|
* 类型【组织活动次数:orgAct,应参加活动次数:joinAct,活动签到次数:signAct】 |
||||
|
*/ |
||||
|
String ORG_ACT = "orgAct"; |
||||
|
String JOIN_ACT = "joinAct"; |
||||
|
String SIGN_ACT = "signAct"; |
||||
|
|
||||
|
} |
@ -0,0 +1,44 @@ |
|||||
|
package com.epmet.resi.group.dto.act; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/9/3 3:35 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OrganizationalLifeLineChartDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -4224453421929580053L; |
||||
|
|
||||
|
/** |
||||
|
* 月份 |
||||
|
*/ |
||||
|
private String month; |
||||
|
|
||||
|
/** |
||||
|
* 组织活动次数 |
||||
|
*/ |
||||
|
private Integer organizationalActCount; |
||||
|
|
||||
|
/** |
||||
|
* 应参加活动次数 |
||||
|
*/ |
||||
|
private Integer shouldJoinActCount; |
||||
|
|
||||
|
/** |
||||
|
* 活动签到次数 |
||||
|
*/ |
||||
|
private Integer actSignCount; |
||||
|
|
||||
|
public OrganizationalLifeLineChartDTO() { |
||||
|
this.month = ""; |
||||
|
this.organizationalActCount = NumConstant.ZERO; |
||||
|
this.shouldJoinActCount = NumConstant.ZERO; |
||||
|
this.actSignCount = NumConstant.ZERO; |
||||
|
} |
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.epmet.resi.group.dto.act.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/9/3 2:52 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OrganizationalLifeFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -8611679719504666547L; |
||||
|
|
||||
|
private String yearId; |
||||
|
|
||||
|
private String userId; |
||||
|
|
||||
|
private String customerId; |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
package com.epmet.resi.group.dto.act.result; |
||||
|
|
||||
|
import com.epmet.commons.tools.constant.NumConstant; |
||||
|
import com.epmet.resi.group.dto.act.OrganizationalLifeLineChartDTO; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2021/9/3 2:35 下午 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OrganizationalLifeResultDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 6991638491754890967L; |
||||
|
|
||||
|
/** |
||||
|
* 组织活动次数 |
||||
|
*/ |
||||
|
private Integer organizationalActCount; |
||||
|
|
||||
|
/** |
||||
|
* 应参加活动次数 |
||||
|
*/ |
||||
|
private Integer shouldJoinActCount; |
||||
|
|
||||
|
/** |
||||
|
* 活动签到次数 |
||||
|
*/ |
||||
|
private Integer actSignCount; |
||||
|
|
||||
|
/** |
||||
|
* 折线图 |
||||
|
*/ |
||||
|
private List<OrganizationalLifeLineChartDTO> lineChart; |
||||
|
|
||||
|
public OrganizationalLifeResultDTO() { |
||||
|
this.organizationalActCount = NumConstant.ZERO; |
||||
|
this.shouldJoinActCount = NumConstant.ZERO; |
||||
|
this.actSignCount = NumConstant.ZERO; |
||||
|
this.lineChart = new ArrayList<>(); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue