package cn.besteam.modules.medical.dto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; @Data @ApiModel public class MwMessageDTO { @ApiModelProperty(value = "ID") private Integer id; @ApiModelProperty("状态(0:未读,1:已读)") private Integer status; @ApiModelProperty("来源") private String promulgator; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date startTime; @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date endTime; @ApiModelProperty("内容") private String content; }