package com.microservices.zone.member.domain.points;

import com.microservices.common.core.annotation.Excel;
import com.microservices.common.core.web.domain.BaseEntity;
import com.microservices.system.api.domain.SysUser;
import lombok.Data;

/**
 * 积分申请表 zone_points_apply
 *
 * @author otto
 */
@Data
public class ZonePointsApply extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 专区ID
     */
    @Excel(name = "专区ID")
    private Long zoneId;

    /**
     * 组织ID
     */
    @Excel(name = "组织ID")
    private Long deptId;

    /**
     * 申请类型（如：download下载/redeem兑换等）
     */
    @Excel(name = "申请类型")
    private String applyType;

    /**
     * 事件ID（关联积分流水事件）
     */
    @Excel(name = "事件ID")
    private String eventId;

    /**
     * 回复/响应内容
     */
    @Excel(name = "回复/响应内容")
    private String reply;

    /**
     * 状态：pending待处理/success成功/fail失败/rejected已拒绝
     */
    @Excel(name = "状态")
    private String status;

    /**
     * 申请积分数量
     */
    @Excel(name = "申请积分数量")
    private Integer points;

    /**
     * 回复人ID
     */
    @Excel(name = "回复人ID")
    private Long replyId;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名")
    private String realName;

    /**
     * 描述
     */
    @Excel(name = "描述")
    private String description;

    /**
     * 组织
     */
    @Excel(name = "组织")
    private String organization;

    /**
     * 微信号
     */
    @Excel(name = "微信号")
    private String wechat;

    /**
     * 邮箱
     */
    @Excel(name = "邮箱")
    private String email;

    /**
     * 专区成员名称
     */
    private String memberName;

    /**
     * 系统用户信息
     */
    private SysUser sysUser;
}