You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
luoo_parent/luoo_common/src/main/java/dto/UserMessageDto.java

52 lines
849 B

package dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@Data
public class UserMessageDto implements Serializable {
private static final long serialVersionUID = 1L;
/**
* ID
*/
private String messageId;
/**
* ID
*/
private String userId;
/**
*
*/
private String title;
/**
*
*/
private String content;
/**
* 0 1
*/
private Integer havaRead;
/**
*
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date sendTime;
}