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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@ApiModel(description = "ds_boat_black_white")
@Data
@TableName(value = "ds_boat_black_white")
public class DsBoatBlackWhite implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 船舶id
     */
    @TableField(value = "boat_id")
    @ApiModelProperty(value = "船舶id")
    private String boatId;

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

    /**
     * 删除标记
     */
    @TableField(value = "del_flag")
    @ApiModelProperty(value = "删除标记")
    private Integer delFlag;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建人")
    private String createBy;

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

    /**
     * 备注
     */
    @TableField(value = "remarks")
    @ApiModelProperty(value = "备注")
    private String remarks;

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

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新人")
    private String updateBy;

    /**
     * 黑白名单分类 1白名单  2黑名单
     */
    @TableField(value = "`type`")
    @ApiModelProperty(value = "黑白名单分类 1白名单  2黑名单")
    private Integer type;

    /**
     * 加入黑名单原因
     */
    @TableField(value = "reason")
    @ApiModelProperty(value = "加入黑名单原因")
    private String reason;

    /**
     * 黑名单移除时间
     */
    @TableField(value = "remove_time")
    @ApiModelProperty(value = "黑名单移除时间 ")
    private Date removeTime;

    private static final long serialVersionUID = 1L;
}