package cn.ibizlab.core.lite.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;


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

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

    /**
     * 关系标识
     */
    @JSONField(name = "relationId")
    @JsonProperty("relationId")
    @ApiModelProperty("关系标识")
    private String relationid;

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

    /**
     * 引用属性名称
     */
    @JSONField(name = "refFieldName")
    @JsonProperty("refFieldName")
    @ApiModelProperty("引用属性名称")
    private String reffieldname;


    /**
     * 
     */
    @JSONField(name = "relation")
    @JsonProperty("relation")
    private cn.ibizlab.core.lite.domain.MetaRelationship relation;



}


