|
|
|
@ -4,8 +4,6 @@ import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import javax.persistence.Inheritance;
|
|
|
|
|
import javax.persistence.InheritanceType;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.ColumnDefault;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
@ -13,7 +11,6 @@ import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description:
|
|
|
|
@ -33,7 +30,6 @@ import java.math.BigDecimal;
|
|
|
|
|
@Index(columnList = "PRODUCT_SN"),
|
|
|
|
|
@Index(columnList = "CREATE_DATE_TIME"),
|
|
|
|
|
@Index(columnList = "MODIFY_DATE_TIME"),
|
|
|
|
|
@Index(columnList = "PART_NO"),
|
|
|
|
|
@Index(columnList = "WORK_ORDER_NO")
|
|
|
|
|
}, uniqueConstraints = {
|
|
|
|
|
@UniqueConstraint(columnNames = {"ORGANIZE_CODE", "SERIAL_NUMBER"})
|
|
|
|
@ -211,10 +207,10 @@ public class MesProduceSn extends BaseBean implements Serializable {
|
|
|
|
|
@ApiParam("包规数量")
|
|
|
|
|
private Double packageQty;
|
|
|
|
|
|
|
|
|
|
@Version
|
|
|
|
|
@Column(name = "LOCK_VERSION")
|
|
|
|
|
@ApiParam(value = "乐观锁", example = "1")
|
|
|
|
|
public Integer lockVersion;
|
|
|
|
|
// @Version
|
|
|
|
|
// @Column(name = "LOCK_VERSION")
|
|
|
|
|
// @ApiParam(value = "乐观锁", example = "1")
|
|
|
|
|
// public Integer lockVersion;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("缺陷代码")
|
|
|
|
|