/* * Copyright (c) 2018-2025, ztt All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the pig4cloud.com developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: ztt */ package com.chinaztt.mes.plan.entity; import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.extension.activerecord.Model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.math.BigDecimal; import java.time.LocalDateTime; /** * 车间订单发料表(外协专用) * * @author xucg * @date 2022-5-28 14:26:01 */ @Data @TableName("plan_manufacturing_order_mat_issue") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "车间订单发料表") public class ManufacturingOrderMatIssue extends Model { private static final long serialVersionUID = 1L; /** * id */ @TableId @ApiModelProperty(value = "id") private Long id; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "创建时间") private LocalDateTime createTime; /** * 更新时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) @ApiModelProperty(value = "更新时间") private LocalDateTime updateTime; /** * 创建人 */ @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "创建人") private String createUser; /** * 更新人 */ @TableField(fill = FieldFill.INSERT_UPDATE) @ApiModelProperty(value = "更新人") private String updateUser; /** * 工厂id */ @ApiModelProperty(value = "车间订单id") private Long moId; /** * 制造订单号 */ @ApiModelProperty(value = "零件号") private String partNo; /** * 零件版本号 */ @ApiModelProperty(value = "零件版本号") private String engChgLevel; /** * 零件版本号 */ @ApiModelProperty(value = "零件名称") private String partName; /** * 单位 */ @ApiModelProperty(value = "单位") private String unit; /** * 仓库 */ @ApiModelProperty(value = "仓库") private String warehouse; /** * 批次号 */ @ApiModelProperty(value = "批次号") private String lotBatchNo; /** * 库位号 */ @ApiModelProperty(value = "库位号") private String locationNo; /** * 库位名称 */ @ApiModelProperty(value = "库位名称") private String locationName; /** * wdr编号 */ @ApiModelProperty(value = "wdr编号") private String wdrNo; /** * 下达号 */ @ApiModelProperty(value = "下达号") private String releaseNo; /** * 要下发数量 */ @ApiModelProperty(value = "要下发数量") private BigDecimal qtyRequired; /** * 已下发数量 */ @ApiModelProperty(value = "已下发数量") private BigDecimal qtyIssue; /** * 序列号 */ @ApiModelProperty(value = "序列号") private String serialNo; /** * 库存id */ @ApiModelProperty(value = "库存id") private Long stockId; /** * 库存来源 */ @ApiModelProperty(value = "来源") private String matFrom; /** * ifs行项号 */ @ApiModelProperty(value = "ifs行项号") private String ifsLineItemNo; }