OilInfo.java 6.17 KB
package com.bsth.entity;


import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 油量信息表
 */
@Entity
@Table(name = "bsth_c_ylb")
public class OilInfo implements Serializable {
    @Id
    private Integer id;
    /**
     * 日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date rq;
    /**
     * 线路编码
     */
    private String xlbm;
    /**
     * 所属公司代码
     */
    private String ssgsdm;
    /**
     * 分公司代码
     */
    private String fgsdm;
    /**
     * 内部编码
     */
    private String nbbm;
    /**
     * 驾驶员
     */
    private String jsy;
    /**
     * 出站里程
     */
    private Double czlc = 0.0;
    /**
     * 进站里程
     */
    private Double jzlc = 0.0;
    /**
     * 出站油量
     */
    private Double czyl = 0.0;
    /**
     * 进站油量
     */
    private Double jzyl = 0.0;
    /**
     * 加注量
     */
    private Double jzl;

    private int sfkt;
    /**
     * 开始营运时间(12:12)
     */
    private String jhsj;
    /**
     * 油耗
     */
    private Double yh = 0.0;
    /**
     * 损耗
     */
    private Double sh = 0.0;
    /**
     * 损耗原因
     */
    private String shyy;
    /**
     * 总里程
     */
    private Double zlc = 0.0;
    /**
     * 数据类型
     */
    private int yhlx;
    /**
     * 燃油类型
     */
    private String rylx;
    /**
     * 尿素
     */
    private Double ns = 0.0;
    private Double fyylc = 0.0;
    /**
     * 计划总里程
     */
    private Double jhzlc = 0.0;
    private Double jhfyylc = 0.0;
    private int jhzbc;
    private int jhbc;
    private int sjzbc;
    private int sjbc;
    /**
     * 编辑用户
     */
    private String edituser;
    /**
     * 编辑时间
     */
    private Date edittime;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 能源类型,0加油,1充电,2混合
     */
    private int nylx;

    public Integer getId() {
        return id;
    }

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


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

    public String getXlbm() {
        return xlbm;
    }

    public void setXlbm(String xlbm) {
        this.xlbm = xlbm;
    }

    public String getSsgsdm() {
        return ssgsdm;
    }

    public void setSsgsdm(String ssgsdm) {
        this.ssgsdm = ssgsdm;
    }

    public String getFgsdm() {
        return fgsdm;
    }

    public void setFgsdm(String fgsdm) {
        this.fgsdm = fgsdm;
    }

    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;
    }

    public Double getCzlc() {
        return czlc;
    }

    public void setCzlc(Double czlc) {
        this.czlc = czlc;
    }

    public Double getJzlc() {
        return jzlc;
    }

    public void setJzlc(Double jzlc) {
        this.jzlc = jzlc;
    }

    public Double getCzyl() {
        return czyl;
    }

    public void setCzyl(Double czyl) {
        this.czyl = czyl;
    }

    public Double getJzyl() {
        return jzyl;
    }

    public void setJzyl(Double jzyl) {
        this.jzyl = jzyl;
    }

    public Double getJzl() {
        return jzl;
    }

    public void setJzl(Double jzl) {
        this.jzl = jzl;
    }

    public int getSfkt() {
        return sfkt;
    }

    public void setSfkt(int sfkt) {
        this.sfkt = sfkt;
    }

    public String getJhsj() {
        return jhsj;
    }

    public void setJhsj(String jhsj) {
        this.jhsj = jhsj;
    }

    public Double getYh() {
        return yh;
    }

    public void setYh(Double yh) {
        this.yh = yh;
    }

    public Double getSh() {
        return sh;
    }

    public void setSh(Double sh) {
        this.sh = sh;
    }

    public String getShyy() {
        return shyy;
    }

    public void setShyy(String shyy) {
        this.shyy = shyy;
    }

    public Double getZlc() {
        return zlc;
    }

    public void setZlc(Double zlc) {
        this.zlc = zlc;
    }

    public int getYhlx() {
        return yhlx;
    }

    public void setYhlx(int yhlx) {
        this.yhlx = yhlx;
    }

    public String getRylx() {
        return rylx;
    }

    public void setRylx(String rylx) {
        this.rylx = rylx;
    }

    public Double getNs() {
        return ns;
    }

    public void setNs(Double ns) {
        this.ns = ns;
    }

    public Double getFyylc() {
        return fyylc;
    }

    public void setFyylc(Double fyylc) {
        this.fyylc = fyylc;
    }

    public Double getJhzlc() {
        return jhzlc;
    }

    public void setJhzlc(Double jhzlc) {
        this.jhzlc = jhzlc;
    }

    public Double getJhfyylc() {
        return jhfyylc;
    }

    public void setJhfyylc(Double jhfyylc) {
        this.jhfyylc = jhfyylc;
    }

    public int getJhzbc() {
        return jhzbc;
    }

    public void setJhzbc(int jhzbc) {
        this.jhzbc = jhzbc;
    }

    public int getJhbc() {
        return jhbc;
    }

    public void setJhbc(int jhbc) {
        this.jhbc = jhbc;
    }

    public int getSjzbc() {
        return sjzbc;
    }

    public void setSjzbc(int sjzbc) {
        this.sjzbc = sjzbc;
    }

    public int getSjbc() {
        return sjbc;
    }

    public void setSjbc(int sjbc) {
        this.sjbc = sjbc;
    }

    public String getEdituser() {
        return edituser;
    }

    public void setEdituser(String edituser) {
        this.edituser = edituser;
    }

    public Date getEdittime() {
        return edittime;
    }

    public void setEdittime(Date edittime) {
        this.edittime = edittime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public int getNylx() {
        return nylx;
    }

    public void setNylx(int nylx) {
        this.nylx = nylx;
    }

    public Date getRq() {
        return rq;
    }
}