|
|
@ -1,11 +1,14 @@ |
|
|
|
package com.hnac.hzims.message.dto; |
|
|
|
package com.hnac.hzims.message.dto; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat; |
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|
|
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
|
|
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.Data; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
import lombok.EqualsAndHashCode; |
|
|
|
|
|
|
|
import org.springblade.core.tool.utils.DateUtil; |
|
|
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat; |
|
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.io.Serializable; |
|
|
@ -44,6 +47,8 @@ public class PlanMsgRecordDto implements Serializable { |
|
|
|
private Long receiver; |
|
|
|
private Long receiver; |
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("消息推送计划时间") |
|
|
|
@ApiModelProperty("消息推送计划时间") |
|
|
|
|
|
|
|
@JsonFormat(pattern = DateUtil.PATTERN_DATETIME) |
|
|
|
|
|
|
|
@DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME) |
|
|
|
@NotNull |
|
|
|
@NotNull |
|
|
|
private LocalDateTime planTime; |
|
|
|
private LocalDateTime planTime; |
|
|
|
|
|
|
|
|
|
|
|