|
|
|
@ -5,17 +5,14 @@ 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 javax.persistence.*;
|
|
|
|
|
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.ColumnDefault;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -31,7 +28,9 @@ import java.io.Serializable;
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
@Inheritance(strategy = InheritanceType.JOINED)
|
|
|
|
|
@Table(name = "MES_PART")
|
|
|
|
|
@Table(name = "MES_PART", indexes = {
|
|
|
|
|
@Index(columnList = "PART_NO")
|
|
|
|
|
})
|
|
|
|
|
@Api("物料信息")
|
|
|
|
|
public class MesPart extends BaseBean implements Serializable {
|
|
|
|
|
private static final long serialVersionUID = -7731182105899332283L;
|
|
|
|
|