|
|
|
@ -23,7 +23,13 @@ import java.io.Serializable;
|
|
|
|
|
@DynamicInsert
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
@Table(name = "MES_PACKAGE", indexes = {@Index(columnList = "PACKAGE_NO")
|
|
|
|
|
@Table(name = "MES_PACKAGE", indexes = {
|
|
|
|
|
@Index(columnList = "PACKAGE_NO"),
|
|
|
|
|
@Index(columnList = "PART_NO"),
|
|
|
|
|
@Index(columnList = "WORK_ORDER_NO"),
|
|
|
|
|
@Index(columnList = "WORK_CENTER_CODE"),
|
|
|
|
|
@Index(columnList = "WORK_CELL_CODE"),
|
|
|
|
|
@Index(columnList = "IS_SEALED")
|
|
|
|
|
}, uniqueConstraints = {
|
|
|
|
|
@UniqueConstraint(columnNames = {"ORGANIZE_CODE", "PACKAGE_NO"})
|
|
|
|
|
})
|
|
|
|
|