|
|
|
@ -6,6 +6,8 @@ import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
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;
|
|
|
|
@ -27,6 +29,7 @@ import java.io.Serializable;
|
|
|
|
|
@DynamicInsert
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
@Inheritance(strategy = InheritanceType.JOINED)
|
|
|
|
|
@Table(name = "MES_BOM", indexes = {
|
|
|
|
|
@Index(columnList = "PART_NO")
|
|
|
|
|
})
|
|
|
|
|