|
|
|
@ -10,10 +10,7 @@ import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -25,7 +22,20 @@ import java.util.Date;
|
|
|
|
|
**/
|
|
|
|
|
@Data
|
|
|
|
|
@Entity
|
|
|
|
|
@Table(name = "WMS_STOCK_SN")
|
|
|
|
|
@Table(name = "WMS_STOCK_SN", indexes = {
|
|
|
|
|
@Index(columnList = "PACKAGE_NO"),
|
|
|
|
|
@Index(columnList = "PART_NO"),
|
|
|
|
|
@Index(columnList = "REF_SRC"),
|
|
|
|
|
@Index(columnList = "SN"),
|
|
|
|
|
@Index(columnList = "SN_2D"),
|
|
|
|
|
@Index(columnList = "WH_NO"),
|
|
|
|
|
@Index(columnList = "ZONE_NO"),
|
|
|
|
|
@Index(columnList = "LOCATE_NO"),
|
|
|
|
|
@Index(columnList = "LOT_NO"),
|
|
|
|
|
@Index(columnList = "FIX_LOT_NO"),
|
|
|
|
|
@Index(columnList = "DATE_CODE"),
|
|
|
|
|
@Index(columnList = "VENDOR_NO")
|
|
|
|
|
})
|
|
|
|
|
@DynamicInsert
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|