package com.ltgk.boat.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "ds_enter_port_country")
public class DsEnterPortCountry implements Serializable {
    /**
     * 进港报告唯一标识
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonProperty(value = "id")
    @ApiModelProperty(value = "进港报告唯一标识")
    private String id;

    /**
     * 插入时间
     */
    @JsonProperty(value = "updateAt")
    @ApiModelProperty(value = "插入时间")
    @TableField(value = "update_at")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateAt;

    /**
     * 港口唯一标识
     */
    @JsonProperty(value = "portId")
    @ApiModelProperty(value = "港口唯一标识")
    @TableField(value = "port_id")
    private String portId;

    /**
     * 渔船信息表唯一标识
     */
    @JsonProperty(value = "boatId")
    @ApiModelProperty(value = "渔船信息表唯一标识")
    @TableField(value = "boat_id")
    private String boatId;

    /**
     * 进港时间
     */
    @JsonProperty(value = "enterTime")
    @ApiModelProperty(value = "进港时间")
    @TableField(value = "enter_time")
    private String enterTime;

    /**
     * 船员唯一标识
     */
    @JsonProperty(value = "crewId")
    @ApiModelProperty(value = "船员唯一标识")
    @TableField(value = "crew_id")
    private String crewId;

    /**
     * 渔船名称
     */
    @JsonProperty(value = "boatName")
    @ApiModelProperty(value = "渔船名称")
    @TableField(value = "boat_name")
    private String boatName;

    /**
     * 拟出港报告唯一标识
     */
    @JsonProperty(value = "outId")
    @ApiModelProperty(value = "拟出港报告唯一标识")
    @TableField(value = "out_id")
    private String outId;

    /**
     * 渔获上岸港口唯一标识
     */
    @JsonProperty(value = "catchId")
    @ApiModelProperty(value = "渔获上岸港口唯一标识")
    @TableField(value = "catch_id")
    private String catchId;

    /**
     * 恶意伤害数
     */
    @JsonProperty(value = "maliceNum")
    @ApiModelProperty(value = "恶意伤害数")
    @TableField(value = "malice_num")
    private String maliceNum;

    /**
     * 渔船所属地区
     */
    @JsonProperty(value = "areaCode")
    @ApiModelProperty(value = "渔船所属地区")
    @TableField(value = "area_code")
    private String areaCode;

    private static final long serialVersionUID = 1L;
}