package com.ltgk.boat.domain.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ltgk.common.core.page.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: wan kun
 * @Description: TODO
 * @Date: 2024/10/28 17:08
 * @Version: 1.0
 */
@Data
public class GetBoatCredentialListReq extends BasePage {
    @JsonProperty("startTime")
    @ApiModelProperty(value = "查询开始时间")
    private String startTime;
    @JsonProperty("endTime")
    @ApiModelProperty(value = "查询结束时间")
    private String endTime;
    @ApiModelProperty(value = "船名")
    @JsonProperty("boatName")
    private String boatName;
    @ApiModelProperty(value = "证书状态 :正常、注销、证书过期、中止、未开始、即将过期")
    @JsonProperty("status")
    private String status;
    @ApiModelProperty(value = "查询类型")
    @JsonProperty("type")
    @NotBlank(message = "查询类型不能为空")
    private String type;
}
