package com.ruoyi.web.v2.v1.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-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("js_in_stock")
@ApiModel(value="JsInStock对象", description="v2.0物料入库")
public class JsInStock implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "入库时间")
    private String inTime;

    @ApiModelProperty(value = "物料批次号")
    private String materialBatch;

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

    @ApiModelProperty(value = "物料类型")
    private Integer materialType;

    @ApiModelProperty(value = "入库数量")
    private String stockAmount;

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

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

    @ApiModelProperty(value = "存储位置")
    private String location;

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

    @ApiModelProperty(value = "保管人")
    private String saveUser;

    @ApiModelProperty(value = "该条入库记录关联的物料编码")
    private String materialNum;


}
