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

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

import javax.persistence.*;
import java.util.Date;

/**
* @Author
* @Description：
* @Date: Create in
* @Modified By:
*/
@Data
@Entity
@Table(name="interface_eap_grinding_rack")
@DynamicUpdate
@DynamicInsert
public class EapGrindingRack {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    
	/**
	 * 磨削机编号
	 */
    @Column(length=50)
    private String equipNo;
    
	/**
	 * 圆棒SN
	 */
    @Column(length=20)
    private String sn;
    
	/**
	 * 创建时间
	 */
    @Column(length=19)
	@Temporal(TemporalType.TIMESTAMP)
    private Date createdTime;


	/**
	 * 人工上料标识
	 */
	@Column(length=20)
	private String headLoading;

	public EapGrindingRack() {
	}

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