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

import java.math.BigDecimal;

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="alloy_correcting_record")
@DynamicUpdate
@DynamicInsert
public class CorrectingRecord{
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    
	/**
	 * 母合金id
	 */
    @Column(length=10)
    private Integer alloyMasterAlloyId;
    
	/**
	 * 加次
	 */
    @Column(length=20)
    private String addTime;
    
	/**
	 * 修正值
	 */
    @Column(length=20)
    private BigDecimal correctingValue;
    
	/**
	 * 修正后电阻
	 */
    @Column(length=20)
    private BigDecimal correctingAfterResistance;
    

	public CorrectingRecord() {
	}

	public CorrectingRecord(Integer id) {
		this.id = id;
	}
}
