123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- /*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- package com.sf.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import lombok.AllArgsConstructor;
- import lombok.Builder;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- import org.opengoofy.index12306.framework.starter.database.base.BaseDO;
- import java.util.Date;
- /**
- * 订单数据库实体
- * 公众号:马丁玩编程,回复:加群,添加马哥微信(备注:12306)获取项目资料
- */
- @Data
- @TableName("t_order")
- @NoArgsConstructor
- @AllArgsConstructor
- @Builder
- public class OrderDO extends BaseDO {
- /**
- * id
- */
- private Long id;
- /**
- * 订单号
- */
- private String orderSn;
- /**
- * 用户id
- */
- private String userId;
- /**
- * 用户名
- */
- private String username;
- /**
- * 列车id
- */
- private Long trainId;
- /**
- * 列车车次
- */
- private String trainNumber;
- /**
- * 出发站点
- */
- private String departure;
- /**
- * 到达站点
- */
- private String arrival;
- /**
- * 订单来源
- */
- private Integer source;
- /**
- * 订单状态
- */
- private Integer status;
- /**
- * 下单时间
- */
- private Date orderTime;
- /**
- * 支付方式
- */
- private Integer payType;
- /**
- * 支付时间
- */
- private Date payTime;
- /**
- * 乘车日期
- */
- private Date ridingDate;
- /**
- * 出发时间
- */
- private Date departureTime;
- /**
- * 出发时间
- */
- private Date arrivalTime;
- }
|