haungxing
2 years ago
4 changed files with 109 additions and 0 deletions
@ -0,0 +1,58 @@
|
||||
package com.hnac.hzims.message.dto; |
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
import javax.validation.constraints.NotNull; |
||||
import java.io.Serializable; |
||||
import java.time.LocalDateTime; |
||||
|
||||
/** |
||||
* @ClassName PlanMsgRecordDto |
||||
* @description: |
||||
* @author: hx |
||||
* @create: 2023-04-14 14:15 |
||||
* @Version 4.0 |
||||
**/ |
||||
@Data |
||||
@ApiModel("计划推送消息请求对象") |
||||
@EqualsAndHashCode |
||||
public class PlanMsgRecordDto implements Serializable { |
||||
|
||||
@ApiModelProperty("机构ID") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
@NotNull |
||||
private Long deptId; |
||||
|
||||
@ApiModelProperty("消息模板Id") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
@NotNull |
||||
private Long templateId; |
||||
|
||||
@ApiModelProperty("业务任务Id") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
@NotNull |
||||
private Long taskId; |
||||
|
||||
@ApiModelProperty("消息接收人") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
@NotNull |
||||
private Long receiver; |
||||
|
||||
@ApiModelProperty("消息推送计划时间") |
||||
@NotNull |
||||
private LocalDateTime planTime; |
||||
|
||||
@ApiModelProperty("消息创建人") |
||||
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||
private Long createUser; |
||||
|
||||
@ApiModelProperty("消息推送耳机") |
||||
@NotNull |
||||
private String content; |
||||
|
||||
} |
Loading…
Reference in new issue