package com.wzj.soopin.member.domain.vo;

import com.wzj.soopin.member.annotation.MemberFillField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 封禁记录
 *
 */
@Schema(description="封禁记录")
@Data
public class MemberForbiddenVO {

    @Schema(description ="ID")
    private Long id;

    @Schema(description ="次数")
    private Integer times;

    @Schema(description ="原因")
    private Integer reason;

    @Schema(description ="时长")
    private Integer duration;

    @Schema(description ="单位")
    private Integer unit;

    @Schema(description ="开始时间")
    private LocalDateTime startTime;


    @Schema(description ="结束时间")
    private LocalDateTime endTime;

    @Schema(description ="会员id")
    private Long memberId;

    @MemberFillField(id="memberId")
    private MemberVO member;
}
