Commit e8e77c081d4536a218f42d6a9f8c5a1c1fb9a472

Authored by 潘钊
1 parent a552e701

线调时刻表

src/main/java/com/bsth/entity/realcontrol/ScheduleRealInfo.java 0 → 100644
  1 +package com.bsth.entity.realcontrol;
  2 +
  3 +import com.bsth.entity.sys.SysUser;
  4 +
  5 +import javax.persistence.*;
  6 +import java.util.Date;
  7 +
  8 +/**
  9 + * 实际排班计划明细。
  10 + */
  11 +@Entity
  12 +@Table(name = "bsth_c_s_sp_info_real")
  13 +public class ScheduleRealInfo {
  14 +
  15 + /** 主键Id */
  16 + @Id
  17 + @GeneratedValue
  18 + private Long id;
  19 +
  20 + /** 排班计划日期 */
  21 + private Date scheduleDate;
  22 +
  23 + /** 路牌名称 */
  24 + private String lpName;
  25 + /** 线路编码 */
  26 + private String xlBm;
  27 + /** 线路名称 */
  28 + private String xlName;
  29 + /** 车辆自编号 */
  30 + private String clZbh;
  31 +
  32 + /** 报道1时间(格式 HH:mm) */
  33 + private String bd1Time;
  34 + /** 出场1时间(格式 HH:mm) */
  35 + private String cc1Time;
  36 + /** 驾驶员1工号 */
  37 + private String j1Gh;
  38 + /** 驾驶员1名字 */
  39 + private String j1Name;
  40 + /** 售票员1工号 */
  41 + private String s1Gh;
  42 + /** 售票员1名字 */
  43 + private String s1Name;
  44 +
  45 + // 冗余的时刻明细信息
  46 + /** 线路方向 */
  47 + private String xlDir;
  48 + /** 起点站名称 */
  49 + private String qdz;
  50 + /** 终点站名称 */
  51 + private String zdz;
  52 + /** 发车时间(格式 HH:mm) */
  53 + private String fcsj;
  54 + /** 发车顺序号 */
  55 + private int fcno;
  56 + /** 对应班次数 */
  57 + private int bcs;
  58 + /** 计划里程 */
  59 + private double jhlc;
  60 + /** 班次历时 */
  61 + private int bcsj;
  62 +
  63 + /** 操作人 */
  64 + @ManyToOne(optional = false, cascade = CascadeType.PERSIST, fetch = FetchType.LAZY)
  65 + private SysUser user;
  66 +
  67 + // 创建日期
  68 + @Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
  69 + private Date createDate;
  70 + // 修改日期
  71 + @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
  72 + private Date updateDate;
  73 +
  74 + public Long getId() {
  75 + return id;
  76 + }
  77 +
  78 + public void setId(Long id) {
  79 + this.id = id;
  80 + }
  81 +
  82 + public Date getScheduleDate() {
  83 + return scheduleDate;
  84 + }
  85 +
  86 + public void setScheduleDate(Date scheduleDate) {
  87 + this.scheduleDate = scheduleDate;
  88 + }
  89 +
  90 + public String getLpName() {
  91 + return lpName;
  92 + }
  93 +
  94 + public void setLpName(String lpName) {
  95 + this.lpName = lpName;
  96 + }
  97 +
  98 + public String getXlName() {
  99 + return xlName;
  100 + }
  101 +
  102 + public void setXlName(String xlName) {
  103 + this.xlName = xlName;
  104 + }
  105 +
  106 + public String getClZbh() {
  107 + return clZbh;
  108 + }
  109 +
  110 + public void setClZbh(String clZbh) {
  111 + this.clZbh = clZbh;
  112 + }
  113 +
  114 + public String getCc1Time() {
  115 + return cc1Time;
  116 + }
  117 +
  118 + public void setCc1Time(String cc1Time) {
  119 + this.cc1Time = cc1Time;
  120 + }
  121 +
  122 + public String getJ1Gh() {
  123 + return j1Gh;
  124 + }
  125 +
  126 + public void setJ1Gh(String j1Gh) {
  127 + this.j1Gh = j1Gh;
  128 + }
  129 +
  130 + public String getJ1Name() {
  131 + return j1Name;
  132 + }
  133 +
  134 + public void setJ1Name(String j1Name) {
  135 + this.j1Name = j1Name;
  136 + }
  137 +
  138 + public String getS1Gh() {
  139 + return s1Gh;
  140 + }
  141 +
  142 + public void setS1Gh(String s1Gh) {
  143 + this.s1Gh = s1Gh;
  144 + }
  145 +
  146 + public String getS1Name() {
  147 + return s1Name;
  148 + }
  149 +
  150 + public void setS1Name(String s1Name) {
  151 + this.s1Name = s1Name;
  152 + }
  153 +
  154 + public String getBd1Time() {
  155 + return bd1Time;
  156 + }
  157 +
  158 + public void setBd1Time(String bd1Time) {
  159 + this.bd1Time = bd1Time;
  160 + }
  161 +
  162 + public String getXlDir() {
  163 + return xlDir;
  164 + }
  165 +
  166 + public void setXlDir(String xlDir) {
  167 + this.xlDir = xlDir;
  168 + }
  169 +
  170 + public String getQdz() {
  171 + return qdz;
  172 + }
  173 +
  174 + public void setQdz(String qdz) {
  175 + this.qdz = qdz;
  176 + }
  177 +
  178 + public String getZdz() {
  179 + return zdz;
  180 + }
  181 +
  182 + public void setZdz(String zdz) {
  183 + this.zdz = zdz;
  184 + }
  185 +
  186 + public String getFcsj() {
  187 + return fcsj;
  188 + }
  189 +
  190 + public void setFcsj(String fcsj) {
  191 + this.fcsj = fcsj;
  192 + }
  193 +
  194 + public SysUser getUser() {
  195 + return user;
  196 + }
  197 +
  198 + public void setUser(SysUser user) {
  199 + this.user = user;
  200 + }
  201 +
  202 + public Date getCreateDate() {
  203 + return createDate;
  204 + }
  205 +
  206 + public void setCreateDate(Date createDate) {
  207 + this.createDate = createDate;
  208 + }
  209 +
  210 + public Date getUpdateDate() {
  211 + return updateDate;
  212 + }
  213 +
  214 + public void setUpdateDate(Date updateDate) {
  215 + this.updateDate = updateDate;
  216 + }
  217 +
  218 + public int getFcno() {
  219 + return fcno;
  220 + }
  221 +
  222 + public void setFcno(int fcno) {
  223 + this.fcno = fcno;
  224 + }
  225 +
  226 + public int getBcs() {
  227 + return bcs;
  228 + }
  229 +
  230 + public void setBcs(int bcs) {
  231 + this.bcs = bcs;
  232 + }
  233 +
  234 + public double getJhlc() {
  235 + return jhlc;
  236 + }
  237 +
  238 + public void setJhlc(double jhlc) {
  239 + this.jhlc = jhlc;
  240 + }
  241 +
  242 + public int getBcsj() {
  243 + return bcsj;
  244 + }
  245 +
  246 + public void setBcsj(int bcsj) {
  247 + this.bcsj = bcsj;
  248 + }
  249 +
  250 + public String getXlBm() {
  251 + return xlBm;
  252 + }
  253 +
  254 + public void setXlBm(String xlBm) {
  255 + this.xlBm = xlBm;
  256 + }
  257 +}
... ...