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_yield")
@Accessors(chain = true)
public class TcFishLogNetYield implements Serializable {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 网序id
     */
    @TableField(value = "net_id")
    @ApiModelProperty(value = "网序id")
    private String netId;

    /**
     * 水产种类id
     */
    @TableField(value = "aquatic_dict_id")
    @ApiModelProperty(value = "水产种类id")
    private String aquaticDictId;

    @TableField(value = "aquatic_dict_name")
    @ApiModelProperty(value = "水产种类名称")
    private String aquaticDictName;

    /**
     * 产量 kg
     */
    @TableField(value = "yield")
    @ApiModelProperty(value = "产量 kg")
    private BigDecimal yield;

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

    /**
     * 删除标志: 0-未删除, 1-已删除
     */
    @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;
}