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("ds_enter_out_boat_country")
public class DsEnterOutBoatCountry implements Serializable {
    /**
     * 主键
     */
    @JsonProperty(value = "id")
    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

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

    /**
     * 国籍证书唯一标识
     */
    @JsonProperty(value = "nationalityId")
    @ApiModelProperty("国籍证书唯一标识")
    @TableField(value = "nationality_id")
    private String nationalityId;

    /**
     * 作业类型
     */
    @JsonProperty(value = "boatType")
    @ApiModelProperty("作业类型")
    @TableField(value = "boat_type")
    private String boatType;

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

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

    /**
     * 身份证号
     */
    @JsonProperty(value = "idCord")
    @ApiModelProperty("身份证号")
    @TableField(value = "id_cord")
    private String idCord;

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

    private static final long serialVersionUID = 1L;
}