/* * 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.quality.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.time.LocalDateTime; /** * 检测汇报抽检记录 * * @author shz * @date 2023-04-14 10:59:13 */ @Data @TableName("quality_report_sampling_record") @EqualsAndHashCode(callSuper = true) @ApiModel(value = "检测汇报抽检记录") public class ReportSamplingRecord extends Model { private static final long serialVersionUID = 1L; /** * id */ @TableId @ApiModelProperty(value = "id") private Long id; /** * 制造订单抽检规则id */ @ApiModelProperty(value = "制造订单抽检规则id") private Long moSamplingRuleId; /** * 制造订单id */ @ApiModelProperty(value = "制造订单id") private Long moId; /** * 检测汇报id */ @ApiModelProperty(value = "检测汇报id") private Long reportId; /** * 批次号 */ @ApiModelProperty(value = "批次号") private String outBatchNo; /** * 抽检次数 */ @ApiModelProperty(value = "抽检次数") private Integer samplingNum; /** * 检测次数 */ @ApiModelProperty(value = "检测次数") private Integer checkedNum; /** * 抽检分母 */ @ApiModelProperty(value = "抽检分母") private Integer samplingDenominator; /** * 抽检分子 */ @ApiModelProperty(value = "抽检分子") private Integer samplingNumerator; /** * 创建时间 */ @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; /** * 抽检位置 */ @ApiModelProperty(value = "抽检位置") private String samplingPosition; /** * 版本 */ @ApiModelProperty(value = "版本") private Integer version; }