package com.winsun.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 〈院线通订单信息类〉
 *
 * @author PXL
 * @create 2020/5/7 16:21
 */
@Data
@TableName("hhr_yxt_order")
public class YxtOrder implements Serializable {
    private static final long serialVersionUID = 4315993781602576770L;
    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     *
     */
    @TableField("user_id")
    private String userId;
    /**
     *订单号
     */
    @TableField("order_num")
    private String orderNum;
    /**
     *微信支付订单号
     */
    @TableField("wx_order_num")
    private String wxOrderNum;
    /**
     *金额
     */
    @TableField("total_price")
    private Double totalPrice;
    /**
     *订单状态 (1:未付款  2：付款成功 3：付款失败  4：已取消订单)
     */
    @TableField("state")
    private Integer state;
    /**
     *创建时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     *是否删除(1.已删除，0.不删除)
     */
    @TableField("del_flag")
    private Integer delFlag;
    /**
     *兑换券购买数
     */
    @TableField("goods_num")
    private Integer goodsNum;
    /**
     *兑换券单价
     */
    @TableField("unit_price")
    private Double unitPrice;
    /**
     *订单类型(1.电子订单，2.实体订单)
     */
    @TableField("order_type")
    private String orderType;
    /**
     *地址id
     */
    @TableField("address_id")
    private Integer addressId;
    /**
     * 快递状态(0:无须快递,1待寄出:,2:寄出,3:已寄出)
     */
    @TableField("express_state")
    private Integer expressState;
    /**
     *物流公司
     */
    @TableField("logistics_company")
    private String logisticsCompany;
    /**
     *快递单号
     */
    @TableField("express_number")
    private String expressNumber;
    /**
     * 信息推送状态(0:未发模板,1:已发订单通知,2:已发发货通知)
     */
    @TableField("template_state")
    private Integer templateState;

}
