| | |
| | | package com.yeshi.fanli.entity.shop;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | /**
|
| | | * 订单
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_shop_order")
|
| | | public class BanLiShopOrder {
|
| | |
|
| | | public final static int PAY_STATE_NOPAY = 0;// 未支付
|
| | | public final static int PAY_STATE_PAID = 1;// 已支付
|
| | | public final static int PAY_STATE_REFUNDING = 2;// 退款中
|
| | | public final static int PAY_STATE_REFUND = 3;// 已退款
|
| | |
|
| | | public final static int STATE_INVALID = -1;// 失效
|
| | | public final static int STATE_NO_PAY = 0;// 未支付
|
| | | public final static int STATE_PART_PAY = 1;// 部分支付
|
| | | public final static int STATE_PAID = 5;// 已支付,待审核
|
| | | public final static int STATE_REJECT = 10;// 审核拒绝,退款中
|
| | | public final static int STATE_REJECT_REFUND_SUCCESS = 11;// 审核拒绝-退款成功
|
| | | public final static int STATE_REJECT_REFUND_PART_SUCCESS = 12;// 审核拒绝-部分退款成功
|
| | | public final static int STATE_REJECT_REFUND_FAIL = 15;// 审核拒绝-退款失败
|
| | | public final static int STATE_SUCCESS = 20;// 交易成功
|
| | |
|
| | | @Column(name = "so_id")
|
| | | private Long id;
|
| | | @Column(name = "so_uid")
|
| | | private Long uid;
|
| | | @Column(name = "so_order_no")
|
| | | private String orderNo;
|
| | | @Column(name = "so_goods_id")
|
| | | private BanLiShopGoods goods;
|
| | | @Column(name = "so_goods_set_id")
|
| | | private BanLiShopGoodsSets goodsSet;
|
| | | @Column(name = "so_payment_hongbao")
|
| | | private BigDecimal hongBaoPayment;// 红包支付金额
|
| | | @Column(name = "so_payment_hongbao_state")
|
| | | private Integer hongBaoPaymentState;// 支付金额状态
|
| | | @Column(name = "so_payment_money")
|
| | | private BigDecimal balancePayment;// 余额支付金额
|
| | | @Column(name = "so_payment_money_state")
|
| | | private Integer balancePaymentState;// 余额金额状态
|
| | | @Column(name = "so_payment_balance")
|
| | | private BigDecimal moneyPayment;// 现金支付金额
|
| | | @Column(name = "so_payment_balance_state")
|
| | | private Integer moneyPaymentState;// 现金金额状态
|
| | | @Column(name = "so_pay_time")
|
| | | private Date payTime;// 订单支付时间
|
| | | @Column(name = "so_reject_time")
|
| | | private Date rejectTime;// 拒绝时间
|
| | | @Column(name = "so_success_time")
|
| | | private Date successTime;// 交易成功时间
|
| | | @Column(name = "so_state") // -1-已失效 0-未支付 1-已支付,待审核 10-审核拒绝 20-交易成功
|
| | | private Integer state;// 状态
|
| | | @Column(name = "so_state_desc")
|
| | | private String stateDesc;// 状态简介
|
| | | @Column(name = "so_charge_account_type")
|
| | | private ChargeTypeEnum chargeAccountType;// 充值账号类型
|
| | |
|
| | | @Column(name = "so_charge_account")
|
| | | private String chargeAccount;// 充值账号
|
| | | @Column(name = "so_charge_account2")
|
| | | private String chargeAccount2;// 充值账号2(备用)
|
| | | @Column(name = "so_beizhu")
|
| | | private String beiZhu;// 备注
|
| | | @Column(name = "so_create_time")
|
| | | private Date createTime;// 创建时间
|
| | | @Column(name = "so_update_time")
|
| | | private Date updateTime;// 更新时间
|
| | | @Column(name = "so_order_goods_id")
|
| | | private BanLiShopOrderGoods orderGoods;
|
| | |
|
| | | public BanLiShopOrderGoods getOrderGoods() {
|
| | | return orderGoods;
|
| | | }
|
| | |
|
| | | public void setOrderGoods(BanLiShopOrderGoods orderGoods) {
|
| | | this.orderGoods = orderGoods;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public String getOrderNo() {
|
| | | return orderNo;
|
| | | }
|
| | |
|
| | | public void setOrderNo(String orderNo) {
|
| | | this.orderNo = orderNo;
|
| | | }
|
| | |
|
| | | public BanLiShopGoods getGoods() {
|
| | | return goods;
|
| | | }
|
| | |
|
| | | public void setGoods(BanLiShopGoods goods) {
|
| | | this.goods = goods;
|
| | | }
|
| | |
|
| | | public BanLiShopGoodsSets getGoodsSet() {
|
| | | return goodsSet;
|
| | | }
|
| | |
|
| | | public void setGoodsSet(BanLiShopGoodsSets goodsSet) {
|
| | | this.goodsSet = goodsSet;
|
| | | }
|
| | |
|
| | | public BigDecimal getHongBaoPayment() {
|
| | | return hongBaoPayment;
|
| | | }
|
| | |
|
| | | public void setHongBaoPayment(BigDecimal hongBaoPayment) {
|
| | | this.hongBaoPayment = hongBaoPayment;
|
| | | }
|
| | |
|
| | | public Integer getHongBaoPaymentState() {
|
| | | return hongBaoPaymentState;
|
| | | }
|
| | |
|
| | | public void setHongBaoPaymentState(Integer hongBaoPaymentState) {
|
| | | this.hongBaoPaymentState = hongBaoPaymentState;
|
| | | }
|
| | |
|
| | | public BigDecimal getBalancePayment() {
|
| | | return balancePayment;
|
| | | }
|
| | |
|
| | | public void setBalancePayment(BigDecimal balancePayment) {
|
| | | this.balancePayment = balancePayment;
|
| | | }
|
| | |
|
| | | public Integer getBalancePaymentState() {
|
| | | return balancePaymentState;
|
| | | }
|
| | |
|
| | | public void setBalancePaymentState(Integer balancePaymentState) {
|
| | | this.balancePaymentState = balancePaymentState;
|
| | | }
|
| | |
|
| | | public BigDecimal getMoneyPayment() {
|
| | | return moneyPayment;
|
| | | }
|
| | |
|
| | | public void setMoneyPayment(BigDecimal moneyPayment) {
|
| | | this.moneyPayment = moneyPayment;
|
| | | }
|
| | |
|
| | | public Integer getMoneyPaymentState() {
|
| | | return moneyPaymentState;
|
| | | }
|
| | |
|
| | | public void setMoneyPaymentState(Integer moneyPaymentState) {
|
| | | this.moneyPaymentState = moneyPaymentState;
|
| | | }
|
| | |
|
| | | public Date getPayTime() {
|
| | | return payTime;
|
| | | }
|
| | |
|
| | | public void setPayTime(Date payTime) {
|
| | | this.payTime = payTime;
|
| | | }
|
| | |
|
| | | public Date getRejectTime() {
|
| | | return rejectTime;
|
| | | }
|
| | |
|
| | | public void setRejectTime(Date rejectTime) {
|
| | | this.rejectTime = rejectTime;
|
| | | }
|
| | |
|
| | | public Date getSuccessTime() {
|
| | | return successTime;
|
| | | }
|
| | |
|
| | | public void setSuccessTime(Date successTime) {
|
| | | this.successTime = successTime;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | public String getStateDesc() {
|
| | | return stateDesc;
|
| | | }
|
| | |
|
| | | public void setStateDesc(String stateDesc) {
|
| | | this.stateDesc = stateDesc;
|
| | | }
|
| | |
|
| | | public String getChargeAccount() {
|
| | | return chargeAccount;
|
| | | }
|
| | |
|
| | | public void setChargeAccount(String chargeAccount) {
|
| | | this.chargeAccount = chargeAccount;
|
| | | }
|
| | |
|
| | | public String getChatgeAccount2() {
|
| | | return chargeAccount2;
|
| | | }
|
| | |
|
| | | public void setChatgeAccount2(String chargeAccount2) {
|
| | | this.chargeAccount2 = chargeAccount2;
|
| | | }
|
| | |
|
| | | public String getBeiZhu() {
|
| | | return beiZhu;
|
| | | }
|
| | |
|
| | | public void setBeiZhu(String beiZhu) {
|
| | | this.beiZhu = beiZhu;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public Date getUpdateTime() {
|
| | | return updateTime;
|
| | | }
|
| | |
|
| | | public void setUpdateTime(Date updateTime) {
|
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | public ChargeTypeEnum getChargeAccountType() {
|
| | | return chargeAccountType;
|
| | | }
|
| | |
|
| | | public void setChargeAccountType(ChargeTypeEnum chargeAccountType) {
|
| | | this.chargeAccountType = chargeAccountType;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.entity.shop; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | /** |
| | | * 订单 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_shop_order") |
| | | public class BanLiShopOrder { |
| | | |
| | | public final static int PAY_STATE_NOPAY = 0;// 未支付 |
| | | public final static int PAY_STATE_PAID = 1;// 已支付 |
| | | public final static int PAY_STATE_REFUNDING = 2;// 退款中 |
| | | public final static int PAY_STATE_REFUND = 3;// 已退款 |
| | | |
| | | public final static int STATE_INVALID = -1;// 失效 |
| | | public final static int STATE_NO_PAY = 0;// 未支付 |
| | | public final static int STATE_PART_PAY = 1;// 部分支付 |
| | | public final static int STATE_PAID = 5;// 已支付,待审核 |
| | | public final static int STATE_REJECT = 10;// 审核拒绝,退款中 |
| | | public final static int STATE_REJECT_REFUND_SUCCESS = 11;// 审核拒绝-退款成功 |
| | | public final static int STATE_REJECT_REFUND_PART_SUCCESS = 12;// 审核拒绝-部分退款成功 |
| | | public final static int STATE_REJECT_REFUND_FAIL = 15;// 审核拒绝-退款失败 |
| | | public final static int STATE_SUCCESS = 20;// 交易成功 |
| | | |
| | | public BanLiShopOrder(Long id) { |
| | | super(); |
| | | this.id = id; |
| | | } |
| | | |
| | | public BanLiShopOrder() { |
| | | } |
| | | |
| | | @Column(name = "so_id") |
| | | private Long id; |
| | | @Column(name = "so_uid") |
| | | private Long uid; |
| | | @Column(name = "so_order_no") |
| | | private String orderNo; |
| | | @Column(name = "so_goods_id") |
| | | private BanLiShopGoods goods; |
| | | @Column(name = "so_goods_set_id") |
| | | private BanLiShopGoodsSets goodsSet; |
| | | @Column(name = "so_payment_hongbao") |
| | | private BigDecimal hongBaoPayment;// 红包支付金额 |
| | | @Column(name = "so_payment_hongbao_state") |
| | | private Integer hongBaoPaymentState;// 支付金额状态 |
| | | @Column(name = "so_payment_balance") |
| | | private BigDecimal balancePayment;// 余额支付金额 |
| | | @Column(name = "so_payment_balance_state") |
| | | private Integer balancePaymentState;// 余额金额状态 |
| | | @Column(name = "so_payment_money") |
| | | private BigDecimal moneyPayment;// 现金支付金额 |
| | | @Column(name = "so_payment_money_state") |
| | | private Integer moneyPaymentState;// 现金金额状态 |
| | | @Column(name = "so_pay_time") |
| | | private Date payTime;// 订单支付时间 |
| | | @Column(name = "so_reject_time") |
| | | private Date rejectTime;// 拒绝时间 |
| | | @Column(name = "so_success_time") |
| | | private Date successTime;// 交易成功时间 |
| | | @Column(name = "so_state") // -1-已失效 0-未支付 1-已支付,待审核 10-审核拒绝 20-交易成功 |
| | | private Integer state;// 状态 |
| | | @Column(name = "so_state_desc") |
| | | private String stateDesc;// 状态简介 |
| | | @Column(name = "so_charge_account_type") |
| | | private ChargeTypeEnum chargeAccountType;// 充值账号类型 |
| | | @Column(name = "so_charge_account") |
| | | private String chargeAccount;// 充值账号 |
| | | @Column(name = "so_charge_account2") |
| | | private String chargeAccount2;// 充值账号2(备用) |
| | | @Column(name = "so_beizhu") |
| | | private String beiZhu;// 备注 |
| | | @Column(name = "so_create_time") |
| | | private Date createTime;// 创建时间 |
| | | @Column(name = "so_update_time") |
| | | private Date updateTime;// 更新时间 |
| | | @Column(name = "so_order_goods_id") |
| | | private BanLiShopOrderGoods orderGoods; |
| | | |
| | | public BanLiShopOrderGoods getOrderGoods() { |
| | | return orderGoods; |
| | | } |
| | | |
| | | public void setOrderGoods(BanLiShopOrderGoods orderGoods) { |
| | | this.orderGoods = orderGoods; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Long uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public String getOrderNo() { |
| | | return orderNo; |
| | | } |
| | | |
| | | public void setOrderNo(String orderNo) { |
| | | this.orderNo = orderNo; |
| | | } |
| | | |
| | | public BanLiShopGoods getGoods() { |
| | | return goods; |
| | | } |
| | | |
| | | public void setGoods(BanLiShopGoods goods) { |
| | | this.goods = goods; |
| | | } |
| | | |
| | | public BanLiShopGoodsSets getGoodsSet() { |
| | | return goodsSet; |
| | | } |
| | | |
| | | public void setGoodsSet(BanLiShopGoodsSets goodsSet) { |
| | | this.goodsSet = goodsSet; |
| | | } |
| | | |
| | | public BigDecimal getHongBaoPayment() { |
| | | return hongBaoPayment; |
| | | } |
| | | |
| | | public void setHongBaoPayment(BigDecimal hongBaoPayment) { |
| | | this.hongBaoPayment = hongBaoPayment; |
| | | } |
| | | |
| | | public Integer getHongBaoPaymentState() { |
| | | return hongBaoPaymentState; |
| | | } |
| | | |
| | | public void setHongBaoPaymentState(Integer hongBaoPaymentState) { |
| | | this.hongBaoPaymentState = hongBaoPaymentState; |
| | | } |
| | | |
| | | public BigDecimal getBalancePayment() { |
| | | return balancePayment; |
| | | } |
| | | |
| | | public void setBalancePayment(BigDecimal balancePayment) { |
| | | this.balancePayment = balancePayment; |
| | | } |
| | | |
| | | public Integer getBalancePaymentState() { |
| | | return balancePaymentState; |
| | | } |
| | | |
| | | public void setBalancePaymentState(Integer balancePaymentState) { |
| | | this.balancePaymentState = balancePaymentState; |
| | | } |
| | | |
| | | public BigDecimal getMoneyPayment() { |
| | | return moneyPayment; |
| | | } |
| | | |
| | | public void setMoneyPayment(BigDecimal moneyPayment) { |
| | | this.moneyPayment = moneyPayment; |
| | | } |
| | | |
| | | public Integer getMoneyPaymentState() { |
| | | return moneyPaymentState; |
| | | } |
| | | |
| | | public void setMoneyPaymentState(Integer moneyPaymentState) { |
| | | this.moneyPaymentState = moneyPaymentState; |
| | | } |
| | | |
| | | public Date getPayTime() { |
| | | return payTime; |
| | | } |
| | | |
| | | public void setPayTime(Date payTime) { |
| | | this.payTime = payTime; |
| | | } |
| | | |
| | | public Date getRejectTime() { |
| | | return rejectTime; |
| | | } |
| | | |
| | | public void setRejectTime(Date rejectTime) { |
| | | this.rejectTime = rejectTime; |
| | | } |
| | | |
| | | public Date getSuccessTime() { |
| | | return successTime; |
| | | } |
| | | |
| | | public void setSuccessTime(Date successTime) { |
| | | this.successTime = successTime; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public String getStateDesc() { |
| | | return stateDesc; |
| | | } |
| | | |
| | | public void setStateDesc(String stateDesc) { |
| | | this.stateDesc = stateDesc; |
| | | } |
| | | |
| | | public String getChargeAccount() { |
| | | return chargeAccount; |
| | | } |
| | | |
| | | public void setChargeAccount(String chargeAccount) { |
| | | this.chargeAccount = chargeAccount; |
| | | } |
| | | |
| | | public String getChatgeAccount2() { |
| | | return chargeAccount2; |
| | | } |
| | | |
| | | public void setChatgeAccount2(String chargeAccount2) { |
| | | this.chargeAccount2 = chargeAccount2; |
| | | } |
| | | |
| | | public String getBeiZhu() { |
| | | return beiZhu; |
| | | } |
| | | |
| | | public void setBeiZhu(String beiZhu) { |
| | | this.beiZhu = beiZhu; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Date getUpdateTime() { |
| | | return updateTime; |
| | | } |
| | | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | public ChargeTypeEnum getChargeAccountType() { |
| | | return chargeAccountType; |
| | | } |
| | | |
| | | public void setChargeAccountType(ChargeTypeEnum chargeAccountType) { |
| | | this.chargeAccountType = chargeAccountType; |
| | | } |
| | | } |