package com.ltgk.boat.domain.dto;

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

import javax.validation.constraints.NotNull;

/**
 * @Author: wan kun
 * @Description: 审核设置请求参数
 * @Date: 2024/12/27 10:57
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SetConfirmReq extends BasePage {
    @JsonProperty("id")
    @ApiModelProperty(value = "进出港id", required = true)
    @NotNull(message = "进出港id不能为空")
    private String id;

    @JsonProperty("portId")
    @ApiModelProperty(value = "渔船进出渔港的主键", required = true)
    private String portId;

    @JsonProperty("status")
    @ApiModelProperty(value = "审核状态", required = true)
    @NotNull(message = "审核状态不能为空 1通过 2拒绝")
    private Integer status;

    @JsonProperty("reviewDesc")
    @ApiModelProperty(value = "核验说明")
    private String reviewDesc;

    @ApiModelProperty(value = "持证情况 1齐全 0无")
    @JsonProperty("holdCertificate")
    private Integer holdCertificate;

    @ApiModelProperty(value = "渔船标识 1清楚 0不清楚")
    @JsonProperty("shipFlag")
    private Integer shipFlag;

    @ApiModelProperty(value = "安防设施 1合格 0不合格")
    @JsonProperty("securityMeasures")
    private Integer securityMeasures;

    @ApiModelProperty(value = "网具标准 1合格 0不合格")
    @JsonProperty("standard")
    private Integer standard;

    @ApiModelProperty(value = "北斗设备状况 1开机 2关机 0无")
    @JsonProperty("bdStatus")
    private Integer bdStatus;

    @ApiModelProperty(value = "ais设备状况 1开机 2关机 0无")
    @JsonProperty("aisStatus")
    private Integer aisStatus;

    @ApiModelProperty(value = "救生筏状况 1有 0无")
    @TableField("life_rafts_status")
    private Integer lifeRaftsStatus;

    @ApiModelProperty(value = "灭火器状况 1有 0无")
    @TableField("fire_extinguishers_status")
    private Integer fireExtinguishersStatus;

    @ApiModelProperty(value = "救生衣状况 1有 0无")
    @TableField("life_jackets_status")
    private Integer lifeJacketsStatus;

    @ApiModelProperty(value = "救生圈状况 1有 0无")
    @TableField("lifebuoys_status")
    private Integer lifebuoysStatus;

    @JsonProperty("ActualEnterTime")
    @ApiModelProperty(value = "实际进港时间")
    private String ActualEnterTime;

    @JsonProperty("ActualOutTime")
    @ApiModelProperty(value = "实际出港时间")
    private String ActualOutTime;

    @ApiModelProperty(value = "渔船号灯号型：是否正常，1是0否")
    @JsonProperty("lampStatus")
    private Integer lampStatus;

    @ApiModelProperty(value = "渔船保险是否正常：1-是，0-否")
    @JsonProperty("boatInsuranceStatus")
    private Integer boatInsuranceStatus;

    @ApiModelProperty(value = "渔船安全检查是否正常：1-是，0-否")
    @JsonProperty("boatSafeStatus")
    private Integer boatSafeStatus;

    @ApiModelProperty(value = "渔船执法安全检查是否正常：1-是，0-否")
    @JsonProperty("boatLawEnforcementSafe")
    private Integer boatLawEnforcementSafe;

    @ApiModelProperty(value = "检查照片url")
    @JsonProperty("checkUrl")
    private String checkUrl;
}
