package cn.ysk.cashier.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_user_storage")
public class TbUserStorage extends Model<TbUserStorage> {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;               // 记录ID
    private Integer userId;           // 用户ID
    private String shopId;           // 用户ID
    private Integer productId;
    private Integer num;
    private Integer outNum;
    private Integer inNum;
    private Date createTime;
    private String account;
    private String unit;
    private String productName;
    private Integer skuId;
    private String skuName;
    private String imgUrl;
}