package com.njcn.pojo.system;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author hongawen
 * @date: 2019/9/24 11:07
 */
@Table(name = "PQS_SYSTEM")
public class SubSystem implements Serializable {

    @Id
    @Column(name = "SYSTEM_INDEX")
    private String systemIndex;

    @Column(name = "SYSTEM_NAME")
    private String systemName;

    @Column(name = "SYSTEM_ENAME")
    private String systemEName;

    @Column(name = "ACTIVE")
    private Integer active;

    @Column(name = "STATE")
    private Integer state;

    @Column(name = "DEFAULT_SYSTEM")
    private Integer defaultSystem;

    public String getSystemIndex() {
        return systemIndex;
    }

    public void setSystemIndex(String systemIndex) {
        this.systemIndex = systemIndex;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getSystemEName() {
        return systemEName;
    }

    public void setSystemEName(String systemEName) {
        this.systemEName = systemEName;
    }

    public Integer getActive() {
        return active;
    }

    public void setActive(Integer active) {
        this.active = active;
    }

    public Integer getState() {
        return state;
    }

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

    public Integer getDefaultSystem() {
        return defaultSystem;
    }

    public void setDefaultSystem(Integer defaultSystem) {
        this.defaultSystem = defaultSystem;
    }

    @Override
    public String toString() {
        return "SubSystem{" +
                "systemIndex='" + systemIndex + '\'' +
                ", systemName='" + systemName + '\'' +
                ", systemEName='" + systemEName + '\'' +
                ", active=" + active +
                ", state=" + state +
                ", defaultSystem=" + defaultSystem +
                '}';
    }
}
