package com.ltgk.catches.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

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

/**
 * 捕捞日志 网序列表
 */
@ApiModel(description = "捕捞日志 网序列表")
@Data
@TableName(value = "tc_fish_log_net")
@Accessors(chain = true)
public class TcFishLogNet implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    @TableField(value = "log_id")
    @ApiModelProperty(value = "捕捞日志id")
    private String logId;

    @TableField(value = "net_num")
    @ApiModelProperty(value = "网序序号")
    private String netNum;

    @TableField(value = "put_net_time")
    @ApiModelProperty(value = "放网时间")
    private Date putNetTime;

    @TableField(value = "rise_net_time")
    @ApiModelProperty(value = "起网时间")
    private Date riseNetTime;

    @TableField(value = "one_net_time")
    @ApiModelProperty(value = "一网时间")
    private String oneNetTime;

    @TableField(value = "put_net_longitude")
    @ApiModelProperty(value = "放网经度")
    private BigDecimal putNetLongitude;

    @TableField(value = "put_net_latitude")
    @ApiModelProperty(value = "放网纬度")
    private BigDecimal putNetLatitude;

    @TableField(value = "put_net_position")
    @ApiModelProperty(value = "放网船位")
    private String putNetPosition;

    @TableField(value = "rise_net_longitude")
    @ApiModelProperty(value = "起网经度")
    private BigDecimal riseNetLongitude;

    @TableField(value = "rise_net_latitude")
    @ApiModelProperty(value = "起网纬度")
    private BigDecimal riseNetLatitude;

    @TableField(value = "rise_net_position")
    @ApiModelProperty(value = "起网船位")
    private String riseNetPosition;

    @TableField(value = "net_yield")
    @ApiModelProperty(value = "网次产量 kg")
    private BigDecimal netYield;

    @TableField(value = "net_yield_details")
    @ApiModelProperty(value = "网次产量详情")
    private String netYieldDetails;

    @TableField(value = "report_user_id")
    @ApiModelProperty(value = "提报用户主键")
    private String reportUserId;

    @TableField(value = "del_flag")
    @ApiModelProperty(value = "删除标志: 0-未删除, 1-已删除")
    private Integer delFlag;

    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建者")
    private String createBy;

    @TableField(value = "create_at")
    @ApiModelProperty(value = "创建时间")
    private Date createAt;

    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @TableField(value = "update_at")
    @ApiModelProperty(value = "更新时间")
    private Date updateAt;

    @TableField(value = "remark")
    @ApiModelProperty(value = "备注")
    private String remark;

    @TableField(value = "date")
    @ApiModelProperty(value = "捕捞日志日期")
    private Date date;

    @TableField(exist = false)
    @ApiModelProperty(value = "产量详情数据")
    private String tcFishLogNetYieldJson;
}