package com.bocloud.cmp.model.manageone;

import java.util.Date;
import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.bocloud.common.utils.DateDeserializer;
import com.bocloud.common.utils.DateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * vdc数据模型
 *
 * @author wangyu
 * @version 1.0
 * @since 2020年6月17日
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VdcModel {
    private String vdcId;
    private String name;
    private String tag;
    private String remark;
    private String upperVdcId;
    private Boolean enabled;
    private String domainId;
    private Integer level;
    private String createUserId;
    private String createUserName;
    @JsonSerialize(using = DateSerializer.class)
    @JsonDeserialize(using = DateDeserializer.class)
    private Date createAt;
    private String domainName;
    private String thirdId;
    private String idpName;
    private String regionId;
    private String enterpriseId;
    private String azId;
    private String enterpriseProjectId;
    private String thirdType;
    private JSONObject enterpriseDetail;
    private JSONObject processes;
    private Boolean mfaStatus;
    private String ldapId;
    private String cloudFederationRate;
    private String otherCloudFederationRate;
    private String status;
    private List<VdcProjectModel> projectModels;
}
