package com.njcn.pojo.user;

import com.njcn.pojo.configuration.DicData;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 123   PQS_ResInformation资源信息表
 */
@Table(name = "PQS_ResInformation")
public class ManageList implements Serializable {
    private static final long serialVersionUID = 1l;

    @Id
    @Column(name = "RES_INDEX")
    private String res_Index;//资源序号
    @Column(name = "NAME")
    private String name;//资源名称
    @Column(name = "TYPE")
    private String type;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getResUrl() {
        return resUrl;
    }

    public void setResUrl(String resUrl) {
        this.resUrl = resUrl;
    }

    @Column(name = "DESCRIPTION")
    private String description;//资源描述
    @Column(name = "RES_URL")
    private String resUrl;//资源路径
    @Column(name = "UPDATEUSER")
    private String updateUser;//数据更新人ID（外键user表）
    @Column(name = "UPDATETIME")
    private Date updateTime;//数据更新时间
    @Column(name = "STATE")
    private int state;//数据状态（1：正常；0：删除）
    @Column(name = "SYSTYPE")
    private String sysType;

    public List<DicData> getGetType() {
        return getType;
    }

    @Transient

    private List<DicData> getType = new ArrayList<>();

    public String getSysType() {
        return sysType;
    }

    public void setSysType(String sysType) {
        this.sysType = sysType;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public String getRes_Index() {
        return res_Index;
    }

    public void setRes_Index(String res_Index) {
        this.res_Index = res_Index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRes_Url() {
        return resUrl;
    }

    public void setRes_Url(String resUrl) {
        this.resUrl = resUrl;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public void setGetType(List<DicData> getType) {
        this.getType = getType;
    }

    @Override
    public String toString() {
        return "ManageList{" +
                "res_Index='" + res_Index + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", description='" + description + '\'' +
                ", resUrl='" + resUrl + '\'' +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                ", state=" + state +
                ", sysType='" + sysType + '\'' +
                ", getType=" + getType +
                '}';
    }
}
