package com.zanxiang.game.back.serve.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 游戏腾讯订单表
 * </p>
 *
 * @author auto
 * @since 2023-06-01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("t_game_tencent_mini_game_role_register")
public class GameTencentMiniGameRoleRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 回传策略id
     */
    private Long backPolicyId;

    /**
     * 渠道号
     */
    private String agentKey;

    /**
     * 游戏ID
     */
    private Long gameId;

    /**
     * 广告账号ID
     */
    private Long adAccountId;

    /**
     * openid
     */
    private String wechatOpenid;

    /**
     * appid
     */
    private String wechatAppId;

    /**
     * 点击id
     */
    private String clickId;

    /**
     * 回传状态
     */
    private Integer backStatus;

    /**
     * 回传状态 - 完成新手教程
     */
    private Integer tutorialFinishBackStatus;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 角色id
     */
    private String roleId;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 角色等级
     */
    private Long roleLevel;

    /**
     * 注册时间
     */
    private LocalDateTime registerTime;

    /**
     * 回传信息
     */
    private String backMsg;

    /**
     * 回传方式
     */
    private String backType;
}
