package cn.ibizlab.core.analysis.domain;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.math.BigInteger;
import java.util.HashMap;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.util.ObjectUtils;
import org.springframework.util.DigestUtils;
import cn.ibizlab.util.domain.EntityBase;
import cn.ibizlab.util.annotation.DEField;
import cn.ibizlab.util.enums.DEPredefinedFieldType;
import cn.ibizlab.util.enums.DEFieldDefaultValueType;
import cn.ibizlab.util.helper.DataObject;
import cn.ibizlab.util.enums.DupCheck;
import java.io.Serializable;
import lombok.*;
import org.springframework.data.annotation.Transient;
import cn.ibizlab.util.annotation.Audit;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * [维度] 对象
 */
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("维度")
public class DADimension extends EntityBase implements Serializable {

    /**
     * 维度标识
     */
    @DEField(name = "dimid", isKeyField = true)
    @JSONField(name = "id")
    @JsonProperty("id")
    @ApiModelProperty("维度标识")
    private String id;

    /**
     * 维度名称
     */
    @DEField(name = "dimname")
    @JSONField(name = "name")
    @JsonProperty("name")
    @ApiModelProperty("维度名称")
    private String name;

    /**
     * 属性名
     */
    @DEField(name = "fieldname")
    @JSONField(name = "field")
    @JsonProperty("field")
    @ApiModelProperty("属性名")
    private String field;

    /**
     * 字典
     */
    @JSONField(name = "dict")
    @JsonProperty("dict")
    @ApiModelProperty("字典")
    private String dict;

    /**
     * Recursive
     */
    @DEField(defaultValue = "1")
    @JSONField(name = "recursive")
    @JsonProperty("recursive")
    @ApiModelProperty("Recursive")
    private Integer recursive;

    /**
     * 分析标识
     */
    @JSONField(name = "buildId")
    @JsonProperty("buildId")
    @ApiModelProperty("分析标识")
    private String buildid;

    /**
     * 模型标识
     */
    @JSONField(name = "modelid")
    @JsonProperty("modelid")
    @ApiModelProperty("模型标识")
    private String modelid;


    /**
     * 构建
     */
    @JSONField(name = "build")
    @JsonProperty("build")
    private cn.ibizlab.core.analysis.domain.DABuild build;



}


