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

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.GenericEntity;
import com.bocloud.entity.meta.PKStrategy;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * vmware horizon用户，组数据模型
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Table("vmware_horizon_user_or_group")
public class VmwareHorizonUserOrGroup extends GenericEntity {

	@PK(value = PKStrategy.AUTO)
	private Long id; // ID
	@Column("userorgroup_uuid")
	private String uuid;
	@Column("container")
	private String container;
	@Column("long_display_name")
	private String longDisplayName;
	@Column("display_name")
	private String displayName;
	@Column("login_name")
	private String loginName;
	@Column("domains")
	private String domains;
	@Column("kiosk_user")
	private Boolean kioskUser;
	@Column("distinguished_name")
	private String distinguishedName;
	@Column("guid")
	private String guid;
	@Column("is_group")
	private Boolean group;
	@Column("vendor_id")
	private Long vendorId;
	@IgnoreAll
	private String vendorType;
	@IgnoreAll
	private String vendorName;

}
