package cn.stylefeng.team.form.api.entity;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class FormItemSelect {

    @ChineseDescription("表单元素id")
    private Long itemId;

    @ChineseDescription("字典类型的id")
    private Long dictTypeId;

    @ChineseDescription("字典值类型：1-字典id，2-字典编码")
    private Integer dictValueType;

    @ChineseDescription("数据来源：1-动态接口，2-自定义填充")
    private Integer dataFromType;

    @ChineseDescription("接口URL")
    private String backendUrl;

    @ChineseDescription("取值类型：1-取ID，2-取编码")
    private Integer valueType;

    @ChineseDescription("关联的字段的编码")
    private String linkFieldCode;

    @ChineseDescription("树形节点是否，父子互相影响，true-影响（选父级会影响子级选中），false-不影响（选父级不会影响子级选中）")
    private Boolean treeCheckStrictly;

}
