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-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("email_folder_rule")
@ApiModel(value="EmailFolderRuleEntity对象", description="用户邮件文件夹出入规则")
public class EmailFolderRuleEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "文件夹id")
    @TableField("folder_id")
    private Long folderId;

    @ApiModelProperty(value = "规则code ,枚举配置")
    @TableField("folder_rule_code")
    private String folderRuleCode;

    @ApiModelProperty(value = "规则内容")
    @TableField("compare_content")
    private String compareContent;

}
