package com.sw.mes.yb.pc.entity;

import lombok.Data;

import javax.persistence.*;

/**
 * 拼棒中间表
 */
@Data
@Entity
@Table(name="zhxx_yb_data_spell_info")
public class SpellInfo {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * Section主键
     */
    @Column
    private Long sectionId;

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

    public SpellInfo() {}

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

}
