package com.artfess.rescue.base.model;

import com.artfess.base.entity.BaseModel;
import com.artfess.base.entity.BizDelModel;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 边坡信息表
 *
 * @company 阿特菲斯信息技术有限公司
 * @author 系统管理员
 * @since 2024-07-26
 */
@ApiModel(value="BizBaseSideSlope对象", description="边坡信息表")
@Data
@TableName("biz_base_side_slope")
public class BizBaseSideSlope extends BaseModel<BizBaseSideSlope> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ID_", type = IdType.ASSIGN_ID)
    private String id;

    @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 = "排序")
    @TableField("SN_")
    private Integer sn;

    @ApiModelProperty(value = "边坡类型 1填方边坡 2挖方边坡")
    @TableField("side_type_")
    private Integer sideType;

    @ApiModelProperty(value = "编号")
    @TableField("NUMBER_")
    private String number;

    @ApiModelProperty(value = "所在路段id(关联路段表ID)")
    @TableField("ROAD_SEGMENT_ID_")
    private String roadSegmentId;

    @ApiModelProperty(value = "所在路段NAME")
    @TableField("ROAD_SEGMENT_NAME_")
    private String roadSegmentName;

    @ApiModelProperty(value = "经度")
    @TableField("LNG")
    private Double lng;

    @ApiModelProperty(value = "纬度")
    @TableField("LAT")
    private Double lat;

    @ApiModelProperty(value = "管养单位ID")
    @TableField("OFFICE_ID_")
    private String officeId;

    @ApiModelProperty(value = "管养单位名称")
    @TableField("OFFICE_NAME_")
    private String officeName;

    @ApiModelProperty(value = "所属区县")
    @TableField("DISTRICT_")
    private String district;

    @ApiModelProperty(value = "开挖级数")
    @TableField("RXCAVATE_LEVEL_")
    private String rxcavateLevel;

    @ApiModelProperty(value = "边坡坡率")
    @TableField("SLOPE_RATE_")
    private String slopeRate;

    @ApiModelProperty(value = "变更情况")
    @TableField("MODIFY_SITUATION_")
    private String modifySituation;

    @ApiModelProperty(value = "保护类型")
    @TableField("PROTECT_TYPE_")
    private String protectType;

    @ApiModelProperty(value = "保护材料")
    @TableField("PROTECT_MATERIAL_")
    private String protectMaterial;

    @ApiModelProperty(value = "高度")
    @TableField("HEIGHT_")
    private Float height;

    @ApiModelProperty(value = "长度")
    @TableField("LENGTH_")
    private Float length;

    @ApiModelProperty(value = "保护尺寸")
    @TableField("PROTECTIVE_DIMENSION_")
    private String protectiveDimension;

    @ApiModelProperty(value = "施工情况")
    @TableField("CONSTRUCTION_SITUATION_")
    private String constructionSituation;

    @ApiModelProperty(value = "地质")
    @TableField("GEOLOGY_")
    private String geology;

    @ApiModelProperty(value = "是否高边坡(1 高边坡，0 其他边坡)")
    @TableField("IS_HIGH_RISK_")
    private String isHighRisk;

    @ApiModelProperty(value = "是否斜坡(1 是0 否)")
    @TableField("IS_RAMP_")
    private String isRamp;

    @ApiModelProperty(value = "X")
    @TableField("X_")
    private String x;

    @ApiModelProperty(value = "Y")
    @TableField("Y_")
    private String y;

    @ApiModelProperty(value = "起点桩号")
    @TableField("START_PEG_")
    private Float startPeg;

    @ApiModelProperty(value = "方向")
    @TableField("DIRECTION_")
    private String direction;

    @ApiModelProperty(value = "起点桩号KM")
    @TableField("START_PEG_K_")
    private String startPegK;

    @ApiModelProperty(value = "止点桩号")
    @TableField("END_PEG_")
    private String endPeg;

    @ApiModelProperty(value = "止点桩号KM")
    @TableField("END_PEG_K_")
    private String endPegK;

    @ApiModelProperty(value = "建成日期")
    @TableField("finish_day_")
    private String finishDay;

    @ApiModelProperty(value = "方向值")
    @TableField("DIRECTION_VALUE_")
    private String directionValue;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION_")
    private Long version;

    @ApiModelProperty(value = "租户ID")
    @TableField("TENANT_ID_")
    private String tenantId;

    @ApiModelProperty(value = "是否已删，1已删除，0未删除")
    @TableField(value = "IS_DELE_")
    @TableLogic
    private String isDele="0";

    @ApiModelProperty(value = "更新人姓名")
    @TableField(value="UPDATE_NAME_", select=false)
    private String updateName;

    @ApiModelProperty(value = "最后更新时间戳")
    @TableField(value="LAST_TIME_",select=false)
    private Long lastTime;

}
