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 java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.web.base.domain.base.Base;
import com.sun.jna.platform.win32.OaIdl;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import net.sf.jsqlparser.util.validation.metadata.DatabaseException;

/**
 * <p>
 * 白条分配表，存储白条分配的相关信息
 * </p>
 *
 * @author author
 * @since 2026-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("production_white_strip_allocation")
@ApiModel(value="ProductionWhiteStripAllocation对象", description="白条分配表，存储白条分配的相关信息")
public class ProductionWhiteStripAllocation  extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "生产日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date productionDate;

    @ApiModelProperty(value = "发货日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliveryDate;

    @ApiModelProperty(value = "品种")
    private String variety;

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

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

    @ApiModelProperty(value = "批次")
    private String batchNumber;

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

    @ApiModelProperty(value = "重量")
    private String weight;

    @ApiModelProperty(value = "锁定物流线")
    private String lockedLogisticsLine;

    @ApiModelProperty(value = "扣分")
    private Integer deductionScore;

    @ApiModelProperty(value = "物料名称")
    private String materialName;

    @ApiModelProperty(value = "发货客户")
    private String deliveryCustomer;


    private String saleNum;

    private Integer saleId;

    @ApiModelProperty(value = "订单未分配片数")
    private Integer orderUnallocatedQuantity;

    @ApiModelProperty(value = "市场")
    private String market;

    @ApiModelProperty(value = "客户")
    private String customer;

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

    @ApiModelProperty(value = "完成分配状态")
    private int completionStatus;

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

    @ApiModelProperty(value = "物料编码")
    private String materialCode;
    private Integer regularId;
    private String baseNum;
    private String assNum;
    private String warehouseNo;
    private String peelWeight;





}
