package com.bocloud.cmp.model.manageone;

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

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 VdcUserModel {
    private String userId;
    private Boolean enabled;
    private String remark;
    private String email;
    private String areacode;
    private String phone;
    private String roles;
    private String resourceTenantId;
    private String displayName;
    private String vdcId;
    private String domainId;
    private String domainName;
    private String userType;
    private String name;
    @JsonSerialize(using = DateSerializer.class)
    @JsonDeserialize(using = DateDeserializer.class)
    private Date createAt;
    private String password;
    private List<String> roleList;
    private List<String> projects;
}
