| | |
| | | package com.yeshi.fanli.entity.order;
|
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.HongBaoV2;
|
| | | import com.yeshi.fanli.entity.bus.user.Order;
|
| | |
|
| | | /**
|
| | | * 订单与红包关联(用于订单活动)
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_order_hongbaov2_map")
|
| | | public class OrderHongBaoMap {
|
| | | @Column(name = "ohm_id")
|
| | | private Long id;
|
| | | @Column(name = "ohm_order_id")
|
| | | private Order order;// 订单
|
| | | @Column(name = "ohm_hongbao_id")
|
| | | private HongBaoV2 hongBao;
|
| | | @Column(name = "ohm_create_time")
|
| | | private Date createTime;
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Order getOrder() {
|
| | | return order;
|
| | | }
|
| | |
|
| | | public void setOrder(Order order) {
|
| | | this.order = order;
|
| | | }
|
| | |
|
| | | public HongBaoV2 getHongBao() {
|
| | | return hongBao;
|
| | | }
|
| | |
|
| | | public void setHongBao(HongBaoV2 hongBao) {
|
| | | this.hongBao = hongBao;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.order; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.yeshi.fanli.entity.bus.user.HongBaoV2; |
| | | import com.yeshi.fanli.entity.bus.user.Order; |
| | | |
| | | /** |
| | | * 订单与红包关联(用于订单活动) |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_order_hongbaov2_map") |
| | | public class OrderHongBaoMap { |
| | | @Column(name = "ohm_id") |
| | | private Long id; |
| | | @Column(name = "ohm_order_id") |
| | | private Order order;// 订单 |
| | | @Column(name = "ohm_hongbao_id") |
| | | private HongBaoV2 hongBao; |
| | | @Column(name = "ohm_create_time") |
| | | private Date createTime; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Order getOrder() { |
| | | return order; |
| | | } |
| | | |
| | | public void setOrder(Order order) { |
| | | this.order = order; |
| | | } |
| | | |
| | | public HongBaoV2 getHongBao() { |
| | | return hongBao; |
| | | } |
| | | |
| | | public void setHongBao(HongBaoV2 hongBao) { |
| | | this.hongBao = hongBao; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | } |