package com.huigou.topsun.proofing.domain.model;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 打样制作单表
 * @TableName proofing_make
 */
@Table(name="proofing_make")
@Entity
@Data
public class ProofingMake{
    /**
     * 制作单id
     */

    @Id
    @GeneratedValue(
            generator = "system-uuid"
    )
    @GenericGenerator(
            name = "system-uuid",
            strategy = "guid"
    )
    @Column(name = "proofing_make_id")
    private String proofingMakeId;

    /**
     * 制作单号
     */
    @Column(name = "proofing_make_no")
    private String proofingMakeNo;

    /**
     * 打样申请单id
     */
    @Column(name = "proofing_apply_id")
    private String proofingApplyId;

    /**
     * 申请单号
     */
    @Column(name = "application_no")
    private String applicationNo;

    /**
     * 颜色种类
     */
    @Column(name = "color_type")
    private String colorType;

    /**
     * 专
     */
    private String expert;

    /**
     * 网版目数
     */
    @Column(name = "printing_plate_num")
    private Integer printingPlateNum;

    /**
     * 啤板模数
     */
    @Column(name = "beer_plate_num")
    private Integer beerPlateNum;

    /**
     * 模切板模数
     */
    @Column(name = "die_board_num")
    private Integer dieBoardNum;

    /**
     * 预定工序流程id
     */
    @Column(name = "planned_flow_id")
    private String plannedFlowId;

    /**
     * 文件存储位置
     */
    @Column(name = "file_storage_location")
    private String fileStorageLocation;

    /**
     * 样品物料
     */
    @Column(name = "sample_material")
    private String sampleMaterial;

    /**
     * 样品制作单状态：create-新建；unauditede-未审核；audited-已审核
     */
    @Column(name = "make_status")
    private String makeStatus;

    /**
     * 是否确认：Y-是，N-否；
     */
    @Column(name = "is_confirm")
    private String isConfirm;

    /**
     * 样品款式
     */
    @Column(name = "sample_style")
    private String sampleStyle;


}