ConfigWarning.java 3.3 KB
package com.huaheng.pc.config.configWarning.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.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * Created by Enzo Cotter on 2019/11/11.
 */

@ApiModel(value = "ConfigWarning")
@Data
@TableName(value = "config_warning")
public class ConfigWarning implements Serializable {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "null")
    private Integer id;

    /**
     * 编码
     */
    @TableId(value = "code", type = IdType.INPUT)
    @ApiModelProperty(value = "编码")
    private String code;

    /**
     * 类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "类型")
    private String type;

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

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

    /**
     * 物料编码
     */
    @TableField(value = "materialCode")
    @ApiModelProperty(value = "物料编码")
    private String materialCode;

    /**
     * 物料名称
     */
    @TableField(value = "materialName")
    @ApiModelProperty(value = "物料名称")
    private String materialName;

    /**
     * 物料规格
     */
    @TableField(value = "materialSpec")
    @ApiModelProperty(value = "物料规格")
    private String materialSpec;

    /**
     * 物料单位
     */
    @TableField(value = "materialUnit")
    @ApiModelProperty(value = "物料单位")
    private String materialUnit;

    /**
     * 最大
     */
    @TableField(value = "max")
    @ApiModelProperty(value = "最大")
    private BigDecimal max;

    /**
     * 最小
     */
    @TableField(value = "min")
    @ApiModelProperty(value = "最小")
    private BigDecimal min;

    /**
     * 最大
     */
    @TableField(value = "upper")
    @ApiModelProperty(value = "上限预警值")
    private BigDecimal upper;

    /**
     * 最小
     */
    @TableField(value = "lower")
    @ApiModelProperty(value = "下限预警值")
    private BigDecimal lower;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value = "备注")
    private String remark;

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

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

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

    /**
     * 更新人
     */
    @TableField(value = "lastUpdatedBy")
    @ApiModelProperty(value = "更新人")
    private String lastUpdatedBy;

    @TableField(value = "email")
    @ApiModelProperty(value = "null")
    private String email;

    private static final long serialVersionUID = 1L;
}