FastAndSlow.java 5.61 KB
package com.bsth.data.summary.entity;

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

/**
 *  快慢误点
 * Created by panzhao on 2017/10/24.
 */
@Entity
@Table(name = "z_calc_fast_slow")
public class FastAndSlow {

    /**
     * 班次ID
     */
    @Id
    @Column(name = "s_id")
    private Long id;

    /**
     * 驾驶员
     */
    private String jsy;

    /**
     * 车辆自编号
     */
    private String nbbm;

    /**
     * 路牌名称
     */
    @Column(name = "lp_name")
    private String lpName;

    /**
     * 发车站点
     */
    private String stationName;

    /**
     * 日期
     */
    @Column(name = "rq")
    private String rq;

    /**
     * 方向
     */
    private int upDown;

    /**
     * 计发时间
     * HH:mm
     */
    private String fcsj;

    /**
     * 待发时间
     * HH:mm
     */
    private String dfsj;

    /**
     * 实际发车时间
     * HH:mm
     */
    private String fcsjActual;

    /**
     * 计发快误点
     */
    private int fcsjFast;

    /**
     * 计发慢误点
     */
    private int fcsjSlow;

    /**
     * 待发快误点
     */
    private int dfsjFast;

    /**
     * 待发慢误点
     */
    private int dfsjSlow;

    /**
     * 计划终点时间
     */
    private String zdsj;

    /**
     * 待发终点时间
     */
    private String zdsjDf;

    /**
     * 实际终点时间
     */
    private String zdsjActual;

    /**
     * 计发终点快误点
     */
    private int zdsjFast;

    /**
     * 计发终点慢误点
     */
    private int zdsjSlow;

    /**
     * 待发终点快误点
     */
    private int zdsjDfFast;

    /**
     * 待发终点慢误点
     */
    private int zdsjDfSlow;

    @Column(name = "line_code")
    private String lineCode;

    private Long t;

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getRq() {
        return rq;
    }

    public void setRq(String rq) {
        this.rq = rq;
    }

    public int getUpDown() {
        return upDown;
    }

    public void setUpDown(int upDown) {
        this.upDown = upDown;
    }

    public String getFcsj() {
        return fcsj;
    }

    public void setFcsj(String fcsj) {
        this.fcsj = fcsj;
    }

    public String getDfsj() {
        return dfsj;
    }

    public void setDfsj(String dfsj) {
        this.dfsj = dfsj;
    }

    public String getFcsjActual() {
        return fcsjActual;
    }

    public void setFcsjActual(String fcsjActual) {
        this.fcsjActual = fcsjActual;
    }

    public int getFcsjFast() {
        return fcsjFast;
    }

    public void setFcsjFast(int fcsjFast) {
        this.fcsjFast = fcsjFast;
    }

    public int getFcsjSlow() {
        return fcsjSlow;
    }

    public void setFcsjSlow(int fcsjSlow) {
        this.fcsjSlow = fcsjSlow;
    }

    public int getDfsjFast() {
        return dfsjFast;
    }

    public void setDfsjFast(int dfsjFast) {
        this.dfsjFast = dfsjFast;
    }

    public int getDfsjSlow() {
        return dfsjSlow;
    }

    public void setDfsjSlow(int dfsjSlow) {
        this.dfsjSlow = dfsjSlow;
    }

    public String getZdsj() {
        return zdsj;
    }

    public void setZdsj(String zdsj) {
        this.zdsj = zdsj;
    }

    public String getZdsjDf() {
        return zdsjDf;
    }

    public void setZdsjDf(String zdsjDf) {
        this.zdsjDf = zdsjDf;
    }

    public String getZdsjActual() {
        return zdsjActual;
    }

    public void setZdsjActual(String zdsjActual) {
        this.zdsjActual = zdsjActual;
    }

    public int getZdsjFast() {
        return zdsjFast;
    }

    public void setZdsjFast(int zdsjFast) {
        this.zdsjFast = zdsjFast;
    }

    public int getZdsjSlow() {
        return zdsjSlow;
    }

    public void setZdsjSlow(int zdsjSlow) {
        this.zdsjSlow = zdsjSlow;
    }

    public int getZdsjDfFast() {
        return zdsjDfFast;
    }

    public void setZdsjDfFast(int zdsjDfFast) {
        this.zdsjDfFast = zdsjDfFast;
    }

    public int getZdsjDfSlow() {
        return zdsjDfSlow;
    }

    public void setZdsjDfSlow(int zdsjDfSlow) {
        this.zdsjDfSlow = zdsjDfSlow;
    }

    public String getLineCode() {
        return lineCode;
    }

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

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getT() {
        return t;
    }

    public void setT(Long t) {
        this.t = t;
    }

    public boolean isSlow() {
        return this.fcsjSlow>0 || this.dfsjSlow>0 || this.zdsjSlow>0 || this.zdsjDfSlow>0;
    }

    public boolean isFast() {
        return this.fcsjFast>0 || this.dfsjFast>0 || this.zdsjFast>0 || this.zdsjDfFast>0;
    }

    public String getLpName() {
        return lpName;
    }

    public void setLpName(String lpName) {
        this.lpName = lpName;
    }

    public String getNbbm() {
        return nbbm;
    }

    public void setNbbm(String nbbm) {
        this.nbbm = nbbm;
    }

    public String getJsy() {
        return jsy;
    }

    public void setJsy(String jsy) {
        this.jsy = jsy;
    }
}