package vip.xiaonuo.warehouse.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 仓库原材料出库
 * </p>
 *
 * @author author
 * @since 2025-03-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("warehouse_material_out_stock")
public class WarehouseMaterialOutStock implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 原材料id
     */
    @ApiModelProperty(value = "物料分类0原材料 1成品半成品 2低值易耗  3包材",position = 1)
    private Integer materialType;

    /**
     * 原材料名称
     */
    @ApiModelProperty(value = "原材料名称",position = 2)
    private String material;

    /**
     * 出库数量
     */
    @ApiModelProperty(value = "出库数量",position = 3)
    private String outStock;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",position = 4)
    private Date createTime;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id",position = 5)
    private String orgId;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称",position = 6)
    private String orgName;
    @ApiModelProperty(value = "物料编码", position = 5)
    private String fnumber;

}
