/* * 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.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; 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.io.Serializable; import java.time.LocalDateTime; /** * 工单生产记录表 * * @author sunxl * @date 2021-04-27 14:46:56 */ @Data @TableName("production_operation_task_record") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "工单生产记录表") public class OperationTaskRecord extends Model { private static final long serialVersionUID = 1L; /** * id */ @TableId @ApiModelProperty(value="id") private Long id; /** * 名称 */ @ApiModelProperty(value="名称") private String name; /** * 工单id */ @ApiModelProperty(value="工单id") private Long operationTaskId; /** * 创建时间 */ @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 operationTemplateId; /** * 班次id */ @ApiModelProperty(value="班次id") private Long dutyRecordId; /** * 工作站id */ @ApiModelProperty(value = "工作站id") private Long workstationId; /** * 物料id */ @ApiModelProperty(value = "物料id") private Long partId; /** * 产出id */ @ApiModelProperty(value = "产出id") private Long productOutId; /** * 分割任务产出id */ @ApiModelProperty(value = "分割任务产出id") private Long segmentationId; /** * SN号 */ @ApiModelProperty(value = "SN号") private String outBatchNo; }