linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
src/main/java/com/ots/project/exam/domain/EntDemographyParam.java
@@ -1,4 +1,5 @@
package com.ots.project.exam.domain;
import com.ots.framework.aspectj.lang.annotation.Excel;
import com.ots.framework.web.domain.BaseEntity;
import lombok.Getter;
@@ -6,39 +7,78 @@
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 人口学变量定义对象 ent_demography_param
 *
 * @author ots
 * @date 2019-12-11
 */
@Getter
@Setter
public class EntDemographyParam extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 变量编码
     */
    private Long paramId;
    /**
     * 人口学编码
     */
    @Excel(name = "人口学编码")
    private String paramCode;
    /**
     * 人口学编码多语言
     */
    private String langCodes;
    /**
     * 企业用户ID
     */
    @Excel(name = "企业用户ID")
    private Long userId;
    @Excel(name = "企业用户ID")
    private String userName;
    /**
     * 变量状态(1正常 0关闭)
     */
    @Excel(name = "变量状态", readConverterExp = "1=正常,0=关闭")
    private String paramStatus;
    /**
     * 控件类型
     */
    @Excel(name = "控件类型")
    private String types;
    /**
     * 是否必填(1是)
     */
    @Excel(name = "必填")
    private String isRequired;
    /**
     * 字典类型
     */
    @Excel(name = "字典类型")
    private String dicttype;
    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;
    /**
     * 测试包是否默认选择了
     */
    private boolean flag = false;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)