package com.artfess.rescue.event.model;

import com.artfess.base.entity.BizDelModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.artfess.base.entity.BaseModel;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 事件信息
 *
 * @company 阿特菲斯信息技术有限公司
 * @author 系统管理员
 * @since 2025-03-13
 */
@ApiModel(value="BizTrafficCongestion对象", description="事件信息")
@Data
public class BizTrafficCongestion extends BizDelModel<BizTrafficCongestion> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键_ID")
    @TableId(value = "ID_", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "事件id")
    @TableField("EVENT_ID_")
    private String eventId;

    @ApiModelProperty(value = "事件地点(字典)")
    @TableField("EVENT_PLACE_")
    private String eventPlace;

    @ApiModelProperty(value = "所属路段(关联路段表ID)")
    @TableField("ROAD_ID_")
    private String roadId;

    @ApiModelProperty(value = "所属路段NAME")
    @TableField("ROAD_NAME_")
    private String roadName;

    @ApiModelProperty(value = "所属路段编码")
    @TableField("ROAD_CODE_")
    private String roadCode;

    @ApiModelProperty(value = "方向")
    @TableField("DIRECTION_")
    private String direction;

    @ApiModelProperty(value = "事件开始点位桩号全值")
    @TableField("PEG_S_VAL_")
    private String pegSVal;

    @ApiModelProperty(value = "事件结束点位桩号全值")
    @TableField("PEG_E_VAL_")
    private String pegEVal;

    @ApiModelProperty(value = "经度")
    @TableField("LNG_")
    private String lng;

    @ApiModelProperty(value = "纬度")
    @TableField("LAT_")
    private String lat;

    @ApiModelProperty(value = "开始的巡查站ID")
    @TableField("START_PATROL_ID_")
    private String startPatrolId;

    @ApiModelProperty(value = "开始的巡查站NAME")
    @TableField("START_PATROL_NAME_")
    private String startPatrolName;

    @ApiModelProperty(value = "结束的巡查站ID")
    @TableField("END_PATROL_ID_")
    private String endPatrolId;

    @ApiModelProperty(value = "结束的巡查站NAME")
    @TableField("END_PATROL_NAME_")
    private String endPatrolName;

    @ApiModelProperty(value = "原因")
    @TableField("CAUSE_")
    private String cause;

    @ApiModelProperty(value = "措施")
    @TableField("MEASURE_")
    private String measure;

    @ApiModelProperty(value = "管制开始时间")
    @TableField("START_TIME_")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "状态字典 1.管制中 2.解除管制")
    @TableField("STATUS_")
    private Integer status;

    @ApiModelProperty(value = "预计管制时间")
    @TableField("CONTROL_TIME_")
    private LocalDateTime controlTime;

    @ApiModelProperty(value = "管制结束时间")
    @TableField("END_TIME_")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS_")
    private String remarks;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DELE_")
    @TableLogic
    private String isDele="0";
}
