| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.Table;
|
| | | import javax.persistence.UniqueConstraint;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | /**
|
| | | * 订单
|
| | |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table(name = "yeshi_ec_order", uniqueConstraints = @UniqueConstraint(columnNames = { "orderid", "order_type" }) )
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_order")
|
| | | public class Order {
|
| | | // 订单状状态 -1:失效 0-未支付 1-已支付
|
| | |
| | | public final static int ORDER_TYPE_JINGDONG = 2;// 京东
|
| | | public final static int ORDER_TYPE_PDD = 3;// 拼多多
|
| | |
|
| | | @Id
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @Column(name = "id")
|
| | | @org.yeshi.utils.mybatis.Column(name = "id")
|
| | | @Expose
|
| | | private Long id;
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "orderid")
|
| | | @Column(name = "orderid", length = 100)
|
| | | @Expose
|
| | | private String orderId;// 订单编号
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "order_type")
|
| | | @Column(name = "order_type")
|
| | | @Expose
|
| | | private Integer orderType;// 订单类型 1-淘宝 2-京东
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "state")
|
| | | @Column(name = "`state`")
|
| | | @Expose
|
| | | private Integer state;// 订单状�? -1:失效0-未支付?1-已支负
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "drawback_time")
|
| | | @Column(name = "`drawback_time`")
|
| | | @Expose
|
| | | private Long drawbackTime;// 退款时间
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "createtime")
|
| | | @Column(name = "`createtime`")
|
| | | @Expose
|
| | | private Long createtime;// 创建时间 付款时间
|
| | |
|
| | |
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "beizhu")
|
| | | @Expose
|
| | | @Column(name = "`beizhu`", length = 256)
|
| | | private String beizhu;
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "money")
|
| | | @Column(name = "`money`")
|
| | | @Expose
|
| | | private BigDecimal money;
|
| | |
|
| | | // 第三方订单创建时间
|
| | | @org.yeshi.utils.mybatis.Column(name = "third_createtime")
|
| | | @Column(name = "`third_createtime`")
|
| | | @Expose
|
| | | private Date thirdCreateTime;
|
| | |
|
| | | // 第三方订单状态
|
| | | @org.yeshi.utils.mybatis.Column(name = "third_state")
|
| | | @Column(name = "`third_state`")
|
| | | @Expose
|
| | | private String thirdState;
|
| | |
|