package com.ruoyi.web.v2.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * v2.0物料管理
 * </p>
 *
 * @author author
 * @since 2025-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("js_material")
@ApiModel(value="JsMaterial对象", description="v2.0物料管理")
public class JsMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

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

    @ApiModelProperty(value = "物料编码")
    private String materialNum;

    @ApiModelProperty(value = "物料类型（原材料、产品、包材、危险化学品、检验检疫试剂、消毒药剂）")
    private Integer materialType;

    @ApiModelProperty(value = "计量单位")
    private String unit;

    @ApiModelProperty(value = "型号规格")
    private String model;

    @ApiModelProperty(value = "保存条件")
    private String saveCondition;

}
