package com.td.WaDa.game.complayersattri.pojo;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Data
@Table(name = "com_players_lucky")
public class ComPlayersLucky implements Serializable {
    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 操作数量
     */
    private int amount;
    /**
     *操作名称
     */
    private String luckyName;
    /**
     * 幸运值来源类型
     */
    private int luckyType;
    /**
     * 操作前
     */
    private int beforeLucky;
    /**
     * 操作后
     */
    private int afterLucky;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 工具id
     */
    private Integer toolsId;
    /**
     * 土地id
     */
    private Integer landId;
    /**
     * 级别id
     */
    private Integer levelId;

}