package com.bocloud.ims.entity.resource;

import com.bocloud.entity.annotations.Column;
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;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table("resource_type")
public class ResourceType extends GenericEntity {
    @PK(value = PKStrategy.AUTO)
    private Long id; // ID
    @Column("uuid")
    private String uuid; // uuid
    @Column("vendor_id")
    private Long vendorId; // vendorId
    @Column("privilege_account")
    private String privilegeAccount;//超级管理员账号
    @Column("gui")
    private String gui;// gui协议，一般包括xdmcp,xfwd,vnc,
    @Column("term")
    private String term;// gui协议，一般包括telnet、ssh
    @Column("connect_client")
    private String connectClient;// 连接客户端, 如oracle一般包括sqlplusw,sqldeveloperW,SqlDbx,Toad,plsqldev, oem
    @Column("type")
    private String type;// Unix, Database, Application, Linux, Network, Main Frame, Windows, Windows Domain
    @Column("charsets")
    private String charsets;// IBM1388
    @Column("service_config")
    private String serviceConfig;// 系统配置
}
