package com.storlead.mail.pojo.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-11-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user_mail_track_record")
@ApiModel(value="UserMailTrackRecordEntity对象", description="当前收取邮件的最新邮件记录")
public class UserMailTrackRecordEntity 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 = "当前最新的邮件")
    @TableField("max_mail_id")
    private Long maxMailId;

    @ApiModelProperty(value = "邮件msgId")
    @TableField("message_id")
    private String messageId;


}
