package com.ltgk.boat.domain.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.ltgk.common.core.page.BasePage;
import com.ltgk.common.validation.groups.Detail;
import com.ltgk.common.validation.groups.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

/**
 * 归港指引通知表 (DsRegressPort)实体类
 *
 * @author Qi ChengBin
 * @date 2025-06-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "ds_regress_port")
@ApiModel(value = "归港指引通知表对象", description = "DsRegressPort表")
public class DsRegressPort extends BasePage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @NotBlank(message = "主键信息不能为空", groups = {Detail.class, Update.class})
    private String id;

    @ApiModelProperty(value = "渔船进港主键")
    @TableField(value = "enter_port_id")
    private String enterPortId;

    @ApiModelProperty(value = "渔船主键")
    @TableField(value = "boat_id")
    private String boatId;

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

    @ApiModelProperty(value = "渔港主键")
    @TableField(value = "port_id")
    private String portId;

    @ApiModelProperty(value = "渔港名称")
    @TableField(value = "port_name")
    private String portName;

    @ApiModelProperty(value = "泊区主键")
    @TableField(value = "parked_area_id")
    private String parkedAreaId;

    @ApiModelProperty(value = "泊区名称")
    @TableField(value = "parked_area_name")
    private String parkedAreaName;

    @ApiModelProperty(value = "渔船所有人")
    @TableField(value = "holder_name")
    private String holderName;

    @ApiModelProperty(value = "渔船所有人联系电话")
    @TableField(value = "holder_phone")
    private String holderPhone;

    @ApiModelProperty(value = "登记人员主键")
    @TableField(value = "register_id")
    private String registerId;

    @ApiModelProperty(value = "登记人员名称")
    @TableField(value = "register_name")
    private String registerName;

    @ApiModelProperty(value = "申报联系电话")
    @TableField(value = "register_phone")
    private String registerPhone;

    @ApiModelProperty(value = "通知内容")
    @TableField(value = "notice_content")
    private String noticeContent;

    @ApiModelProperty(value = "通知时间")
    @TableField(value = "notice_time")
    private Date noticeTime;

    @ApiModelProperty(value = "靠港状态：1-待靠港，2-靠港中，3-已靠港")
    @TableField(value = "regress_port_status")
    private Integer regressPortStatus;

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

    @ApiModelProperty(value = "行政区域编码")
    @TableField(value = "area_code")
    private String areaCode;

    @ApiModelProperty(value = "行政区域名称")
    @TableField(value = "area_name")
    private String areaName;

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

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

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

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

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

    @ApiModelProperty(value = "开始时间")
    @TableField(exist = false)
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField(exist = false)
    private String endTime;
}

