/**
 * There are <a href="https://github.com/ketayao/keta-custom">keta-custom</a> code generation
 */
package com.sw.mes.production.entity;


import lombok.Data;

import javax.persistence.*;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

/**
 * @Author
 * @Description：
 * @Date: Create in
 * @Modified By:
 */
@Data
@Entity
@Table(name = "production_truncation_reccut_details")
@DynamicUpdate
@DynamicInsert
public class TruncationReccutDetails {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 截断反切id
     */
    @Column(length = 10)
    private Long reccutId;

    /**
     * 序号
     */
    @Column(length = 10)
    private Integer number;

    /**
     * 晶段编号
     */
    @Column(length = 50)
    private String sectionNo;

    /**
     * 长度
     */
    @Column(length = 10)
    private Integer length;

    public TruncationReccutDetails() {
    }

    public TruncationReccutDetails(Long id) {
        this.id = id;
    }
}
