package com.zcloud.primeport.persistence.dataobject;

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.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * web-infrastructure
 *
 * @Author makejava
 * @Date 2026-03-05 11:33:15
 */
@Data
@TableName("mkmj")
@EqualsAndHashCode(callSuper = true)
public class MkmjDO extends BaseDO {
    //口门名称
    @ApiModelProperty(value = "所属港区")
    private String hgAuthArea;
    @ApiModelProperty(value = "所属港区名称")
    private String hgAuthAreaName;
    @ApiModelProperty(value = "口门名称")
    private String mkmjName;
    //口门级别 1-一级  2-二级
    @ApiModelProperty(value = "口门级别 1-一级  2-二级")
    private Integer mkmjLevel;
    //口门类型 1-人行 2-车行 3-综合
    @ApiModelProperty(value = "口门类型")
    private String mkmjType;
    //口门类型名称1-人行 2-车行 3-综合
    @ApiModelProperty(value = "口门类型名称1-人行 2-车行 3-综合")
    private String mkmjTypeName;
    //口门状态 1-停用 2-正常
    @ApiModelProperty(value = "口门状态 1-停用 2-正常")
    private Integer mkmjStatus;
    //入方向区域- 二级有用
    @ApiModelProperty(value = "入方向区域- 二级有用")
    private Long inDirectionArea;
    //入方向区域名称- 二级有用
    @ApiModelProperty(value = "入方向区域名称- 二级有用")
    private String inDirectionAreaName;
    //出方向区域- 二级有用
    @ApiModelProperty(value = "出方向区域- 二级有用")
    private Long outDirectionArea;
    //出方向区域名称- 二级有用
    @ApiModelProperty(value = "出方向区域名称- 二级有用")
    private String outDirectionAreaName;
    @ApiModelProperty(value = "封闭区域id 二级有用", name = "closedAreaId")
    private Long closedAreaId;
    @ApiModelProperty(value = "封闭区域进出类型 1离场，2离开进入其他区域", name = "outDirectionType")
    private Integer outDirectionType;
    //经度
    @ApiModelProperty(value = "经度")
    private String longitude;
    //纬度
    @ApiModelProperty(value = "纬度")
    private String latitude;
    //摄像头数量
    @ApiModelProperty(value = "摄像头数量")
    @TableField(exist = false)
    private Integer videoCount;
    //通道数量
    @ApiModelProperty(value = "通道数量")
    @TableField(exist = false)
    private Integer passageCount;
    @ApiModelProperty(value = "管辖单位id")
    private Long mkmjAreaJurisdictionalCorpId;
    @TableField(exist = false)
    private Long jurisdictionalCorpId;
    @TableField(exist = false)
    private String jurisdictionalCorpName;
    @TableField(exist = false)
    private String closedAreaName;
}

