package com.tzy.pojo.card;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2022-02-16 
 */

@Table ( name ="card_group_order_info" )
@Data
public class CardGroupOrderInfo  implements Serializable {

	private static final long serialVersionUID =  179486937381862341L;

	/**
	 * id
	 */
   	@Column(name = "id" )
	private Long id;

	/**
	 * 组团信息id
	 */
   	@Column(name = "group_info_id" )
	private Long groupInfoId;

	/**
	 * 商家id
	 */
   	@Column(name = "merchant_id" )
	private Long merchantId;

	/**
	 * 用户id
	 */
   	@Column(name = "user_id" )
	private Long userId;

	/**
	 * 收货地址id
	 */
   	@Column(name = "shipping_address_id" )
	private Long shippingAddressId;

	/**
	 * 购买数量
	 */
   	@Column(name = "purchase_count" )
	private Long purchaseCount;

	/**
	 * 订单编码
	 */
   	@Column(name = "order_no" )
	private String orderNo;

	/**
	 * 应付款
	 */
   	@Column(name = "accounts_payable" )
	private String accountsPayable;

	/**
	 * 实付款
	 */
   	@Column(name = "actual_payment" )
	private String actualPayment;

	/**
	 * 支付方式-交易类型
	 */
   	@Column(name = "payment_type" )
	private String paymentType;

	/**
	 * 支付流水号-微信支付订单号
	 */
   	@Column(name = "payment_num" )
	private String paymentNum;

	/**
	 * 支付时间
	 */
   	@Column(name = "payment_time" )
	private Date paymentTime;

	/**
	 * 优惠券
	 */
   	@Column(name = "coupon" )
	private Long coupon;

	/**
	 * 折扣
	 */
   	@Column(name = "discount" )
	private String discount;

	/**
	 * 订单状态
	 */
   	@Column(name = "status" )
	private Long status;

	/**
	 * 备注
	 */
   	@Column(name = "remark" )
	private String remark;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 创建人
	 */
   	@Column(name = "create_by" )
	private String createBy;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 更新人
	 */
   	@Column(name = "update_by" )
	private String updateBy;

	/**
	 * 预支付交易会话标识:支付时用
	 */
   	@Column(name = "prepay_id" )
	private String prepayId;

	/**
	 * 支付通知id
	 */
   	@Column(name = "payment_evid" )
	private String paymentEvid;

	/**
	 * 交易状态
	 */
   	@Column(name = "payment_status" )
	private String paymentStatus;

	/**
	 * 交易状态描述
	 */
   	@Column(name = "payment_status_desc" )
	private String paymentStatusDesc;

	/**
	 * 付款银行
	 */
   	@Column(name = "payment_bank_type" )
	private String paymentBankType;

	/**
	 * 支付完成时间
	 */
   	@Column(name = "payment_success_time" )
	private Date paymentSuccessTime;

	/**
	 * 姓名
	 */
   	@Column(name = "shipping_address_linkname" )
	private String shippingAddressLinkname;

	/**
	 * 收货地址
	 */
   	@Column(name = "shipping_address" )
	private String shippingAddress;

	/**
	 * 联系方式
	 */
   	@Column(name = "shipping_address_phone" )
	private String shippingAddressPhone;

	/**
	 * 删除标记：0=正常，1=删除
	 */
   	@Column(name = "del_flg" )
	private Integer delFlg;

	/**
	 * 快递单号
	 */
   	@Column(name = "courier_num" )
	private String courierNum;

	/**
	 * 快递公司
	 */
   	@Column(name = "curier_company" )
	private String curierCompany;

	/**
	 * 商户退款单号
	 */
   	@Column(name = "out_refund_no" )
	private String outRefundNo;

	/**
	 * 微信退款id
	 */
   	@Column(name = "refund_id" )
	private String refundId;

	/**
	 * 退款金额
	 */
   	@Column(name = "refund_fee" )
	private String refundFee;

	/**
	 * 退款时间
	 */
   	@Column(name = "refund_time" )
	private Date refundTime;

	/**
	 * 是否匿名
	 */
   	@Column(name = "anonymous" )
	private Boolean anonymous;

	/**
	 * 提货方式
	 */
   	@Column(name = "pick_up_type" )
	private String pickUpType;

	/**
	 * 发货时间
	 */
   	@Column(name = "ship_time" )
	private Date shipTime;

	/**
	 * 退款成功时间
	 */
   	@Column(name = "refund_success_time" )
	private Date refundSuccessTime;

	/**
	 * 退款入账账户
	 */
   	@Column(name = "refund_recv_accout" )
	private String refundRecvAccout;

	/**
	 * 退款资金来源
	 */
   	@Column(name = "refund_account" )
	private String refundAccount;

	/**
	 * 退款发起来源
	 */
   	@Column(name = "refund_request_source" )
	private String refundRequestSource;

	/**
	 * 单价
	 */
   	@Column(name = "card_price" )
	private String cardPrice;

	/**
	 * 活动价
	 */
   	@Column(name = "act_price" )
	private String actPrice;

	/**
	 * 价格json
	 */
   	@Column(name = "goods_price_json" )
	private String goodsPriceJson;

	/**
	 * 支付 子分类：杉德支付（微信），宝付支付（微信）等
	 */
   	@Column(name = "payment_sub_type" )
	private String paymentSubType;
	@Column(name = "refuse_status" )
	private Integer refuseStatus;
	@Column(name = "refuse_time")
	private Date refuseTime;
	/**仅退款refund_amount,退货退款refund_goods,换货change*/
	private String refundType;
	/**订单退换原因*/
	private String refundReason;
	/**订单评价*/
	private String evaluation;
	/**退换物流公司*/
	private String refundCurierCompany;
	/**退换物流单号*/
	private String refundCourierNum;
	/**退换申请时间*/
	private Date userRefundTime;
	/**1:申请  2同意 3拒绝 ,4退回货物  5商家收到货*/
	private Integer refundStatus;
	/**退换物流时间*/
	private Date refundShipTime;
	/**订单子类型,赠与:receive*/
	private String orderSubType;
	/**赠送卡密查看*/
	private Integer readFlag;
	/**关联发票记录id*/
	private Integer invoiceId;
	/**订单类型*/
	private String orderType;
	/**卡密是否分配,默认0:未分配,1已分配*/
	private Integer goodsAllocate;
	/**预测队伍id,prop1*/
	private String prop1;
	/**猜中数量prop2*/
	private String prop2;
	/**卡密缺失数量 prop3*/
	private String prop3;
	/**订单打款状态：0=未结束，100=可申请，200=申请中，300=已打款*/
	@Column(name = "close_payment_status" )
	private Integer closePaymentStatus;
	/**订单打款时间*/
	@Column(name = "close_payment_time" )
	private Date closePaymentTime;
	/**订单完结时间*/
	private Date finishedTime;
	//申请自提时间
	private Date selfPickupTime;
	//自提码
	private String selfPickupCode;
	private Long giveOrderId;

}
