package cn.iocoder.yudao.module.knowledge.controller.requestdto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.iocoder.yudao.module.knowledge.validated.EditGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import java.util.Date;

/**
 * 培训记录表查询
 *
 * @author admin
 * @since 1.0.0 2024-05-03
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "培训记录表查询")
public class TTrainRecordRequest extends PageParam {
    private String name;
    private String userName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startTime;

    private String startTimeStr;
    private Long userId;
    @Schema(description = "试卷id)")
    @TableField(exist = false)
    private Long paperInfoId;
}
