package com.backendsys.entity.System;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class SysUserPointsDTO {

    // 查询积分详情
    public static interface Detail{}
    // 更变积分
    public static interface Adjustment{}

    private Long id;

    @NotNull(message="积分生效用户ID不能为空", groups = { Adjustment.class })
    private Long target_user_id;
    private String username;

    @NotNull(message="积分变动值不能为空", groups = { Adjustment.class })
    private Float point_adjustment;
    private Float point_balance;

    private String activity_type;
    private String activity_type_description;

    private String activity_detail;

    private String operator_type;
    private Long operator_user_id;

    private String create_time_begin;
    private String create_time_end;

    private String create_time;
    private String update_time;

}
