SendMail.java 3.03 KB
package com.huaheng.pc.config.sendMail.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @author mahuandong
 */
@ApiModel(value="com.huaheng.pc.config.sendMail.domain.SendMail")
@Data
@TableName(value = "send_mail")
public class SendMail implements Serializable {
    /**
     * 主键,自增字段
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键,自增字段")
    private Integer id;

    /**
     * 仓库编码
     */
    @TableField(value = "warehouseCode")
    @ApiModelProperty(value="仓库编码")
    private String warehouseCode;

    /**
     * 货主编码
     */
    @TableField(value = "companyCode")
    @ApiModelProperty(value="货主编码")
    private String companyCode;

    /**
     * 类别
     */
    @TableField(value = "type")
    @ApiModelProperty(value="类别")
    private Integer type;

    /**
     * 预警id
     */
    @TableField(value = "alarmId")
    @ApiModelProperty(value="预警id")
    private Integer alarmId;

    /**
     * 预警级别
     */
    @TableField(value = "warningLevel")
    @ApiModelProperty(value="预警级别")
    private Integer warningLevel;

    /**
     * 发送级别
     */
    @TableField(value = "sendingLevel")
    @ApiModelProperty(value="发送级别")
    private Integer sendingLevel;

    /**
     * 收件人
     */
    @TableField(value = "addressee")
    @ApiModelProperty(value="收件人")
    private String addressee;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    @ApiModelProperty(value="邮箱")
    private String email;

    /**
     * 预警时间
     */
    @TableField(value = "alarmTime")
    @ApiModelProperty(value="预警时间")
    private Date alarmTime;

    /**
     * 标题
     */
    @TableField(value = "title")
    @ApiModelProperty(value="标题")
    private String title;

    /**
     * 正文
     */
    @TableField(value = "body")
    @ApiModelProperty(value="正文")
    private String body;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    @ApiModelProperty(value="创建时间")
    private Date created;

    /**
     * 更新时间
     */
    @TableField(value = "lastUpdated")
    @ApiModelProperty(value="更新时间")
    private Date lastUpdated;

    /**
     * 是否发送
     */
    @TableField(value = "enable")
    @ApiModelProperty(value="是否发送")
    private Boolean enable;

    /**
     * 是否处理
     */
    @TableField(value = "handle")
    @ApiModelProperty(value="是否处理")
    private Boolean handle;

    /**
     * 是否删除
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value="是否删除")
    private Boolean deleted;

    private static final long serialVersionUID = 1L;
}