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_port_catch_country")
public class DsEnterPortCatchCountry implements Serializable {
    /**
     * 渔获物信息唯一标识
     */
    @ApiModelProperty(value = "渔获物信息唯一标识")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @JsonProperty(value = "id")
    private String id;
    /**
     * 渔获数量
     */
    @ApiModelProperty(value = "渔获数量")
    @JsonProperty(value = "catchNum")
    @TableField(value = "catch_num")
    private String catchNum;

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

    /**
     * 进港报告唯一标识
     */
    @ApiModelProperty(value = "进港报告唯一标识")
    @JsonProperty(value = "enterId")
    @TableField(value = "enter_id")
    private String enterId;
    /**
     * 所属地区代码
     */
    @ApiModelProperty(value = "所属地区代码")
    @JsonProperty(value = "areaCode")
    @TableField(value = "area_code")
    private String areaCode;

    /**
     * 渔获种类名称
     */
    @ApiModelProperty(value = "渔获种类名称")
    @JsonProperty(value = "catchType")
    @TableField(value = "catch_type")
    private String catchType;

    private static final long serialVersionUID = 1L;
}