package com.ruoyi.oa.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 奖金池分配（记录奖金池向用户的分配比例及金额）视图对象 oa_bonus_allocation
 *
 * @author ruoyi
 * @date 2025-10-24
 */
@Data
@ExcelIgnoreUnannotated
public class OaBonusAllocationVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ExcelProperty(value = "主键ID")
    private Long allocationId;

    /**
     * 奖金池ID（关联oa_bonus_pool表pool_id）
     */
    @ExcelProperty(value = "奖金池ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "关=联oa_bonus_pool表pool_id")
    private Long poolId;

    /**
     * 用户昵称
     */
    @ExcelProperty(value = "用户昵称")
    private String nickName;

    /**
     * 分配比例（单位：%，如20.00表示20%）
     */
    @ExcelProperty(value = "分配比例", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "单=位：%，如20.00表示20%")
    private BigDecimal allocationRatio;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
