yujian
2019-08-27 d8359ddb48dab5cc797a9d552e11fde571f4920c
fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgOrderDetail.java
@@ -3,6 +3,9 @@
import java.math.BigDecimal;
import java.util.Date;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.yeshi.fanli.entity.bus.user.UserInfo;
/***
@@ -11,6 +14,7 @@
 * @author Administrator
 *
 */
@Table("yeshi_ec_msg_order")
public class MsgOrderDetail {
   public final static int STATE_FK = 1;// 已付款
   public final static int STATE_JS = 2;// 已收货
@@ -18,7 +22,7 @@
   public final static int STATE_SX = 4;// 未付款/已退款
   public enum MsgTypeOrderTypeEnum {
      fanli("返利订单"), share("分享订单"), invite("邀请订单");
      fanli("返利订单"), share("分享订单"), invite("邀请订单"), found("订单找回");
      private final String desc;
      private MsgTypeOrderTypeEnum(String desc) {
@@ -30,17 +34,33 @@
      }
   }
   @Column(name = "mo_id")
   private Long id;
   @Column(name = "mo_uid")
   private UserInfo user;
   @Column(name = "mo_type")
   private MsgTypeOrderTypeEnum type;// 消息类型
   @Column(name = "mo_order_id")
   private String orderId;// 订单号
   @Column(name = "mo_order_type")
   private Integer orderType;// 订单类型
   @Column(name = "mo_state")
   private Integer state;// 状态
   @Column(name = "mo_goods_count")
   private Integer goodsCount;// 商品数量
   @Column(name = "mo_pay_money")
   private BigDecimal payMoney;// 付款金额
   @Column(name = "mo_hongbao_money")
   private BigDecimal hongBaoMoney;// 佣金
   @Column(name = "mo_happen_date")
   private Date happendDate;// 发生时间
   @Column(name = "mo_beizhu")
   private String beiZhu;
   @Column(name = "mo_read")
   private Boolean read;// 是否已读
   @Column(name = "mo_create_time")
   private Date createTime;
   @Column(name = "mo_update_time")
   private Date updateTime;
   public Long getId() {
@@ -139,4 +159,20 @@
      this.updateTime = updateTime;
   }
   public Date getHappendDate() {
      return happendDate;
   }
   public void setHappendDate(Date happendDate) {
      this.happendDate = happendDate;
   }
   public Integer getOrderType() {
      return orderType;
   }
   public void setOrderType(Integer orderType) {
      this.orderType = orderType;
   }
}