package com.artfess.rescue.base.model;

import java.math.BigDecimal;

import com.artfess.base.entity.BizDelModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 路段表
 *
 * @company 阿特菲斯信息技术有限公司
 * @author 系统管理员
 * @since 2024-07-24
 */
@ApiModel(value="BizBaseRoad对象", description="路段表")
@Data
@TableName("biz_base_road")
public class BizBaseRoad extends BizDelModel<BizBaseRoad> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ID_", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "编号")
    @TableField("CODE_")
    private String code;

    @ApiModelProperty(value = "简称")
    @TableField("SIMPLICITY_")
    private String simplicity;

    @ApiModelProperty(value = "名称")
    @TableField("NAME_")
    private String name;

    @ApiModelProperty(value = "路径")
    @TableField(exist = false)
    private String path;

    @ApiModelProperty(value = "地址")
    @TableField("ADDRESS_")
    private String address;

    @ApiModelProperty(value = "所属公司ID")
    @TableField("COMPANY_ID_")
    private String companyId;

    @ApiModelProperty(value = "多个公司ID,用逗号分割")
    @TableField("COMPANY_IDS_")
    private String companyIds;

    @ApiModelProperty(value = "所属公司名称")
    @TableField("COMPANY_NAME_")
    private String companyName;

    @ApiModelProperty(value = "所属路线ID(关联路线表ID)")
    @TableField("ROUTE_ID_")
    private String routeId;

    @ApiModelProperty(value = "所属路线NAME")
    @TableField("ROUTE_NAME_")
    private String routeName;

    @ApiModelProperty(value = "设计深度")
    @TableField("DESIGN_DEEP_")
    private String designDeep;

    @ApiModelProperty(value = "类型")
    @TableField("TYPE_")
    private Integer type;

    @ApiModelProperty(value = "长度")
    @TableField("LENGTH_")
    private Float length;

    @ApiModelProperty(value = "宽度")
    @TableField("WIDTH_")
    private Float width;

    @ApiModelProperty(value = "路面类型")
    @TableField("ROADSURFACE_TYPE_")
    private String roadsurfaceType;

    @ApiModelProperty(value = "技术等级")
    @TableField("TECHNOLOGY_CLASS_")
    private String technologyClass;

    @ApiModelProperty(value = "车道类型")
    @TableField("DRIVEWAY_TYPE_")
    private String drivewayType;

    @ApiModelProperty(value = "车道宽度")
    @TableField("DRIVEWAY_WIDTH_")
    private Float drivewayWidth;

    @ApiModelProperty(value = "起始点")
    @TableField("STARTING_POINT_")
    private String startingPoint;

    @ApiModelProperty(value = "终点")
    @TableField("TERMINAL_POINT_")
    private String terminalPoint;

    @ApiModelProperty(value = "起点桩号")
    @TableField("START_PEG_")
    private Float startPeg;

    @ApiModelProperty(value = "止点桩号")
    @TableField("END_PEG_")
    private Float endPeg;

    @ApiModelProperty(value = "通过日期")
    @TableField("PASS_DAY_")
    private String passDay;

    @ApiModelProperty(value = "类型值")
    @TableField("TYPE_VALUE_")
    private String typeValue;

    @ApiModelProperty(value = "起点桩号KM")
    @TableField("START_PEG_K_")
    private String startPegK;

    @ApiModelProperty(value = "止点桩号KM")
    @TableField("END_PEG_K_")
    private String endPegK;

    @ApiModelProperty(value = "路面类型值")
    @TableField("ROADSURFACE_TYPE_VALUE_")
    private String roadsurfaceTypeValue;

    @ApiModelProperty(value = "技术等级值")
    @TableField("TECHNOLOGY_CLASS_VALUE_")
    private String technologyClassValue;

    @ApiModelProperty(value = "车道类型值")
    @TableField("DRIVEWAY_TYPE_VALUE_")
    private String drivewayTypeValue;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK_")
    private String remark;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION_")
    private Long version;

    @ApiModelProperty(value = "租户ID")
    @TableField("TENANT_ID_")
    private String tenantId;

    @ApiModelProperty(value = "排序")
    @TableField("SN_")
    private Integer sn;

    @ApiModelProperty(value = "备注")
    @TableField("REMARKS_")
    private String remarks;

    @ApiModelProperty(value = "上行开始桩号经度")
    @TableField("UP_START_PEG_LNG_")
    private String upStartPegLng;

    @ApiModelProperty(value = "上行开始桩号纬度")
    @TableField("UP_START_PEG_LAT_")
    private String upStartPegLat;

    @ApiModelProperty(value = "上行结束桩号经度")
    @TableField("UP_END_PEG_LNG_")
    private String upEndPegLng;

    @ApiModelProperty(value = "上行结束桩号纬度")
    @TableField("UP_END_PEG_LAT_")
    private String upEndPegLat;

    @ApiModelProperty(value = "上行途径点经度")
    @TableField("UP_WAY_LNG_")
    private String upWayLng;

    @ApiModelProperty(value = "上行途径点维度")
    @TableField("UP_WAY_LAT_")
    private String upWayLat;

    @ApiModelProperty(value = "里程（千米）")
    @TableField("MILEAGE_")
    private BigDecimal mileage;

    @ApiModelProperty(value = "下行开始桩号经度")
    @TableField("DW_START_PEG_LNG_")
    private String dwStartPegLng;

    @ApiModelProperty(value = "下行开始桩号纬度")
    @TableField("DW_START_PEG_LAT_")
    private String dwStartPegLat;

    @ApiModelProperty(value = "下行结束桩号经度")
    @TableField("DW_END_PEG_LNG_")
    private String dwEndPegLng;

    @ApiModelProperty(value = "下行结束桩号纬度")
    @TableField("DW_END_PEG_LAT_")
    private String dwEndPegLat;

    @ApiModelProperty(value = "下行途径点经度")
    @TableField("DW_WAY_LNG_")
    private String dwWayLng;

    @ApiModelProperty(value = "下行途径点维度")
    @TableField("DW_WAY_LAT_")
    private String dwWayLat;

    @ApiModelProperty(value = "巡查任务图片离线上传 (0.不可以 1.可以)")
    @TableField("XC_UPLOAD_IMAGE_")
    private Integer xcUploadImage;

    @ApiModelProperty(value = "巡查任务离线打卡(0.不可以 1.可以)")
    @TableField("XC_TEMP_CLOCK_")
    private Integer xcTempClock;

    @ApiModelProperty(value = "外勤任务图片离线上传(0.不可以 1.可以)")
    @TableField("SJ_UPLOAD_IMAGE_")
    private Integer sjUploadImage;

    @ApiModelProperty(value = "救援任务图片离线上传(0.不可以 1.可以)")
    @TableField("JY_UPLOAD_IMAGE_")
    private Integer jyUploadImage;

    @ApiModelProperty(value = "组织id")
    @TableField(exist = false)
    private String orgId;

}
