147 lines
2.6 KiB
Java
147 lines
2.6 KiB
Java
package com.mini.capi.biz.domain;
|
||
|
||
import com.baomidou.mybatisplus.annotation.IdType;
|
||
import com.baomidou.mybatisplus.annotation.TableField;
|
||
import com.baomidou.mybatisplus.annotation.TableId;
|
||
import com.baomidou.mybatisplus.annotation.TableName;
|
||
import java.io.Serializable;
|
||
import java.time.LocalDateTime;
|
||
import lombok.Getter;
|
||
import lombok.Setter;
|
||
|
||
/**
|
||
* <p>
|
||
* 接收邮件表
|
||
* </p>
|
||
*
|
||
* @author gaoxq
|
||
* @since 2025-09-22
|
||
*/
|
||
@Getter
|
||
@Setter
|
||
@TableName("biz_mail_received")
|
||
public class MailReceived implements Serializable {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 创建时间
|
||
*/
|
||
@TableField("create_time")
|
||
private LocalDateTime createTime;
|
||
|
||
/**
|
||
* 主键ID
|
||
*/
|
||
@TableId(value = "id", type = IdType.AUTO)
|
||
private Long id;
|
||
|
||
/**
|
||
* 邮件服务器消息ID
|
||
*/
|
||
@TableField("message_id")
|
||
private String messageId;
|
||
|
||
/**
|
||
* 关联的邮件账户ID
|
||
*/
|
||
@TableField("account_id")
|
||
private Long accountId;
|
||
|
||
/**
|
||
* 发件人地址
|
||
*/
|
||
@TableField("from_address")
|
||
private String fromAddress;
|
||
|
||
/**
|
||
* 发件人名称
|
||
*/
|
||
@TableField("from_name")
|
||
private String fromName;
|
||
|
||
/**
|
||
* 收件人地址,多个用逗号分隔
|
||
*/
|
||
@TableField("to_addresses")
|
||
private String toAddresses;
|
||
|
||
/**
|
||
* 抄送地址,多个用逗号分隔
|
||
*/
|
||
@TableField("cc_addresses")
|
||
private String ccAddresses;
|
||
|
||
/**
|
||
* 邮件主题
|
||
*/
|
||
@TableField("subject")
|
||
private String subject;
|
||
|
||
/**
|
||
* 邮件内容
|
||
*/
|
||
@TableField("content")
|
||
private String content;
|
||
|
||
/**
|
||
* 发送时间
|
||
*/
|
||
@TableField("send_time")
|
||
private LocalDateTime sendTime;
|
||
|
||
/**
|
||
* 接收时间
|
||
*/
|
||
@TableField("receive_time")
|
||
private LocalDateTime receiveTime;
|
||
|
||
/**
|
||
* 是否已读:0-未读,1-已读
|
||
*/
|
||
@TableField("is_read")
|
||
private Boolean isRead;
|
||
|
||
/**
|
||
* 是否有附件:0-无,1-有
|
||
*/
|
||
@TableField("has_attachment")
|
||
private Boolean hasAttachment;
|
||
|
||
/**
|
||
* 邮件文件夹
|
||
*/
|
||
@TableField("folder")
|
||
private String folder;
|
||
|
||
/**
|
||
* 更新时间
|
||
*/
|
||
@TableField("update_time")
|
||
private LocalDateTime updateTime;
|
||
|
||
/**
|
||
* 租户id
|
||
*/
|
||
@TableField("f_tenant_id")
|
||
private String fTenantId;
|
||
|
||
/**
|
||
* 流程id
|
||
*/
|
||
@TableField("f_flow_id")
|
||
private String fFlowId;
|
||
|
||
/**
|
||
* 流程任务主键
|
||
*/
|
||
@TableField("f_flow_task_id")
|
||
private String fFlowTaskId;
|
||
|
||
/**
|
||
* 流程任务状态
|
||
*/
|
||
@TableField("f_flow_state")
|
||
private Integer fFlowState;
|
||
}
|