package vip.xiaonuo.quality.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 质量来料不合格填报
 * </p>
 *
 * @author author
 * @since 2025-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("quality_write")
public class QualityWrite implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 采购名称
     */
    @ApiModelProperty(value = "采购名称",position = 1)
    private String materialName;

    /**
     * 采购数量
     */
    @ApiModelProperty(value = "采购数量",position =2 )
    private String materialNumber;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间",position = 3)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    /**
     * 组织id
     */
    @ApiModelProperty(value = "组织id",position =4 )
    private String orgId;

    @ApiModelProperty(value = "组织名称",position =5 )
    private String orgName;

    @ApiModelProperty(value = "规格",position =6 )
    private String specifications;

    @ApiModelProperty(value = "批号",position =7 )
    private String batch;

    @ApiModelProperty(value = "送检日期",position =8 )
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date submissionDate;

    @ApiModelProperty(value = "送检部门",position =9 )
    private String submission;

    @ApiModelProperty(value = "检验编号",position =10 )
    private String inspectionNumber;
}
