Line2System.java 906 Bytes
package com.bsth.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 线路映射到某个系统(新老系统并行时需要这个对照)
 * Created by panzhao on 2017/3/14.
 */
@Entity
@Table(name = "interface_line_system_mapp")
public class Line2System {

    @Id
    private String lineCode;

    private String lineName;

    /**
     * 是否从新系统接入数据
     */
    private boolean isNew;

    public String getLineCode() {
        return lineCode;
    }

    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }

    public boolean isNew() {
        return isNew;
    }

    public void setNew(boolean aNew) {
        isNew = aNew;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
}