7 changed files with 112 additions and 0 deletions
@ -0,0 +1,45 @@ |
|||
package com.epmet.commons.tools.dto.form.mq; |
|||
|
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* desc:rocketmq 基础参数 |
|||
* |
|||
* @author zhaoqifeng |
|||
* @dscription |
|||
* @date 2021/6/7 16:23 |
|||
*/ |
|||
@NoArgsConstructor |
|||
@Data |
|||
public class MqBaseFormDTO implements Serializable { |
|||
private static final long serialVersionUID = -6616119263736477518L; |
|||
|
|||
/** |
|||
* 客户Id |
|||
*/ |
|||
private String customerId; |
|||
|
|||
/** |
|||
* 对象id 没有则查询全部 |
|||
*/ |
|||
private String objectId; |
|||
|
|||
/** |
|||
* 对象id 没有则查询全部 |
|||
*/ |
|||
private List<String> objectIdList; |
|||
|
|||
public MqBaseFormDTO(String customerId, String objectId) { |
|||
this.customerId = customerId; |
|||
this.objectId = objectId; |
|||
} |
|||
|
|||
public MqBaseFormDTO(String customerId, List<String> objectIdList) { |
|||
this.customerId = customerId; |
|||
this.objectIdList = objectIdList; |
|||
} |
|||
} |
Loading…
Reference in new issue