Browse Source
# Conflicts: # hzims-service-api/message-api/src/main/java/com/hnac/hzims/message/fegin/IMessageClient.java # hzims-service/message/src/main/java/com/hnac/hzims/message/service/IMessagePushRecordService.javazhongwei
yang_shj
1 year ago
12 changed files with 224 additions and 11 deletions
@ -0,0 +1,72 @@ |
|||||||
|
package com.hnac.hzims.message.dto; |
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
import lombok.EqualsAndHashCode; |
||||||
|
import org.springblade.core.mp.support.QueryField; |
||||||
|
import org.springblade.core.mp.support.SqlCondition; |
||||||
|
|
||||||
|
import javax.validation.constraints.NotNull; |
||||||
|
import java.io.Serializable; |
||||||
|
import java.util.Map; |
||||||
|
|
||||||
|
/** |
||||||
|
* @ClassName SmsImmediatelyPushDTO |
||||||
|
* @description: 短信即时推送请求内容 |
||||||
|
* @author: hx |
||||||
|
* @create: 2023-08-09 08:46 |
||||||
|
* @Version 4.0 |
||||||
|
**/ |
||||||
|
@Data |
||||||
|
@EqualsAndHashCode |
||||||
|
@ApiModel("短信即时推送请求内容") |
||||||
|
public class SmsImmediatelyPushDTO implements Serializable { |
||||||
|
|
||||||
|
@ApiModelProperty(value = "机构ID",required = true) |
||||||
|
@NotNull(message = "机构ID不能为空") |
||||||
|
private Long deptId; |
||||||
|
|
||||||
|
@ApiModelProperty("机构名称") |
||||||
|
private String deptName; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "业务关键字",required = true) |
||||||
|
@NotNull(message = "业务关键字不能为空") |
||||||
|
private String businessKey; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "业务分类。系统通知:system,事务消息:business,日常提醒:dailyRemind,巡检消息:inspect",required = true) |
||||||
|
@NotNull(message = "业务分类不能为空") |
||||||
|
private String businessClassify; |
||||||
|
|
||||||
|
@ApiModelProperty("业务任务ID") |
||||||
|
@QueryField(condition = SqlCondition.EQUAL) |
||||||
|
private Long taskId; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty(value = "内容") |
||||||
|
private String content; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty(value = "主题") |
||||||
|
private String subject; |
||||||
|
|
||||||
|
@NotNull |
||||||
|
@ApiModelProperty(value = "推送用户") |
||||||
|
private String pusher; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "创建用户") |
||||||
|
private Long createUser; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "租户ID") |
||||||
|
private String tenantId; |
||||||
|
|
||||||
|
@ApiModelProperty("短信推送资源编码") |
||||||
|
@NotNull |
||||||
|
private String resourceCode; |
||||||
|
|
||||||
|
@ApiModelProperty("短信推送填充内容") |
||||||
|
@NotNull |
||||||
|
private Map<String,String> params; |
||||||
|
|
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue