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

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

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

/**
 * 打样制作单工序
 * @TableName proofing_make_process
 */
@Table(name="proofing_make_process")
@Entity
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProofingMakeProcess implements Serializable {
    /**
     * 工序ID
     */
    @Id
    @GeneratedValue(
            generator = "system-uuid"
    )
    @GenericGenerator(
            name = "system-uuid",
            strategy = "guid"
    )
    @Column(name = "proofing_make_process_id")
    private String proofingMakeProcessId;

    /**
     * 打样制作单工艺id
     */
    @Column(name = "proofing_make_technology_id")
    private String proofingMakeTechnologyId;

    /**
     * 工序名称
     */
    @Column(name = "process_name")
    private String processName;

    /**
     * 工序说明
     */
    @Column(name = "process_remark")
    private String processRemark;

    /**
     * 工时
     */
    @Column(name = "work_hours")
    private Double workHours;

    /**
     * 工序类别(process_type)
     */
    @Column(name = "process_type")
    private String processType;

    /**
     * 工序内容
     */
    @Column(name = "process_content")
    private String processContent;

    private static final long serialVersionUID = 1L;
}