MaterialWarning.java 2.67 KB
package com.huaheng.pc.config.materialWarnning.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 物料报警表 material_warning
 * 
 * @author huaheng
 * @date 2020-07-17
 */
@TableName(value = "material_warning")
@Data
public class MaterialWarning implements Serializable{
	private static final long serialVersionUID = 1L;
	
        /** - */
        @TableId(value = "id", type = IdType.AUTO)
    	private Integer id;
        /** 预警类别代码 */
        @TableField(value = "alarmType")
    	private String alarmType;
        /** 仓库编码 */
        @TableField(value = "warehouseCode")
    	private String warehouseCode;
        /** 货主编码 */
        @TableField(value = "companyCode")
    	private String companyCode;
        /** 物料编码 */
        @TableField(value = "materialCode")
    	private String materialCode;
        /** 物料名称 */
        @TableField(value = "materialName")
    	private String materialName;
        /** 物料规格 */
        @TableField(value = "materialSpec")
    	private String materialSpec;
        /** 物料单位 */
        @TableField(value = "materialUnit")
    	private String materialUnit;
        /** 最大 */
        @TableField(value = "max")
    	private BigDecimal max;
        /** 最小 */
        @TableField(value = "min")
    	private BigDecimal min;
        /** 上限预警值 */
        @TableField(value = "upper")
    	private BigDecimal upper;
        /** 下限预警值 */
        @TableField(value = "lower")
    	private BigDecimal lower;
        /** 备注 */
        @TableField(value = "remark")
    	private String remark;
        /** 创建时间 */
        @TableField(value = "created", fill = FieldFill.INSERT)
    	private Date created;
        /** 创建人 */
        @TableField(value = "createdBy", fill = FieldFill.INSERT)
    	private String createdBy;
        /** 更新时间 */
        @TableField(value = "lastUpdated", fill = FieldFill.INSERT_UPDATE)
    	private Date lastUpdated;
        /** 更新人 */
        @TableField(value = "lastUpdatedBy", fill = FieldFill.INSERT_UPDATE)
    	private String lastUpdatedBy;
        /** - */
        @TableField(value = "userId")
    	private String userId;
        /** - */
        @TableField(value = "userName")
    	private String userName;
        /** - */
        @TableField(value = "email")
    	private String email;

}