|
|
|
@ -8,11 +8,7 @@ import lombok.NoArgsConstructor;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Lob;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 脚本持久化实体类
|
|
|
|
@ -26,7 +22,9 @@ import javax.persistence.Transient;
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
@Table(name = "SCRIPT_PERSISTENCE")
|
|
|
|
|
@Table(name = "SCRIPT_PERSISTENCE", uniqueConstraints = {
|
|
|
|
|
@UniqueConstraint(columnNames = {"ORGANIZE_CODE", "SCRIPT_NO"})
|
|
|
|
|
})
|
|
|
|
|
@Api("系统动态脚本")
|
|
|
|
|
public class EngineScriptPersistence extends BaseBean {
|
|
|
|
|
private static final long serialVersionUID = 7893111140559759490L;
|
|
|
|
|