package com.cyksj.model.response;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * 积分重置响应
 */
@Data
public class CreditResetResp {

    private Long userId;
    
    private String description;
    
    private CreditStatus beforeReset;
    
    private CreditStatus afterReset;
    
    private Long creditLimit;
    
    private Long restoredCredits;
    
    private LocalDateTime resetAt;
    
    private String operation = "reset_completed";

    @Data
    public static class CreditStatus {
        private Long usedCredits;
        private Long availableCredits;
    }
}