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/12 10:43
 */
@Data
@TableName("hhr_yxt_sales_limit")
public class YxtSalesLimit implements Serializable {

    private static final long serialVersionUID = 8980324270129957305L;
    /**
     *
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     *购买人id
     */
    @TableField("open_id")
    private String openId;
    /**
     *购买数量
     */
    @TableField("sales_num")
    private Integer salesNum;

    /**
     *
     */
    @TableField("update_date")
    private Date updateDate;
}
