package com.izouma.dingdong.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "系统邮件", description = "系统邮件")
public class EmailDTO {
    private Long id;

    private String name = "系统消息";

    @ApiModelProperty(value = "接收人头像")
    private String receiveAvatar;

    @ApiModelProperty(value = "收件人", name = "receiveNickname")
    private String receiveNickname;

    @ApiModelProperty(value = "发送时间", name = "sendTime")
    private LocalDateTime sendTime;

    @ApiModelProperty(value = "标题", name = "title")
    private String title;

    @ApiModelProperty(value = "内容", name = "content")
    private String content;

    @ApiModelProperty(value = "是否已读", name = "isRead")
    private Boolean isRead;

}
