/* * 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.production.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; 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; /** * 模具使用记录表 * * @author cxf * @date 2021-10-25 13:07:10 */ @Data @TableName("production_mould_use_record") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "模具使用记录表") public class MouldUseRecord extends Model { private static final long serialVersionUID = 1L; public static final String STATE_UNSUBMITTED = "01unsubmitted"; public static final String STATE_SUBMITTED = "02submitted"; /** * id */ @TableId @ApiModelProperty(value = "id") private Long id; /** * 模具登记表id */ @ApiModelProperty(value = "模具登记表id") private Long mouldRegisterId; /** * 工单id */ @ApiModelProperty(value = "工单id") private Long operationTaskId; /** * 批号 */ @ApiModelProperty(value="批号") private String batchNo; /** * 报工主表id */ @ApiModelProperty(value = "报工主表id") private Long productMainId; /** * 产量 */ @ApiModelProperty(value = "产量") private BigDecimal output; /** * 使用量 */ @ApiModelProperty(value = "使用量") private BigDecimal usageAmount; /** * 报工单号 */ @ApiModelProperty(value = "报工单号") private String productNo; /** * 状态 */ @ApiModelProperty(value = "状态") private String status; /** * 工作站id */ @ApiModelProperty(value = "工作站id") private Long workstationId; }