package com.ruoyi.chargingPile.api.model;
|
|
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.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.ruoyi.common.core.web.domain.BasePojo;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/8/7 19:31
|
*/
|
@Data
|
@TableName("t_site")
|
public class Site extends BasePojo {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@ApiModelProperty(value = "站点id")
|
private Integer id;
|
/**
|
* 合作商id
|
*/
|
@TableField("partner_id")
|
@ApiModelProperty(value = "合作商id", required = true)
|
private Integer partnerId;
|
/**
|
* 站点编号
|
*/
|
@TableField("code")
|
@ApiModelProperty(value = "站点编号", required = true)
|
private String code;
|
/**
|
* 站点名称
|
*/
|
@TableField("name")
|
@ApiModelProperty(value = "站点名称", required = true)
|
private String name;
|
/**
|
* 站点类型(0=其他,1=公共,2=个人,3=公交(专业),4=环卫(专用),5=物流(专用),6=出租车(专用))
|
*/
|
@TableField("site_type")
|
@ApiModelProperty(value = "站点类型(0=其他,1=公共,2=个人,3=公交(专业),4=环卫(专用),5=物流(专用),6=出租车(专用),7=分时租赁(专用),8=小区共享(专用),9=单位(专用),10=私人共享桩(专用))", required = true)
|
private Integer siteType;
|
/**
|
* 经营类型(1=直营,2=非直营)
|
*/
|
@TableField("business_category")
|
@ApiModelProperty(value = "经营类型(1=直营,2=非直营)", required = true)
|
private Integer businessCategory;
|
/**
|
* 站点状态(1=正常使用,2=维修中,3=关闭下线)
|
*/
|
@TableField("status")
|
@ApiModelProperty(value = "站点状态(1=正常使用,2=维修中,3=关闭下线)", required = true)
|
private Integer status;
|
/**
|
* 建设场所(0=其他,1=居民区,2=公共机构,3=企事业单位,4=写字楼,5=工业园区,6=交通枢纽,7=大型文体设施,8=城市绿地,9=大型建筑配建停车场,10=路边停车位,11=城际高速服务区)
|
*/
|
@TableField("construction_site")
|
@ApiModelProperty(value = "建设场所(0=其他,1=居民区,2=公共机构,3=企事业单位,4=写字楼,5=工业园区,6=交通枢纽,7=大型文体设施,8=城市绿地,9=大型建筑配建停车场,10=路边停车位,11=城际高速服务区),12=风景区,13=公交场站,14=加油加气站,15=出租车", required = true)
|
private Integer constructionSite;
|
/**
|
* 站点环境图
|
*/
|
@TableField("img_url")
|
@ApiModelProperty(value = "站点环境图", required = true)
|
private String imgUrl;
|
/**
|
* 省名称
|
*/
|
@TableField("province")
|
@ApiModelProperty(value = "省名称", required = true)
|
private String province;
|
/**
|
* 省区划代码
|
*/
|
@TableField("province_code")
|
@ApiModelProperty(value = "省区划代码", required = true)
|
private String provinceCode;
|
/**
|
* 市名称
|
*/
|
@TableField("city")
|
@ApiModelProperty(value = "市名称", required = true)
|
private String city;
|
/**
|
* 市区划代码
|
*/
|
@TableField("city_code")
|
@ApiModelProperty(value = "市区划代码", required = true)
|
private String cityCode;
|
/**
|
* 区县名称
|
*/
|
@TableField("districts")
|
@ApiModelProperty(value = "区县名称", required = true)
|
private String districts;
|
/**
|
* 区县区划代码
|
*/
|
@TableField("districts_code")
|
@ApiModelProperty(value = "区县区划代码", required = true)
|
private String districtsCode;
|
/**
|
* 经度
|
*/
|
@TableField("lon")
|
@ApiModelProperty(value = "经度", required = true)
|
private String lon;
|
/**
|
* 纬度
|
*/
|
@TableField("lat")
|
@ApiModelProperty(value = "纬度", required = true)
|
private String lat;
|
/**
|
* 详细地址
|
*/
|
@TableField("address")
|
@ApiModelProperty(value = "详细地址", required = true)
|
private String address;
|
/**
|
* 国家代码
|
*/
|
@TableField("country_code")
|
@ApiModelProperty(value = "国家代码")
|
private String countryCode;
|
/**
|
* 站点电话
|
*/
|
@TableField("phone")
|
@ApiModelProperty(value = "站点电话", required = true)
|
private String phone;
|
/**
|
* 服务电话
|
*/
|
@TableField("service_phone")
|
@ApiModelProperty(value = "服务电话", required = true)
|
private String servicePhone;
|
/**
|
* 站点引导
|
*/
|
@TableField("guide")
|
@ApiModelProperty(value = "站点引导")
|
private String guide;
|
/**
|
* 开始服务时间
|
*/
|
@TableField("start_service_time")
|
@ApiModelProperty(value = "2.0修改字段-运营时间,{\"1\":[\"09:00-17:30\",\"19:30-22:00\"],\"2\":[\"09:00-17:30\",\"19:30-22:00\"],\"3\":[\"09:00-17:30,\"19:30-2:00\"],\"4\":[\"09:00-17:30\"],5\":[\"09:00-17:30\"],\"6\":[\"09:00-17:30\"],\"7\":[\"09:00-17:30\"]}")
|
private String startServiceTime;
|
/**
|
* 结束服务时间
|
*/
|
@TableField("end_service_time")
|
@ApiModelProperty(value = "结束服务时间")
|
private String endServiceTime;
|
/**
|
* 站内提供服务
|
*/
|
@TableField("service_description")
|
@ApiModelProperty(value = "站内提供服务")
|
private String serviceDescription;
|
/**
|
* 车型描述
|
*/
|
@TableField("vehicle_description")
|
@ApiModelProperty(value = "车型描述")
|
private String vehicleDescription;
|
/**
|
* 车位数
|
*/
|
@TableField("parking_space")
|
@ApiModelProperty(value = "车位数", required = true)
|
private Integer parkingSpace;
|
/**
|
* 充电费率描述
|
*/
|
@TableField("rate_description")
|
@ApiModelProperty(value = "充电费率描述")
|
private String rateDescription;
|
/**
|
* 超时占位费说明
|
*/
|
@TableField("space_charge_explain")
|
@ApiModelProperty(value = "超时占位费说明")
|
private String spaceChargeExplain;
|
/**
|
* 计费策略id
|
*/
|
@TableField("accounting_strategy_id")
|
@ApiModelProperty(value = "计费策略id")
|
private Integer accountingStrategyId;
|
/**
|
* 建站时间
|
*/
|
@TableField("establishment_time")
|
@ApiModelProperty(value = "建站时间", notes = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime establishmentTime;
|
/**
|
* 排序
|
*/
|
@TableField("sort")
|
@ApiModelProperty(value = "排序", required = true)
|
private Integer sort;
|
/**
|
* 备注
|
*/
|
@TableField("remark")
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**
|
* 评分
|
*/
|
@TableField("mark")
|
private Integer mark;
|
/**
|
* 充换电站所在县以下行政区划代码
|
*/
|
@TableField("area_code_countryside")
|
@ApiModelProperty(value = "2.0修改字段-充换电站所在县以下行政区划代码")
|
private String areaCodeCountryside;
|
/**
|
* 站点分类
|
*/
|
@TableField("station_classification")
|
@ApiModelProperty(value = "2.0修改字段-站点分类1=充电站 2=换电站 3=充换电一体站")
|
private Integer stationClassification;
|
/**
|
* 通用类型
|
*/
|
@TableField("general_application_type")
|
@ApiModelProperty(value = "2.0修改字段-1:通用类型(可为3种及3种以上的换电车型进行换电的换电站)2:非通用 注:站点分类为2或3时,此字段为必填项;站点分类为1时,此字段为非必填项")
|
private Integer generalApplicationType;
|
/**
|
* 服务车型描述
|
*/
|
@TableField("swap_match_cars")
|
@ApiModelProperty(value = "2.0修改字段-描述换电站可服务的车系车型(厂牌型号)。注:站点分类为2或3时,此字段为必填项;站点分类为1时,此字段为非必填项逗号拼接")
|
private String swapMatchCars;
|
/**
|
* 7*24小时营业
|
*/
|
@TableField("round_the_clock")
|
@ApiModelProperty(value = "2.0修改字段-7*24小时营业,0:否 1:是")
|
private Integer roundTheClock;
|
/**
|
* 停车费类型
|
*/
|
@TableField("park_type")
|
@ApiModelProperty(value = "2.0修改字段-停车费类型,0=免费 1=不免费 2=限时免费停车 3=充电限时减免 4=参考场地实际收费标准")
|
private Integer parkType;
|
/**
|
* 停车费描述 示例
|
* {"rules": {
|
* "00:00:00-
|
* 00:30:00":"0.4901",
|
* "00:30:00-
|
* 06:00:00":"0.3602",
|
* "06:00:00-
|
* 08:30:00":"0.0000",
|
* ......,
|
* "23:30:00-
|
* 24:00:00":"0.5603"
|
* },
|
* "freeDuration": 120}
|
*/
|
@TableField("park_fee")
|
@ApiModelProperty(value = "2.0修改字段-停车费描述,示例:\"00:00:00-00:30:00\":\"0.4901\",\"00:00:30-01:00:00\":\"0.1234\"")
|
private String parkFee;
|
/**
|
* 停车费免费时长 单位分钟
|
*/
|
@TableField("park_fee_free")
|
@ApiModelProperty(value = "2.0修改字段-停车费免费时长 单位分钟")
|
private Integer parkFeeFree;
|
/**
|
* 报装类型
|
*/
|
@TableField("business_expand_type")
|
@ApiModelProperty(value = "2.0修改字段-报装类型,是否独立报装:0:否1:是")
|
private Integer businessExpandType;
|
|
/**
|
* 电费类型
|
*/
|
@TableField("electricity_type")
|
@ApiModelProperty(value = "2.0修改字段-电费类型,1:商业用电2:普通工业用电3:大工业用电0:其他用电")
|
private Integer electricityType;
|
/**
|
* 报装电源容量
|
*/
|
@TableField("capacity")
|
@ApiModelProperty(value = "2.0修改字段-报装电源容量:若是独立报装站点,填写“报装电源容量”")
|
private BigDecimal capacity;
|
/**
|
* 站点额定总
|
* 功率
|
*/
|
@TableField("rated_power")
|
@ApiModelProperty(value = "2.0修改字段-站点额定总功率")
|
private BigDecimal ratedPower;
|
/**
|
*峰谷分时
|
*/
|
@TableField("period_fee")
|
@ApiModelProperty(value = "2.0修改字段-峰谷分时 0否1是")
|
private Integer periodFee;
|
/**
|
*正式投运时间
|
*/
|
@TableField("official_runTime")
|
@ApiModelProperty(value = "2.0修改字段-正式投运时间 格式yyyy-MM-dd")
|
private String officialRunTime;
|
/**
|
*充换电站方位
|
*/
|
@TableField("station_orientation")
|
@ApiModelProperty(value = "2.0修改字段-充换电站方位 1:地面-停车场2:地面-路侧3:地下停车4:立体式停车楼")
|
private Integer stationOrientation;
|
/**
|
*充换电站建设面积
|
*/
|
@TableField("station_area")
|
@ApiModelProperty(value = "2.0修改字段-充换电站建设面积 充换电站建设面积")
|
private BigDecimal stationArea;
|
/**
|
*充换电站人
|
* 工值守
|
*/
|
@TableField("have_person")
|
@ApiModelProperty(value = "2.0修改字段-充换电站人工值守 0:无1:有")
|
private Integer havePerson;
|
/**
|
视频监控配
|
套情况
|
*/
|
@TableField("video_monitor")
|
@ApiModelProperty(value = "2.0修改字段-视频监控配套情况 0:无1:有")
|
private Integer videoMonitor;
|
/**
|
周边配套设施
|
*/
|
@TableField("supporting_facilities")
|
@ApiModelProperty(value = "2.0修改字段-周边配套设施 1:卫生间2:便利店3:餐厅4:休息室5:雨棚,多个逗号拼接")
|
private String supportingFacilities;
|
/**
|
是否有小票机
|
*/
|
@TableField("printer_flag")
|
@ApiModelProperty(value = "2.0修改字段-是否有小票机 0:无1:有")
|
private Integer printerFlag;
|
/**
|
是否有道闸
|
*/
|
@TableField("barrier_flag")
|
@ApiModelProperty(value = "2.0修改字段-是否有道闸0:无1:有")
|
private Integer barrierFlag;
|
/**
|
是否有地锁
|
*/
|
@TableField("parking_lock_flag")
|
@ApiModelProperty(value = "2.0修改字段-是否有地锁0:1:有")
|
private Integer parkingLockFlag;
|
// todo 换电设备信息
|
//SwapEquipmentInfos
|
//换电设备信息对象数组,参照
|
//公共对象:换电设备信息
|
//站点分
|
//类为2
|
//或3时
|
//必填
|
//SupSwa
|
//pEquip
|
//mentIn
|
//fo数组
|
/**
|
* 充电电费描
|
* 述
|
*/
|
@TableField("electricity_fee")
|
@ApiModelProperty(value = "2.0修改字段-充电电费描述,示例:\"00:00:00-00:30:00\":\"0.4901\",\"00:00:30-01:00:00\":\"0.1234\"")
|
private String electricityFee;
|
/**
|
* 设备所属方名称
|
*/
|
@TableField("equipment_owner_name")
|
@ApiModelProperty(value = "2.0修改字段-设备运营商全称")
|
private String equipmentOwnerName;
|
/**
|
* 供电类型
|
*/
|
@TableField("supply_type")
|
@ApiModelProperty(value = "2.0修改字段-供电类型,1:直供电2:转供电")
|
private Integer supplyType;
|
/**
|
* 供电局用户编号
|
*/
|
@TableField("resident_no")
|
@ApiModelProperty(value = "2.0修改字段-供电局用户编号,直供电必填")
|
private String residentNo;
|
/**
|
* 表号
|
*/
|
@TableField("watt_hour_meter_no")
|
@ApiModelProperty(value = "2.0修改字段-表号")
|
private String wattHourMeterNo;
|
/**
|
* 外电功率
|
*/
|
@TableField("forward_power")
|
@ApiModelProperty(value = "2.0修改字段-外电功率")
|
private BigDecimal forwardPower;
|
/**
|
* 服务费描述
|
*/
|
@TableField("service_fee")
|
@ApiModelProperty(value = "2.0修改字段-服务费描述,示例:\"00:00:00-00:30:00\":\"0.4901\",\"00:00:30-01:00:00\":\"0.1234\"")
|
private String serviceFee;
|
/**
|
* 充电站全省唯一备案号
|
*/
|
@TableField("record_unique_no")
|
@ApiModelProperty(value = "2.0修改字段-充电站全省唯一备案号")
|
private String recordUniqueNo;
|
|
/**
|
* 支付方式
|
*/
|
@TableField("payment")
|
@ApiModelProperty(value = "2.0修改字段-支付方式 1刷卡 2线上 3现金")
|
private Integer payment;
|
/**
|
* 是否支持预约
|
*/
|
@TableField("supportOrder")
|
@ApiModelProperty(value = "2.0修改字段-是否支持预约 0不支持1支持")
|
private Integer supportOrder;
|
// /**
|
// * 换电设备信息
|
// */
|
// @TableField("swap_equipment_infos")
|
// @ApiModelProperty(value = "2.0修改字段-换电设备信息 站点分类为2或3时必填 示例:" +
|
// "[{" +
|
// "\"SwapMechanicalEquipmentID\": \"A564778B\"," +
|
// "\"MechanicalEquipmentPower\": 128.0000" +
|
// "}," +
|
// "{" +
|
// "\"SwapMechanicalEquipmentID\": \"A564778C\"," +
|
// "\"MechanicalEquipmentPower\": 150.0000" +
|
// "}" +
|
// "]")
|
// private String swapEquipmentInfos;
|
|
}
|