com.dingtalk.api.response.OapiAlitripBtripTrainOrderSearchResponse Maven / Gradle / Ivy
The newest version!
package com.dingtalk.api.response;
import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;
import java.util.Date;
import com.taobao.api.TaobaoResponse;
/**
* TOP DingTalk-API: dingtalk.oapi.alitrip.btrip.train.order.search response.
*
* @author top auto create
* @since 1.0, null
*/
public class OapiAlitripBtripTrainOrderSearchResponse extends TaobaoResponse {
private static final long serialVersionUID = 6174478294589588192L;
/**
* 错误码
*/
@ApiField("errcode")
private Long errcode;
/**
* 错误信息
*/
@ApiField("errmsg")
private String errmsg;
/**
* 分页相关信息
*/
@ApiField("page_info")
private PageInfoRs pageInfo;
/**
* 成功标识
*/
@ApiField("success")
private Boolean success;
/**
* module
*/
@ApiListField("train_order_list")
@ApiField("open_train_order_rs")
private List trainOrderList;
public void setErrcode(Long errcode) {
this.errcode = errcode;
}
public Long getErrcode( ) {
return this.errcode;
}
public void setErrmsg(String errmsg) {
this.errmsg = errmsg;
}
public String getErrmsg( ) {
return this.errmsg;
}
public void setPageInfo(PageInfoRs pageInfo) {
this.pageInfo = pageInfo;
}
public PageInfoRs getPageInfo( ) {
return this.pageInfo;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Boolean getSuccess( ) {
return this.success;
}
public void setTrainOrderList(List trainOrderList) {
this.trainOrderList = trainOrderList;
}
public List getTrainOrderList( ) {
return this.trainOrderList;
}
public boolean isSuccess() {
return getErrcode() == null || getErrcode().equals(0L);
}
/**
* 发票对象
*
* @author top auto create
* @since 1.0, null
*/
public static class OpenInvoiceDo extends TaobaoObject {
private static final long serialVersionUID = 8624557217329361811L;
/**
* 商旅发票id
*/
@ApiField("id")
private String id;
/**
* 发票抬头
*/
@ApiField("title")
private String title;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
}
/**
* 成本中心对象
*
* @author top auto create
* @since 1.0, null
*/
public static class OpenCostCenterDo extends TaobaoObject {
private static final long serialVersionUID = 5156656745633354727L;
/**
* 企业id
*/
@ApiField("corpid")
private String corpid;
/**
* 商旅成本中心id
*/
@ApiField("id")
private String id;
/**
* 成本中心名称
*/
@ApiField("name")
private String name;
/**
* 成本中心编号
*/
@ApiField("number")
private String number;
public String getCorpid() {
return this.corpid;
}
public void setCorpid(String corpid) {
this.corpid = corpid;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getNumber() {
return this.number;
}
public void setNumber(String number) {
this.number = number;
}
}
/**
* 价目信息
*
* @author top auto create
* @since 1.0, null
*/
public static class OpenPriceInfo extends TaobaoObject {
private static final long serialVersionUID = 2578917729663721853L;
/**
* 消费类型
*/
@ApiField("category")
private String category;
/**
* 改签目的地
*/
@ApiField("endCity")
private String endCity;
/**
* 改签开始时间
*/
@ApiField("endTime")
private Date endTime;
/**
* 流水创建时间
*/
@ApiField("gmt_create")
private Date gmtCreate;
/**
* 改签前车次号
*/
@ApiField("originalTrainNo")
private String originalTrainNo;
/**
* 乘车人名称,多个用‘,’分割
*/
@ApiField("passenger_name")
private String passengerName;
/**
* 结算方式:1:个人现付,2:企业现付,4:企业月结,8、企业预存
*/
@ApiField("pay_type")
private Long payType;
/**
* 价格
*/
@ApiField("price")
private String price;
/**
* 改签坐席
*/
@ApiField("seatType")
private String seatType;
/**
* 改签始发地
*/
@ApiField("startCity")
private String startCity;
/**
* 改签结束时间
*/
@ApiField("startTime")
private Date startTime;
/**
* 流水单号
*/
@ApiField("tradeId")
private String tradeId;
/**
* 改签车次号
*/
@ApiField("trainNo")
private String trainNo;
/**
* 资金流向:1:支出,2:收入
*/
@ApiField("type")
private Long type;
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getEndCity() {
return this.endCity;
}
public void setEndCity(String endCity) {
this.endCity = endCity;
}
public Date getEndTime() {
return this.endTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
public Date getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(Date gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getOriginalTrainNo() {
return this.originalTrainNo;
}
public void setOriginalTrainNo(String originalTrainNo) {
this.originalTrainNo = originalTrainNo;
}
public String getPassengerName() {
return this.passengerName;
}
public void setPassengerName(String passengerName) {
this.passengerName = passengerName;
}
public Long getPayType() {
return this.payType;
}
public void setPayType(Long payType) {
this.payType = payType;
}
public String getPrice() {
return this.price;
}
public void setPrice(String price) {
this.price = price;
}
public String getSeatType() {
return this.seatType;
}
public void setSeatType(String seatType) {
this.seatType = seatType;
}
public String getStartCity() {
return this.startCity;
}
public void setStartCity(String startCity) {
this.startCity = startCity;
}
public Date getStartTime() {
return this.startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public String getTradeId() {
return this.tradeId;
}
public void setTradeId(String tradeId) {
this.tradeId = tradeId;
}
public String getTrainNo() {
return this.trainNo;
}
public void setTrainNo(String trainNo) {
this.trainNo = trainNo;
}
public Long getType() {
return this.type;
}
public void setType(Long type) {
this.type = type;
}
}
/**
* 乘车人列表
*
* @author top auto create
* @since 1.0, null
*/
public static class OpenUserAffiliateDo extends TaobaoObject {
private static final long serialVersionUID = 8499234586881749861L;
/**
* 乘车人名称
*/
@ApiField("user_name")
private String userName;
/**
* 乘车人ID
*/
@ApiField("userid")
private String userid;
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserid() {
return this.userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
}
/**
* module
*
* @author top auto create
* @since 1.0, null
*/
public static class OpenTrainOrderRs extends TaobaoObject {
private static final long serialVersionUID = 3791898918436883669L;
/**
* 商旅审批单id
*/
@ApiField("apply_id")
private Long applyId;
/**
* 到达城市
*/
@ApiField("arr_city")
private String arrCity;
/**
* 到达站
*/
@ApiField("arr_station")
private String arrStation;
/**
* 到达时间
*/
@ApiField("arr_time")
private Date arrTime;
/**
* 申请单名称
*/
@ApiField("btrip_title")
private String btripTitle;
/**
* 联系人名称
*/
@ApiField("contact_name")
private String contactName;
/**
* 企业名称
*/
@ApiField("corp_name")
private String corpName;
/**
* 企业id
*/
@ApiField("corpid")
private String corpid;
/**
* 成本中心对象
*/
@ApiField("cost_center")
private OpenCostCenterDo costCenter;
/**
* 出发城市
*/
@ApiField("dep_city")
private String depCity;
/**
* 出发站
*/
@ApiField("dep_station")
private String depStation;
/**
* 出发时间
*/
@ApiField("dep_time")
private Date depTime;
/**
* 部门名称
*/
@ApiField("dept_name")
private String deptName;
/**
* 部门id
*/
@ApiField("deptid")
private String deptid;
/**
* 创建时间
*/
@ApiField("gmt_create")
private Date gmtCreate;
/**
* 更新时间
*/
@ApiField("gmt_modified")
private Date gmtModified;
/**
* 订单id
*/
@ApiField("id")
private Long id;
/**
* 发票对象
*/
@ApiField("invoice")
private OpenInvoiceDo invoice;
/**
* 价目信息
*/
@ApiListField("price_info_list")
@ApiField("open_price_info")
private List priceInfoList;
/**
* 项目code
*/
@ApiField("project_code")
private String projectCode;
/**
* 项目id
*/
@ApiField("project_id")
private Long projectId;
/**
* 项目名称
*/
@ApiField("project_title")
private String projectTitle;
/**
* 乘客姓名
*/
@ApiField("rider_name")
private String riderName;
/**
* 运行时长
*/
@ApiField("run_time")
private String runTime;
/**
* 座位类型
*/
@ApiField("seat_type")
private String seatType;
/**
* 订单状态:0待支付,1出票中,2已关闭,3,改签成功,4退票成功,5出票完成,6退票申请中,7改签申请中,8已出票,已发货,9出票失败,10改签失败,11退票失败
*/
@ApiField("status")
private Long status;
/**
* 第三方项目Id
*/
@ApiField("third_part_project_id")
private String thirdPartProjectId;
/**
* 第三方申请单ID
*/
@ApiField("thirdpart_apply_id")
private String thirdpartApplyId;
/**
* 第三方行程id
*/
@ApiField("thirdpart_itinerary_id")
private String thirdpartItineraryId;
/**
* 票的数量
*/
@ApiField("ticket_count")
private Long ticketCount;
/**
* 12306票号
*/
@ApiField("ticket_no_12306")
private String ticketNo12306;
/**
* 车次
*/
@ApiField("train_number")
private String trainNumber;
/**
* 车次类型
*/
@ApiField("train_type")
private String trainType;
/**
* 乘车人列表
*/
@ApiListField("user_affiliate_list")
@ApiField("open_user_affiliate_do")
private List userAffiliateList;
/**
* 用户名称
*/
@ApiField("user_name")
private String userName;
/**
* 用户id
*/
@ApiField("userid")
private String userid;
public Long getApplyId() {
return this.applyId;
}
public void setApplyId(Long applyId) {
this.applyId = applyId;
}
public String getArrCity() {
return this.arrCity;
}
public void setArrCity(String arrCity) {
this.arrCity = arrCity;
}
public String getArrStation() {
return this.arrStation;
}
public void setArrStation(String arrStation) {
this.arrStation = arrStation;
}
public Date getArrTime() {
return this.arrTime;
}
public void setArrTime(Date arrTime) {
this.arrTime = arrTime;
}
public String getBtripTitle() {
return this.btripTitle;
}
public void setBtripTitle(String btripTitle) {
this.btripTitle = btripTitle;
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
}
public String getCorpName() {
return this.corpName;
}
public void setCorpName(String corpName) {
this.corpName = corpName;
}
public String getCorpid() {
return this.corpid;
}
public void setCorpid(String corpid) {
this.corpid = corpid;
}
public OpenCostCenterDo getCostCenter() {
return this.costCenter;
}
public void setCostCenter(OpenCostCenterDo costCenter) {
this.costCenter = costCenter;
}
public String getDepCity() {
return this.depCity;
}
public void setDepCity(String depCity) {
this.depCity = depCity;
}
public String getDepStation() {
return this.depStation;
}
public void setDepStation(String depStation) {
this.depStation = depStation;
}
public Date getDepTime() {
return this.depTime;
}
public void setDepTime(Date depTime) {
this.depTime = depTime;
}
public String getDeptName() {
return this.deptName;
}
public void setDeptName(String deptName) {
this.deptName = deptName;
}
public String getDeptid() {
return this.deptid;
}
public void setDeptid(String deptid) {
this.deptid = deptid;
}
public Date getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(Date gmtCreate) {
this.gmtCreate = gmtCreate;
}
public Date getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(Date gmtModified) {
this.gmtModified = gmtModified;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public OpenInvoiceDo getInvoice() {
return this.invoice;
}
public void setInvoice(OpenInvoiceDo invoice) {
this.invoice = invoice;
}
public List getPriceInfoList() {
return this.priceInfoList;
}
public void setPriceInfoList(List priceInfoList) {
this.priceInfoList = priceInfoList;
}
public String getProjectCode() {
return this.projectCode;
}
public void setProjectCode(String projectCode) {
this.projectCode = projectCode;
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public String getProjectTitle() {
return this.projectTitle;
}
public void setProjectTitle(String projectTitle) {
this.projectTitle = projectTitle;
}
public String getRiderName() {
return this.riderName;
}
public void setRiderName(String riderName) {
this.riderName = riderName;
}
public String getRunTime() {
return this.runTime;
}
public void setRunTime(String runTime) {
this.runTime = runTime;
}
public String getSeatType() {
return this.seatType;
}
public void setSeatType(String seatType) {
this.seatType = seatType;
}
public Long getStatus() {
return this.status;
}
public void setStatus(Long status) {
this.status = status;
}
public String getThirdPartProjectId() {
return this.thirdPartProjectId;
}
public void setThirdPartProjectId(String thirdPartProjectId) {
this.thirdPartProjectId = thirdPartProjectId;
}
public String getThirdpartApplyId() {
return this.thirdpartApplyId;
}
public void setThirdpartApplyId(String thirdpartApplyId) {
this.thirdpartApplyId = thirdpartApplyId;
}
public String getThirdpartItineraryId() {
return this.thirdpartItineraryId;
}
public void setThirdpartItineraryId(String thirdpartItineraryId) {
this.thirdpartItineraryId = thirdpartItineraryId;
}
public Long getTicketCount() {
return this.ticketCount;
}
public void setTicketCount(Long ticketCount) {
this.ticketCount = ticketCount;
}
public String getTicketNo12306() {
return this.ticketNo12306;
}
public void setTicketNo12306(String ticketNo12306) {
this.ticketNo12306 = ticketNo12306;
}
public String getTrainNumber() {
return this.trainNumber;
}
public void setTrainNumber(String trainNumber) {
this.trainNumber = trainNumber;
}
public String getTrainType() {
return this.trainType;
}
public void setTrainType(String trainType) {
this.trainType = trainType;
}
public List getUserAffiliateList() {
return this.userAffiliateList;
}
public void setUserAffiliateList(List userAffiliateList) {
this.userAffiliateList = userAffiliateList;
}
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserid() {
return this.userid;
}
public void setUserid(String userid) {
this.userid = userid;
}
}
/**
* 分页相关信息
*
* @author top auto create
* @since 1.0, null
*/
public static class PageInfoRs extends TaobaoObject {
private static final long serialVersionUID = 4772655111462571714L;
/**
* 当前页
*/
@ApiField("page")
private Long page;
/**
* 每页大小
*/
@ApiField("page_size")
private Long pageSize;
/**
* 总记录数
*/
@ApiField("total_number")
private Long totalNumber;
public Long getPage() {
return this.page;
}
public void setPage(Long page) {
this.page = page;
}
public Long getPageSize() {
return this.pageSize;
}
public void setPageSize(Long pageSize) {
this.pageSize = pageSize;
}
public Long getTotalNumber() {
return this.totalNumber;
}
public void setTotalNumber(Long totalNumber) {
this.totalNumber = totalNumber;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy