package cn.autoform.db.entity.form; import cn.autoform.db.entity.FormFieldAttrEntity; import com.alibaba.fastjson.annotation.JSONField; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; @Data public class FormCpnAttr { private String title; private String alias; private String description; private String prefix; private Object prefixs; private String masterData; private String layoutsetting; private List customArr; private String textarrcolumn; private String valuearrcolumn; private String namearrcolumn; private String userDefiendArr; private String dropdowntype; private String datasourcetype; private String datasource; private String textcolumn; private String valuecolumn; private String apiUrl; private String apiIdKey; private String apiPIdKey; private Boolean visible; private Boolean editable; private Boolean solidiFication; private Boolean mustcheck; private Boolean approvalmustenter; private String sysfomula; private Boolean lazyLoad; private String datatype; private String defaultvalue; private Boolean currentDate; private String chooseForm; private String fundata; private String relevancesourcetype; private String chooseSubform; private String mytextSel; private String singleSetValue; private String svalue; private Boolean synchrodata; @JSONField(name = "mustcheck_chooseData") private Boolean mustcheckchooseData; private String namecolumn; private String apiName; private Boolean disableParentNode; private String format; private String maxlength; private String numbertype; private String decimalplace; private Boolean allcopy; private Boolean addBtn; private Boolean importFile; private Boolean template; private Boolean firstLoad; /** * 自定义属性 */ private List custom; @Data @NoArgsConstructor public static class Custom{ public Custom(String code, String itemtext){ this.code = code; this.itemtext = itemtext; } /** * 是否是选择的 */ private Boolean ischecked; /** * 属性信息 */ private String itemtext; /** * 属性code */ private String code; } }