package com.fdkankan.ucenter.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 java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-11-23
 */
@Getter
@Setter
@TableName("t_agent_new_log")
public class AgentNewLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 代理商授权用户日志表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("agent_id")
    private Integer agentId;

    /**
     * 0专业会员，1高级会员，2场景下载
     */
    @TableField("type")
    private Integer type;

    /**
     * 授权对象id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 授权次数
     */
    @TableField("count")
    private Integer count;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    /**
     * 0 经销商授权，1经销商续费,2官网自购，3平台授权
     */
    @TableField("give_type")
    private Integer giveType;

    @TableField("total_time")
    private Integer totalTime;

    @TableField("order_sn")
    private String orderSn;
}
