AlarmLevel.java 2.37 KB
package com.huaheng.pc.config.alarmLevel.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;

@ApiModel(value="com.huaheng.pc.config.alarmLevel.domain.AlarmLevel")
@Data
@TableName(value = "alarm_level")
public class AlarmLevel 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;

    /**
     * 等级
     */
    @TableField(value = "level")
    @ApiModelProperty(value="等级")
    private Integer level;

    /**
     * 时间阈值
     */
    @TableField(value = "timeThreshold")
    @ApiModelProperty(value="时间阈值")
    private Integer timeThreshold;

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

    /**
     * 创建用户
     */
    @TableField(value = "createdBy")
    @ApiModelProperty(value="创建用户")
    private String createdBy;

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

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdateBy")
    @ApiModelProperty(value="更新用户")
    private String lastUpdateBy;

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

    /**
     * 自定义字段
     */
    @TableField(value = "userDef1")
    @ApiModelProperty(value="自定义字段")
    private String userDef1;

    private static final long serialVersionUID = 1L;
}