/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.seckill.comment.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * 秒杀订单
 *
 * @author LGH
 * @date 2019-08-28 09:36:59
 */
@Data
@TableName("tz_seckill_order")
public class SeckillOrder implements Serializable{
    private static final long serialVersionUID = 1L;

    /**
     * 秒杀订单id
     */
    @TableId
    private Long seckillOrderId;
    /**
     * 秒杀订单id
     */
    private Long seckillId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 商品id
     */
    private Long prodId;
    /**
     * 订单号
     */
    private String orderNumber;
    /**
     * -1指无效，0指成功，1指已付款
     */
    private Integer state;
    /**
     * 秒杀到的商品数量
     */
    private Integer prodCount;
    /**
     * 创建时间
     */
    private Date createTime;

    private Long seckillSkuId;

}
