package com.bocloud.ims.entity.resource.manageone;

import com.bocloud.entity.annotations.Column;
import com.bocloud.entity.annotations.IgnoreAll;
import com.bocloud.entity.annotations.PK;
import com.bocloud.entity.annotations.Table;
import com.bocloud.entity.bean.Generic;
import com.bocloud.entity.meta.PKStrategy;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * vdc project数据模型
 * 
 * @author wangyu
 * @version 1.0
 * @since 2020年6月17日
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Table("manage_one_project")
public class ManageOneProject extends Generic {

	@PK(PKStrategy.AUTO)
	private Long id;
	@Column("project_id")
	private String projectId;
	@Column("name")
	private String name;
	@Column("display_name")
	private String displayName;
	@Column("remark")
	private String remark;
	@Column("domain_id")
	private String domainId;
	@Column("enabled")
	private Boolean enabled;
	@Column("vdc_tenant_id")
	private String vdcTenantId;
	@Column("vdc_id")
	private Long vdcId;
	@Column("is_shared")
	private Boolean shared;
	@Column("vdc_tenant_name")
	private String vdcTenantName;
	@Column("create_user_id")
	private String createUserId;
	@Column("manage_one_user_id")
	private Long manageOneUserId;
	@Column("create_user_name")
	private String createUserName;
	@Column("vendor_id")
	private Long vendorId;
	@IgnoreAll
	private String vdcName;
}
