| | |
| | | package com.ks.vip.pojo.DO; |
| | | |
| | | import com.ks.vip.pojo.Enums.OrderTypeEnum; |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | |
| | | @Valid |
| | | public class VipOrder implements Serializable { |
| | | |
| | | // 未支付 |
| | | public final static int STATE_INIT = 0; |
| | | // 已支付 |
| | | public final static int STATE_PAY = 1; |
| | | |
| | | |
| | | @Column(name = "o_id") |
| | | private Long id; |
| | | |
| | | @Column(name = "o_type") |
| | | private String type; |
| | | private OrderTypeEnum type; |
| | | |
| | | @Column(name = "o_combo_id") |
| | | private Long comboId; |
| | |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getType() { |
| | | public OrderTypeEnum getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | public void setType(OrderTypeEnum type) { |
| | | this.type = type; |
| | | } |
| | | |