package com.xindazhou.business.controller.admin.community.ban.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 封禁 Response VO")
@Data
public class BanRespVO {

    @Schema(description = "封禁ID", example = "1")
    private Long id;

    @Schema(description = "用户ID", example = "1")
    private Long userId;

    @Schema(description = "用户昵称", example = "张三")
    private String userNickname;

    @Schema(description = "封禁原因", example = "违规行为")
    private String banReason;

    @Schema(description = "封禁开始时间")
    private LocalDateTime banStartTime;

    @Schema(description = "封禁结束时间")
    private LocalDateTime banEndTime;

    @Schema(description = "是否无限期封禁", example = "false")
    private Boolean isIndefinite;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}

