package com.yeejoin.amos.fas.dao.entity;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;


/**
 * 拓扑图
 *
 */
@Entity
@Table(name = "f_topography_node")
public class TopographyNode extends BusinessEntity{

	/**
     * id
     */
    @Id
    @GeneratedValue(generator = "uuid")
    @GenericGenerator(name = "uuid", strategy = "uuid2")
    @Column(name = "id", nullable = false, length = 36)
    protected String id;
	/**
     * 
     */
    @Column(name = "`key`", columnDefinition = "varchar(32) COMMENT 'key'")
    private String key;
    /**
     * 
     */
    @Column(name = "category", columnDefinition = "varchar(32) COMMENT '类别'")
    private String category;
    /**
     * 
     */
    @Column(name = "`group`", columnDefinition = "varchar(32) COMMENT '分组'")
    private String group;
    /**
     * 
     */
    @Column(name = "loc", columnDefinition = "varchar(255) COMMENT '位置'")
    private String loc;
    /**
     * 
     */
    @Column(name = "text", columnDefinition = "varchar(32) COMMENT '文本'")
    private String text;
    /**
     * 
     */
    @Column(name = "size", columnDefinition = "varchar(32) COMMENT '大小'")
    private String size;
    /**
     * 
     */
    @Column(name = "is_group", columnDefinition = "bit COMMENT '是否是组'")
    private Boolean isGroup;
    /**
     * 
     */
    @Column(name = "picture", columnDefinition = "varchar(32) COMMENT '图片'")
    private String picture;
    /**
     * 
     */
    @Column(name = "app_id", columnDefinition = "varchar(32) COMMENT 'appid'")
    private String appId;
    
    @Column(name = "source_id", columnDefinition = "varchar(32) COMMENT '资源id'")
    private String sourceId;
    
    @Column(name = "type", columnDefinition = "varchar(32) COMMENT '1 领导架构 | 2 任务流程'")
    private String type;
    
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	public String getLoc() {
		return loc;
	}
	public void setLoc(String loc) {
		this.loc = loc;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public Boolean getIsGroup() {
		return isGroup;
	}
	public void setIsGroup(Boolean isGroup) {
		this.isGroup = isGroup;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getSourceId() {
		return sourceId;
	}
	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
}
