|
|
|
@ -10,6 +10,7 @@ import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Index;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -21,7 +22,13 @@ import javax.persistence.Table;
|
|
|
|
|
**/
|
|
|
|
|
@Data
|
|
|
|
|
@Entity
|
|
|
|
|
@Table(name="WMS_SEARCHELEMENT_FUNCTION")
|
|
|
|
|
@Table(name="WMS_SEARCHELEMENT_FUNCTION", indexes = {
|
|
|
|
|
@Index(columnList = "FUNCTION_ID"),
|
|
|
|
|
@Index(columnList = "SEARCH_NAME"),
|
|
|
|
|
@Index(columnList = "SEARCH_ELEMENT_ID"),
|
|
|
|
|
@Index(columnList = "IS_SHARE"),
|
|
|
|
|
@Index(columnList = "USER_CODE")
|
|
|
|
|
})
|
|
|
|
|
@DynamicInsert
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|