package com.storlead.sales.mail.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.storlead.framework.mybatis.entity.SysBaseField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 邮件等待处理记录
 * </p>
 *
 * @author chenkq
 * @since 2024-08-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mail_delay_pull_record")
@ApiModel(value="MailDelayPullRecordEntity对象", description="邮件等待处理记录")
public class MailDelayPullRecordEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "绑定的邮件")
    @TableField("smtp_pop_id")
    private Long smtpPopId;

    @ApiModelProperty(value = "msg_uid")
    @TableField("msg_uid")
    private String msgUid;

    @ApiModelProperty(value = "显示顺序")
    @TableField("msg_num")
    private Integer msgNum;

    @ApiModelProperty(value = "主题")
    @TableField("subject")
    private String subject;

    @ApiModelProperty(value = "folder")
    @TableField("folder")
    private String folder;

    @ApiModelProperty(value = "状态：0 ：失败，1：成功")
    @TableField("status")
    private Integer status;


}
