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 2025-02-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("mailbox_auto_reply_set")
@ApiModel(value="MailboxAutoReplySetEntity对象", description="邮箱自动回复内容")
public class MailboxAutoReplySetEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "业务数据id")
    @TableField("smtp_pop_id")
    private Long smtpPopId;

    @ApiModelProperty(value = "邮件内容")
    @TableField("reply_content")
    private String replyContent;

    @ApiModelProperty(value = "邮箱地址")
    @TableField(exist = false)
    private String mailAddress;

}
