package com.elephant.framework.galaxy.aroad.module.roadcondition.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;

/**
 * 路况事件表
 *
 * @author Xingyuyang
 * @date 2019-05-16 15:28:40
 */

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName("road_condition_event")
@EqualsAndHashCode(callSuper = true)
public class RoadConditionEvent extends Model<RoadConditionEvent> {
private static final long serialVersionUID = 1L;

  /**
   *
   */
  @TableId(type = IdType.AUTO)
  private Integer id;

  @ApiModelProperty(value = "事件ID", name = "eventId")
  private String eventId;
  /**
   * 路线编码
   */
  @ApiModelProperty(value = "路线编号", name = "roadCode")
  private String roadCode;
  /**
   * 路线名称
   */
  @ApiModelProperty(value = "路线名称", name = "roadName")
  private String roadName;
  /**
   * 管养单位
   */
  @ApiModelProperty(value = "管养单位", name = "maintainUnit")
  private String maintainUnit;
  /**
   * 起止桩号
   */
  @ApiModelProperty(value = "起止桩号", name = "stoem")
  private String stoem;
  /**
   * 开始桩号
   */
  @ApiModelProperty(value = "开始桩号", name = "startm")
  private String startm;
  /**
   * 结束桩号
   */
  @ApiModelProperty(value = "结束桩号", name = "endm")
  private String endm;
  /**
   * 事件类型
   */
  @ApiModelProperty(value = "事件类型", name = "eventType")
  private String eventType;
  /**
   * 事件标题
   */
  @ApiModelProperty(value = "事件标题", name = "eventTitle")
  private String eventTitle;
  /**
   * 事件详情
   */
  @ApiModelProperty(value = "事件详情", name = "eventContent")
  private String eventContent;
  /**
   * 影响程度(1=封闭交通/2=影响交通/3=可正常通行)
   */
  @ApiModelProperty(value = "影响程度(1=封闭交通/2=影响交通/3=可正常通行)", name = "influence")
  private String influence;
  /**
   * 压车长度
   */
  @ApiModelProperty(value = "压车长度", name = "carsLength")
  private String carsLength;
  /**
   * 绕行方案
   */
  @ApiModelProperty(value = "绕行方案", name = "solution")
  private String solution;
  /**
   * 发布人
   */
  @ApiModelProperty(value = "发布人", name = "startPerson")
  private String startPerson;
  /**
   * 发布时间
   */
  @ApiModelProperty(value = "发布时间", name = "startTime")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date startTime;
  /**
   * 发布单位
   */
  @ApiModelProperty(value = "发布单位", name = "startUnit")
  private String startUnit;
  /**
   * 发布单位代码
   */
  @ApiModelProperty(value = "发布单位代码", name = "startUnitNo")
  private String startUnitNo;
  /**
   * 备注
   */
  @ApiModelProperty(value = "备注", name = "startBz")
  private String startBz;
  /**
   * 预撤时间
   */
  @ApiModelProperty(value = "预撤时间", name = "preEndTime")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date preEndTime;
  /**
   * 撤销人
   */
  @ApiModelProperty(value = "撤销人", name = "endPerson")
  private String endPerson;
  /**
   * 撤销时间
   */
  @ApiModelProperty(value = "撤销时间", name = "endTime")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date endTime;
  /**
   * 撤销单位
   */
  @ApiModelProperty(value = "撤销单位", name = "endUnit")
  private String endUnit;
  /**
   * 撤销单位代码
   */
  @ApiModelProperty(value = "撤销单位代码", name = "endUnitNo")
  private String endUnitNo;
  /**
   * 撤销原因
   */
  @ApiModelProperty(value = "撤销原因", name = "endReason")
  private String endReason;
  /**
   * 撤销备注
   */
  @ApiModelProperty(value = "撤销备注", name = "endBz")
  private String endBz;
  /**
   * 审核人
   */
  @ApiModelProperty(value = "审核人", name = "checkPerson")
  private String checkPerson;
  /**
   * 审核时间
   */
  @ApiModelProperty(value = "审核时间", name = "checkTime")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date checkTime;
  /**
   * 经度
   */
  @ApiModelProperty(value = "经度", name = "longitude")
  private String longitude;
  /**
   * 纬度
   */
  @ApiModelProperty(value = "纬度", name = "latitude")
  private String latitude;
  /**
    * 当前页
    */
  @ApiModelProperty(value = "当前页", name = "current")
  private long current;
  /**
   * 一页的数量
   */
  @ApiModelProperty(value = "一页的数量", name = "size")
  private long size;
   }
