package com.ruoyi.web.base.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.ruoyi.web.base.domain.base.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 常规生产定级表，存储生产定级相关数据
 * </p>
 *
 * @author author
 * @since 2026-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("production_regular_grading")
@ApiModel(value="ProductionRegularGrading对象", description="常规生产定级表，存储生产定级相关数据")
public class ProductionRegularGrading  extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "生产计划单号")
    private String productionPlanNumber;

    @ApiModelProperty(value = "生产类型")
    private String productionType;

    @ApiModelProperty(value = "生产车间")
    private String productionWorkshop;

    @ApiModelProperty(value = "白条编号")
    private String whiteStripNumber;

    @ApiModelProperty(value = "生猪批次")
    private String pigBatch;

    @ApiModelProperty(value = "检疫检验")
    private String quarantineInspection;

    @ApiModelProperty(value = "采购品种")
    private String procurementVariety;

    @ApiModelProperty(value = "生产记录单号")
    private String productionRecordNumber;

    @ApiModelProperty(value = "生产日期")
    private LocalDate productionDate;

    @ApiModelProperty(value = "级别")
    private String grade;

    @ApiModelProperty(value = "毛色")
    private String coatColor;

    @ApiModelProperty(value = "质量扣分")
    private Integer qualityDeduction;

    @ApiModelProperty(value = "采购扣分")
    private Integer procurementDeduction;

    @ApiModelProperty(value = "动物标识")
    private String animalIdentification;

    @ApiModelProperty(value = "钩重")
    private String hookWeight;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "加工类型")
    private String processingType;

    @ApiModelProperty(value = "扣重前重量")
    private String preDeductionWeight;

    @ApiModelProperty(value = "扣重比例")
    private String deductionRatio;


}
