class SceneRuleInfo extends SceneRule {

    @Schema(description = "场景状态")
    private RuleInstanceState state;

    @Schema(description = "说明")
    private String description;

    @Schema(description = "创建时间")
    private long createTime;

    public static SceneRuleInfo of(RuleInstanceEntity instance) {<FILL_FUNCTION_BODY>}
}


        SceneRuleInfo info = FastBeanCopier.copy(JSON.parseObject(instance.getModelMeta()), new SceneRuleInfo());
        info.setState(instance.getState());
        info.setId(instance.getId());
        info.setCreateTime(info.getCreateTime());
        return info;
    
<methods>public non-sealed void <init>() ,public static java.lang.String createBranchActionId(int, int, int) ,public reactor.core.Disposable createBranchHandler(Flux<Map<java.lang.String,java.lang.Object>>, Function3<java.lang.Integer,java.lang.String,Map<java.lang.String,java.lang.Object>,Mono<java.lang.Void>>) ,public Function<Map<java.lang.String,java.lang.Object>,Mono<java.lang.Boolean>> createDefaultFilter(List<Term>) ,public Function<Map<java.lang.String,java.lang.Object>,Mono<java.lang.Boolean>> createDefaultFilter(SqlFragments) ,public List<org.jetlinks.community.rule.engine.scene.Variable> createDefaultVariable() ,public ShakeLimitGrouping<Map<java.lang.String,java.lang.Object>> createGrouping() ,public SqlRequest createSql(boolean) ,public Flux<org.jetlinks.community.rule.engine.scene.Variable> createVariables(List<org.jetlinks.community.rule.engine.scene.term.TermColumn>, java.lang.Integer, java.lang.Integer, java.lang.Integer) ,public RuleModel toModel() ,public void validate() ,public org.jetlinks.community.rule.engine.scene.SceneRule where(java.lang.String) <variables>public static final java.lang.String ACTION_KEY_ACTION_INDEX,public static final java.lang.String ACTION_KEY_BRANCH_INDEX,public static final java.lang.String ACTION_KEY_GROUP_INDEX,public static final java.lang.String CONTEXT_KEY_SCENE_OUTPUT,public static java.lang.String DEFAULT_FILTER_TABLE,public static final java.lang.String SOURCE_ID_KEY,public static final java.lang.String SOURCE_NAME_KEY,public static final java.lang.String SOURCE_TYPE_KEY,private List<org.jetlinks.community.rule.engine.scene.SceneAction> actions,private List<org.jetlinks.community.rule.engine.scene.SceneConditionAction> branches,private java.lang.String description,private @NotBlank(message = (String)"error.scene_rule_id_cannot_be_blank") String id,private @NotBlank(message = (String)"error.scene_rule_name_cannot_be_blank") String name,private Map<java.lang.String,java.lang.Object> options,private boolean parallel,private List<Term> terms,private @NotNull(message = (String)"error.scene_rule_trigger_cannot_be_null") Trigger trigger