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


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

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

import lombok.Data;
import lombok.experimental.Accessors;

/**
* @Author
* @Description：
* @Date: Create in
* @Modified By:
*/
@Data
@Entity
@Table(name="yb_issue_detial")
@DynamicUpdate
@DynamicInsert
@Accessors(chain = true)
public class YbIssueDetial{
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    
	/**
	 * 当前站点
	 */
    @Column(length=50)
    private String currentSite;
    
	/**
	 * 单晶编号
	 */
    @Column(length=50)
    private String crystalNo;
    
	/**
	 * 发料id
	 */
    @Column(length=19)
    private Long issueId;
	/**
	 * 产品等级
	 */
	@Column(length=50)
	String productLevel;

	/**
	 * 去向
	 */
	@Column(length=50)
	private String destination;
    

	public YbIssueDetial() {
	}

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