package cn.iocoder.byzs.module.system.controller.admin.userwebexpiretime.vo;

import cn.iocoder.byzs.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.byzs.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户平台权限有效期分页 Request VO")
@Data
public class UserWebExpireTimePageReqVO extends PageParam {


    private String userName;
    private String tenantName;

    @Schema(description = "课程权限过期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] courseExpireTime;

    @Schema(description = "编程课权限过期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] blocklyExpireTime;

    @Schema(description = "AI实验课权限过期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] aiCourseExpireTime;

}