码迷,mamicode.com
首页 > 其他好文 > 详细

Train

时间:2015-06-24 19:28:30      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:

Train

 package com.example.traindemo.util;
public class Train {
 private String train_no;// 车次
 private String start_station_name;// 车次始发站
 private String end_station_name;// 车次终点站
 private String from_station_name;// 出发站
 private String to_station_name;// 到达站
 private String start_time;// 出发时间
 private String arrive_time;// 到达时间
 private String train_class_name;// 车次类型
 private String day_difference;// 历时天数
 private String lishi;// 总历时时间
 private String gr_num;// 高级软卧:-- 说明无该席位
 private String qt_num;// 其他
 private String rw_num;// 软卧
 private String rz_num;// 软座
 private String tz_num;// 特等座
 private String wz_num;// 无座
 private String yw_num;// 硬卧
 private String yz_num;// 硬座
 private String ze_num;// 二等座
 private String zy_num;// 一等座
 private String swz_num;// 商务座
 public Train(String train_no, String start_station_name,
   String end_station_name, String from_station_name,
   String to_station_name, String start_time, String arrive_time,
   String train_class_name, String day_difference, String lishi,
   String gr_num, String qt_num, String rw_num, String rz_num,
   String tz_num, String wz_num, String yw_num, String yz_num,
   String ze_num, String zy_num, String swz_num) {
  super();
  this.train_no = train_no;
  this.start_station_name = start_station_name;
  this.end_station_name = end_station_name;
  this.from_station_name = from_station_name;
  this.to_station_name = to_station_name;
  this.start_time = start_time;
  this.arrive_time = arrive_time;
  this.train_class_name = train_class_name;
  this.day_difference = day_difference;
  this.lishi = lishi;
  this.gr_num = gr_num;
  this.qt_num = qt_num;
  this.rw_num = rw_num;
  this.rz_num = rz_num;
  this.tz_num = tz_num;
  this.wz_num = wz_num;
  this.yw_num = yw_num;
  this.yz_num = yz_num;
  this.ze_num = ze_num;
  this.zy_num = zy_num;
  this.swz_num = swz_num;
 }
 public String getTrain_no() {
  return train_no;
 }
 public void setTrain_no(String train_no) {
  this.train_no = train_no;
 }
 public String getStart_station_name() {
  return start_station_name;
 }
 public void setStart_station_name(String start_station_name) {
  this.start_station_name = start_station_name;
 }
 public String getEnd_station_name() {
  return end_station_name;
 }
 public void setEnd_station_name(String end_station_name) {
  this.end_station_name = end_station_name;
 }
 public String getFrom_station_name() {
  return from_station_name;
 }
 public void setFrom_station_name(String from_station_name) {
  this.from_station_name = from_station_name;
 }
 public String getTo_station_name() {
  return to_station_name;
 }
 public void setTo_station_name(String to_station_name) {
  this.to_station_name = to_station_name;
 }
 public String getStart_time() {
  return start_time;
 }
 public void setStart_time(String start_time) {
  this.start_time = start_time;
 }
 public String getArrive_time() {
  return arrive_time;
 }
 public void setArrive_time(String arrive_time) {
  this.arrive_time = arrive_time;
 }
 public String getTrain_class_name() {
  return train_class_name;
 }
 public void setTrain_class_name(String train_class_name) {
  this.train_class_name = train_class_name;
 }
 public String getDay_difference() {
  return day_difference;
 }
 public void setDay_difference(String day_difference) {
  this.day_difference = day_difference;
 }
 public String getLishi() {
  return lishi;
 }
 public void setLishi(String lishi) {
  this.lishi = lishi;
 }
 public String getGr_num() {
  return gr_num;
 }
 public void setGr_num(String gr_num) {
  this.gr_num = gr_num;
 }
 public String getQt_num() {
  return qt_num;
 }
 public void setQt_num(String qt_num) {
  this.qt_num = qt_num;
 }
 public String getRw_num() {
  return rw_num;
 }
 public void setRw_num(String rw_num) {
  this.rw_num = rw_num;
 }
 public String getRz_num() {
  return rz_num;
 }
 public void setRz_num(String rz_num) {
  this.rz_num = rz_num;
 }
 public String getTz_num() {
  return tz_num;
 }
 public void setTz_num(String tz_num) {
  this.tz_num = tz_num;
 }
 public String getWz_num() {
  return wz_num;
 }
 public void setWz_num(String wz_num) {
  this.wz_num = wz_num;
 }
 public String getYw_num() {
  return yw_num;
 }
 public void setYw_num(String yw_num) {
  this.yw_num = yw_num;
 }
 public String getYz_num() {
  return yz_num;
 }
 public void setYz_num(String yz_num) {
  this.yz_num = yz_num;
 }
 public String getZe_num() {
  return ze_num;
 }
 public void setZe_num(String ze_num) {
  this.ze_num = ze_num;
 }
 public String getZy_num() {
  return zy_num;
 }
 public void setZy_num(String zy_num) {
  this.zy_num = zy_num;
 }
 public String getSwz_num() {
  return swz_num;
 }
 public void setSwz_num(String swz_num) {
  this.swz_num = swz_num;
 }
 @Override
 public String toString() {
  return "Demo [train_no=" + train_no + ", start_station_name="
    + start_station_name + ", end_station_name=" + end_station_name
    + ", from_station_name=" + from_station_name
    + ", to_station_name=" + to_station_name + ", start_time="
    + start_time + ", arrive_time=" + arrive_time
    + ", train_class_name=" + train_class_name
    + ", day_difference=" + day_difference + ", lishi=" + lishi
    + ", gr_num=" + gr_num + ", qt_num=" + qt_num + ", rw_num="
    + rw_num + ", rz_num=" + rz_num + ", tz_num=" + tz_num
    + ", wz_num=" + wz_num + ", yw_num=" + yw_num + ", yz_num="
    + yz_num + ", ze_num=" + ze_num + ", zy_num=" + zy_num
    + ", swz_num=" + swz_num + "]";
 }
}

Train

标签:

原文地址:http://my.oschina.net/u/1994482/blog/470311

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!