forked from rongchao/epmet-cloud-rizhao
15 changed files with 350 additions and 1 deletions
@ -0,0 +1,29 @@ |
|||
package com.epmet.resi.group.dto.act.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 002、活动类别下拉框查询 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/19 14:16 |
|||
*/ |
|||
@Data |
|||
public class ActCategoryFormDTO implements Serializable { |
|||
|
|||
|
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
/** |
|||
* 组Id |
|||
*/ |
|||
@NotBlank(message = "categoryCode不能为空", groups = ActCategoryFormDTO.AddUserInternalGroup.class) |
|||
private String categoryCode; |
|||
|
|||
@NotBlank(message = "tokenDto获取customerId为空", groups = ActCategoryFormDTO.AddUserInternalGroup.class) |
|||
private String customerId; |
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.resi.group.dto.act.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 001、活动类别列表 入参 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/19 13:13 |
|||
*/ |
|||
@Data |
|||
public class ActMenuFormDTO implements Serializable { |
|||
public interface AddUserInternalGroup { |
|||
} |
|||
|
|||
/** |
|||
* 组Id |
|||
*/ |
|||
@NotBlank(message = "groupId不能为空", groups =AddUserInternalGroup.class) |
|||
private String groupId; |
|||
|
|||
@NotBlank(message = "tokenDto获取customerId为空", groups =AddUserInternalGroup.class) |
|||
private String customerId; |
|||
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.epmet.resi.group.dto.act.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 001、活动类别列表 返参 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/19 13:14 |
|||
*/ |
|||
@Data |
|||
public class ActMenuResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 7376609450780826924L; |
|||
|
|||
/** |
|||
* 活动应参加人数 |
|||
*/ |
|||
private Integer shouldAttend; |
|||
|
|||
/** |
|||
* 一级菜单列表 |
|||
*/ |
|||
private List<CategoryDTO> categoryList; |
|||
|
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.epmet.resi.group.dto.act.result; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 002、活动类别下拉框查询 返参 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/19 14:18 |
|||
*/ |
|||
@Data |
|||
public class CategoryCodeResultDTO implements Serializable { |
|||
private static final long serialVersionUID = 8615713807759844661L; |
|||
@JsonIgnore |
|||
private String customerId; |
|||
private String categoryCode; |
|||
private String categoryName; |
|||
private String parentCode; |
|||
private List<CategoryCodeResultDTO> children; |
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.epmet.resi.group.dto.act.result; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 001、活动类别列表 返参-一级类别信息 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/19 13:28 |
|||
*/ |
|||
@Data |
|||
public class CategoryDTO implements Serializable { |
|||
private String categoryCode; |
|||
private String categoryName; |
|||
private String parentCode; |
|||
} |
@ -0,0 +1,11 @@ |
|||
package com.epmet.modules.constant; |
|||
|
|||
/** |
|||
* 描述一下 |
|||
* |
|||
* @author yinzuomei@elink-cn.com |
|||
* @date 2021/4/19 13:41 |
|||
*/ |
|||
public interface GroupActConstant { |
|||
String DEFAULT_CUSTOMER_ID = "default"; |
|||
} |
Loading…
Reference in new issue