Commit 55bea83e by 崔彦峰

svn to git

0 parents
Showing 180 changed files with 4944 additions and 0 deletions
<factorypath>
<factorypathentry kind="VARJAR" id="M2_REPO/cn/com/glsx/framework/framework-core/2.0.0-SNAPSHOT/framework-core-2.0.0-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/commons-io/commons-io/2.4/commons-io-2.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/persistence/javax.persistence-api/2.2/javax.persistence-api-2.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mapstruct/mapstruct-jdk8/1.2.0.Final/mapstruct-jdk8-1.2.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/pagehelper/pagehelper/5.2.0/pagehelper-5.2.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/jsqlparser/jsqlparser/3.2/jsqlparser-3.2.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/projectlombok/lombok/1.18.6/lombok-1.18.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/oreframework/boot/ore-boot-starter-swagger/2.2.0-SNAPSHOT/ore-boot-starter-swagger-2.2.0-SNAPSHOT.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/springfox/springfox-swagger2/2.8.0/springfox-swagger2-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/swagger/swagger-annotations/1.5.14/swagger-annotations-1.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/swagger/swagger-models/1.5.14/swagger-models-1.5.14.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/springfox/springfox-spi/2.8.0/springfox-spi-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/springfox/springfox-core/2.8.0/springfox-core-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/net/bytebuddy/byte-buddy/1.9.12/byte-buddy-1.9.12.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/springfox/springfox-schema/2.8.0/springfox-schema-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/springfox/springfox-swagger-common/2.8.0/springfox-swagger-common-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/springfox/springfox-spring-web/2.8.0/springfox-spring-web-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/reflections/reflections/0.9.11/reflections-0.9.11.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/javassist/javassist/3.23.2-GA/javassist-3.23.2-GA.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/18.0/guava-18.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/fasterxml/classmate/1.4.0/classmate-1.4.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/plugin/spring-plugin-core/1.2.0.RELEASE/spring-plugin-core-1.2.0.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-beans/5.1.3.RELEASE/spring-beans-5.1.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-core/5.1.3.RELEASE/spring-core-5.1.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-jcl/5.1.3.RELEASE/spring-jcl-5.1.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-context/5.1.3.RELEASE/spring-context-5.1.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-expression/5.1.3.RELEASE/spring-expression-5.1.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/spring-aop/5.1.3.RELEASE/spring-aop-5.1.3.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/plugin/spring-plugin-metadata/1.2.0.RELEASE/spring-plugin-metadata-1.2.0.RELEASE.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/mapstruct/mapstruct/1.2.0.Final/mapstruct-1.2.0.Final.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/io/springfox/springfox-swagger-ui/2.8.0/springfox-swagger-ui-2.8.0.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="PLUGIN" id="net.harawata.mybatipse" enabled="false" runInBatchMode="false"/>
</factorypath>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cn.com.glsx.framework</groupId>
<artifactId>framework-rpc-api</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-gop-api</artifactId>
<version>4.56.0-SNAPSHOT</version>
<name>rpc-dj-gop-api</name>
<properties>
<deploy.scanPackage>cn.com.glsx.dj.gop.remote</deploy.scanPackage>
</properties>
<build>
<plugins>
<plugin>
<groupId>cn.com.glsx.framework</groupId>
<artifactId>rpc-api-deploy-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-gop-api</artifactId>
<version>4.56.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file \ No newline at end of file
package cn.com.glsx.dj.gop.dto;
import java.io.Serializable;
public class AddressDTO implements Serializable{
/**
*
*/
private static final long serialVersionUID = 5144990475645563134L;
/** 纬度**/
private String lat;
/** 经度**/
private String lng;
/** 经纬度坐标地图系**/
private Byte mapType;
private Integer provinceId;
private String provinceName;
private Integer cityId;
private String cityName;
private Integer areaId;
private String areaName;
private String address;
public String getLat() {
return lat;
}
public void setLat(String lat) {
this.lat = lat;
}
public String getLng() {
return lng;
}
public void setLng(String lng) {
this.lng = lng;
}
public Byte getMapType() {
return mapType;
}
public void setMapType(Byte mapType) {
this.mapType = mapType;
}
public Integer getProvinceId() {
return provinceId;
}
public void setProvinceId(Integer provinceId) {
this.provinceId = provinceId;
}
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
this.provinceName = provinceName;
}
public Integer getCityId() {
return cityId;
}
public void setCityId(Integer cityId) {
this.cityId = cityId;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
public Integer getAreaId() {
return areaId;
}
public void setAreaId(Integer areaId) {
this.areaId = areaId;
}
public String getAreaName() {
return areaName;
}
public void setAreaName(String areaName) {
this.areaName = areaName;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
@Override
public String toString() {
return "AddressDTO [" + (lat != null ? "lat=" + lat + ", " : "") + (lng != null ? "lng=" + lng + ", " : "")
+ (mapType != null ? "mapType=" + mapType + ", " : "")
+ (provinceId != null ? "provinceId=" + provinceId + ", " : "")
+ (provinceName != null ? "provinceName=" + provinceName + ", " : "")
+ (cityId != null ? "cityId=" + cityId + ", " : "")
+ (cityName != null ? "cityName=" + cityName + ", " : "")
+ (areaId != null ? "areaId=" + areaId + ", " : "")
+ (areaName != null ? "areaName=" + areaName + ", " : "")
+ (address != null ? "address=" + address : "") + "]";
}
}
package cn.com.glsx.dj.gop.dto;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
@Data
@ToString
public class CarTypePageDTO implements Serializable{/**
*
*/
private static final long serialVersionUID = 6185821686280537877L;
@ApiModelProperty(notes = "品牌ID")
private Integer carBrandId;
@ApiModelProperty(notes = "子品牌ID")
private Integer childCarBrandId;
@ApiModelProperty(notes = "车系ID")
private Integer seriesId;
@ApiModelProperty(notes = "车型名称")
private String carTypeName;
}
package cn.com.glsx.dj.gop.dto;
import java.io.Serializable;
import java.util.List;
public class CarTypeQueryDTO implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1291398685882136900L;
/** 车系ID**/
private Integer carSeriesId;
/** 查询特定的年款 如:2020款 **/
private List<String> yearList;
public Integer getCarSeriesId() {
return carSeriesId;
}
public void setCarSeriesId(Integer carSeriesId) {
this.carSeriesId = carSeriesId;
}
public List<String> getYearList() {
return yearList;
}
public void setYearList(List<String> yearList) {
this.yearList = yearList;
}
@Override
public String toString() {
return "CarTypeQueryDTO [" + (carSeriesId != null ? "carSeriesId=" + carSeriesId + ", " : "")
+ (yearList != null ? "yearList=" + yearList : "") + "]";
}
}
package cn.com.glsx.dj.gop.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 账户类型
* @Title: AccountTypeEnum.java
* @Description:
* @author zhoulm
* @date 2021年9月26日 下午2:55:52
* @version V1.0
* @Company: glsx.com.cn
* @Copyright Copyright (c) 2021
*/
@Getter
@AllArgsConstructor
public enum AccountTypeEnum {
/** 商户账号类型-批发/零售商**/
WHOLESALE_OR_RETAILER(1,"批发/零售商"),
/** 商户账号类型-4S店**/
SHOP_4S(2,"4S店"),
/** 商户账号类型-综合汽贸店**/
TRADE_SHOP(3,"综合汽贸店"),
/** 商户账号类型-综合后服务门店**/
AFTER_SERVICE_SHOP(4,"综合后服务门店"),
/** 商户账号类型-厂家**/
FACTORY(5,"厂家"),
/** 商户账号类型-园区店**/
YQ_SHOP(6,"园区店"),
/** 商户账号类型-服务商**/
SERVICE_SHOP(7,"服务商"),
/** 商户账号类型-虚拟园区店**/
VIRTUAL_YQ_SHOP(8,"虚拟园区店"),
/** 供应商 **/
SUPPLIER(9,"供应商")
;
private final int value;
private final String displayName;
}
package cn.com.glsx.dj.gop.enums;
/**
*
* @Title: MapTypeEnum.java
* @Description:
* @author zhoulm
* @date 2019年6月6日 下午3:10:44
* @version V1.0
* @Company: glsx.com.cn
* @Copyright Copyright (c) 2019
*/
public enum MapTypeEnum {
/** 高德地图**/
AMAP((byte)1,"高德地图"),
/** GPS**/
GPS((byte)2,"GPS"),
/** 百度地图**/
BAIDU((byte)3,"百度地图"),
/** 图吧地图**/
MAPBAR((byte)4,"图吧地图"),
;
private byte value;
private String text;
MapTypeEnum(byte value,String text){
this.value = value;
this.text = text;
}
public byte getValue() {
return value;
}
public String getText() {
return text;
}
public static MapTypeEnum get(Byte value){
if(null == value){
return null;
}
for(MapTypeEnum e:MapTypeEnum.values()){
if(e.getValue() == value){
return e;
}
}
return null;
}
}
package cn.com.glsx.dj.gop.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 商户层级
* @Title: MerchantAccountLevelEnum.java
* @Description:
* @author zhoulm
* @date 2021年9月26日 下午2:55:52
* @version V1.0
* @Company: glsx.com.cn
* @Copyright Copyright (c) 2021
*/
@Getter
@AllArgsConstructor
public enum MerchantAccountLevelEnum {
FACTORY((byte)1, "工厂"),
PROVINCE_AGENCY((byte)2,"省代"),
CITY_AGENCY((byte)3,"市代"),
MERCHANT((byte)4,"门店")
;
private final byte value;
private final String displayName;
}
package cn.com.glsx.dj.gop.model;
import java.io.Serializable;
public class BsRecord implements Serializable {
private static final long serialVersionUID = 1L;
private String gpsTime;
private String storeTime;
public String mcc;
public String mnc;
public BsRecord() {
}
public String getGpsTime() {
return this.gpsTime;
}
public void setGpsTime(String gpsTime) {
this.gpsTime = gpsTime;
}
public String getStoreTime() {
return this.storeTime;
}
public void setStoreTime(String storeTime) {
this.storeTime = storeTime;
}
public String getMcc() {
return this.mcc;
}
public void setMcc(String mcc) {
this.mcc = mcc;
}
public String getMnc() {
return this.mnc;
}
public void setMnc(String mnc) {
this.mnc = mnc;
}
public String toString() {
return "BsRecord{gpsTime='" + this.gpsTime + '\'' + ", storeTime='" + this.storeTime + '\'' + ", mcc=" + this.mcc + ", mnc=" + this.mnc + '}';
}
}
package cn.com.glsx.dj.gop.model;
import java.io.Serializable;
/**
* @Title: DemoModel.java
* @Description:
* @author ${userName}
* @version V1.0
* @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017
*/
@SuppressWarnings("serial")
public class DemoModel implements Serializable{
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package cn.com.glsx.dj.gop.model;
import java.io.Serializable;
public class GpsRecord implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 设备号
*/
private String sn;
private String gpsTime;
private String lng;
private String lat;
private String alt;
private String speed;
private String dir;
private String gLng;
private String gLat;
private String bLng;
private String bLat;
private String storeTime;
public GpsRecord() {
}
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getGpsTime() {
return this.gpsTime;
}
public void setGpsTime(String gpsTime) {
this.gpsTime = gpsTime;
}
public String getLng() {
return this.lng;
}
public void setLng(String lng) {
this.lng = lng;
}
public String getLat() {
return this.lat;
}
public void setLat(String lat) {
this.lat = lat;
}
public String getAlt() {
return this.alt;
}
public void setAlt(String alt) {
this.alt = alt;
}
public String getSpeed() {
return this.speed;
}
public void setSpeed(String speed) {
this.speed = speed;
}
public String getDir() {
return this.dir;
}
public void setDir(String dir) {
this.dir = dir;
}
public String getgLng() {
return this.gLng;
}
public void setgLng(String gLng) {
this.gLng = gLng;
}
public String getgLat() {
return this.gLat;
}
public void setgLat(String gLat) {
this.gLat = gLat;
}
public String getbLng() {
return this.bLng;
}
public void setbLng(String bLng) {
this.bLng = bLng;
}
public String getbLat() {
return this.bLat;
}
public void setbLat(String bLat) {
this.bLat = bLat;
}
public String getStoreTime() {
return this.storeTime;
}
public void setStoreTime(String storeTime) {
this.storeTime = storeTime;
}
@Override
public String toString() {
return "GpsRecord{" +
"sn='" + sn + '\'' +
", gpsTime='" + gpsTime + '\'' +
", lng='" + lng + '\'' +
", lat='" + lat + '\'' +
", alt='" + alt + '\'' +
", speed='" + speed + '\'' +
", dir='" + dir + '\'' +
", gLng='" + gLng + '\'' +
", gLat='" + gLat + '\'' +
", bLng='" + bLng + '\'' +
", bLat='" + bLat + '\'' +
", storeTime='" + storeTime + '\'' +
'}';
}
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.account.AccountLoginRequest;
import cn.com.glsx.dj.gop.request.account.AccountLoginResponse;
import cn.com.glsx.dj.gop.request.account.AccountRegistRequest;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-账号接口",owner="zhoulm")
public interface GopAccountRemote {
@ApiMethod("账号登录")
@ApiParam(name="AccountLoginRequest",notes="登录信息对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回登录成功信息")
RpcResponse<AccountLoginResponse> login(AccountLoginRequest request);
@ApiMethod("账号注册")
@ApiParam(name="AccountRegistRequest",notes="账号注册对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回账号ID")
RpcResponse<Integer> regist(AccountRegistRequest request);
}
package cn.com.glsx.dj.gop.remote;
import java.util.List;
import cn.com.glsx.dj.gop.dto.AddressDTO;
import cn.com.glsx.dj.gop.response.common.CityResponse;
import cn.com.glsx.dj.gop.response.common.ProvinceResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-地址接口",owner="zhoulm")
public interface GopAddressRemote {
@ApiMethod("获取全部省份")
@ApiResponse("返回全部省份信息")
RpcResponse<List<ProvinceResponse>> getAllProvince();
@ApiMethod("根据省份ID获取城市列表")
@ApiParam(name="provinceId",notes="省份ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true)
@ApiResponse("返回全部省份信息")
RpcResponse<List<CityResponse>> getCityListByProvinceId(Integer provinceId);
@ApiMethod("根据地图经纬度获取地址信息")
@ApiParam(name="address",notes="经纬度信息",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回详细地址信息")
RpcResponse<AddressDTO> convertToAddress(AddressDTO address);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.response.boutiquedelivery.SaleInfoResponse;
import cn.com.glsx.framework.core.annotation.*;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import java.util.List;
@ApiService(value="平台GOP接口-精品交付接口",owner="zhoulm")
public interface GopBoutiqueDeliveryRemote {
@ApiMethod("获取当前商户的管理岗信息")
@ApiParam(name="merchantId",notes="商户号",dataType= ApiParam.DataTypeEnum.INTEGER,required=true)
@ApiResponse("返回管理岗信息")
RpcResponse<SaleInfoResponse> getManager(Integer merchantId);
@ApiMethod("获取当前商户的管理岗和业务员信息")
@ApiParam(name="merchantId",notes="商户号",dataType= ApiParam.DataTypeEnum.INTEGER,required=true)
@ApiResponse("返回管理岗和业务员信息")
RpcResponse<List<SaleInfoResponse>> getSalemanList(Integer merchantId);
@ApiMethod("生成精细化平台小程序码")
@ApiParams({@ApiParam(name="scene",notes="小程序码场景值",dataType= ApiParam.DataTypeEnum.STRING,required=true),
@ApiParam(name="path",notes="小程序路径",dataType= ApiParam.DataTypeEnum.STRING,required=true)})
@ApiResponse("返回小程序码")
RpcResponse<String> createQrCode(String scene,String path);
@ApiMethod("发送精细化平台微信消息")
@ApiParams({@ApiParam(name="salemanPhone",notes="业务员手机号,多个以,分隔",dataType= ApiParam.DataTypeEnum.STRING,required=true),
@ApiParam(name="templateMessage",notes="模板内容",dataType= ApiParam.DataTypeEnum.STRING,required=true)})
@ApiResponse("返回是否发送成功")
RpcResponse<Boolean> sendWechatTemplateMsg(String salemanPhone,String templateMessage);
}
package cn.com.glsx.dj.gop.remote;
import java.util.List;
import cn.com.glsx.dj.gop.dto.CarTypePageDTO;
import cn.com.glsx.dj.gop.dto.CarTypeQueryDTO;
import cn.com.glsx.dj.gop.response.common.CarInfoResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-车信息接口",owner="zhoulm")
public interface GopCarInfoRemote {
@ApiMethod("获取全部车品牌信息(不包含下级)")
@ApiParam(name="reutrnChild",notes="品牌信息是否返回子类车系数据",dataType= ApiParam.DataTypeEnum.BOOLEAN,required=true)
@ApiResponse("返回全部车品牌信息")
RpcResponse<List<CarInfoResponse>> getCarBrandList(boolean reutrnChild);
@ApiMethod("根据车品牌ID获取车品牌信息")
@ApiParams({@ApiParam(name="brandId",notes="品牌信息ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true),
@ApiParam(name="reutrnChild",notes="品牌信息是否返回子类车系数据",dataType= ApiParam.DataTypeEnum.BOOLEAN,required=true)})
@ApiResponse("返回车品牌信息")
RpcResponse<CarInfoResponse> getCarBrandInfo(Integer brandId,boolean reutrnChild);
@ApiMethod("获取车型信息")
@ApiParam(name="carSeriesId",notes="车系ID",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回车型信息列表")
RpcResponse<List<CarInfoResponse>> getCarTypeListByCarSeriesId(Integer carSeriesId);
@ApiMethod("获取车型信息")
@ApiParam(name="query",notes="车型查询信息",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回车型信息列表")
RpcResponse<List<CarInfoResponse>> getCarTypeList(CarTypeQueryDTO query);
@ApiMethod("获取全部车品牌信息(含子品牌)")
@ApiResponse("返回全部车品牌信息")
RpcResponse<List<CarInfoResponse>> getCarBrandList();
@ApiMethod("根据车品牌ID获取车子品牌列表")
@ApiParam(name="brandId",notes="车品牌ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true)
@ApiResponse("返回车子品牌列表")
RpcResponse<List<CarInfoResponse>> getChildCarBrandList(Integer brandId);
@ApiMethod("根据车子品牌ID获取车系列表")
@ApiParams({@ApiParam(name="brandId",notes="车品牌ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true),
@ApiParam(name="childBrandId",notes="车子品牌ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true)})
@ApiResponse("返回车系列表")
RpcResponse<List<CarInfoResponse>> getCarSeriesList(Integer brandId,Integer childBrandId);
@ApiMethod("分页查询车型信息")
@ApiParam(name="pagination",notes="分页信息",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回分页车型信息")
RpcResponse<RpcPagination<CarInfoResponse>> carTypePage(RpcPagination<CarTypePageDTO> pagination);
}
package cn.com.glsx.dj.gop.remote;
import org.springframework.util.MultiValueMap;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-通用接口",owner="zhoulm")
public interface GopCommonRemote {
@ApiMethod("gop通用接口(不推荐使用)")
@ApiParams({@ApiParam(name="form",notes="表单对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true),
@ApiParam(name="method",notes="请求接口方法名",dataType= ApiParam.DataTypeEnum.STRING,required=true),
@ApiParam(name="isPostRequest",notes="是否发送post请求",dataType= ApiParam.DataTypeEnum.BOOLEAN,required=true)})
@ApiResponse("返回注册后商户id")
RpcResponse<String> getRequestResult(MultiValueMap<String, String> form,String method,boolean isPostRequest);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.weapp.CreateQrCodeRequest;
import cn.com.glsx.dj.gop.response.weapp.CreateQrCodeResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiParam.DataTypeEnum;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
/**
* 生成小程序二维码
* @author zhangyan
* @date 2020年3月27日09:47:21
*
*/
@ApiService(value="发送模板消息", owner = "zhangyan")
public interface GopCreateQrCodeRemote {
@ApiMethod("生成小程序二维码")
@ApiParams({@ApiParam(name = "request", notes = "小程序二维码请求对象", dataType = DataTypeEnum.OBJECT, required = true)})
@ApiResponse("小程序二维码")
RpcResponse<CreateQrCodeResponse> createQrCode(CreateQrCodeRequest request);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.response.common.CustomerDeviceResponse;
import cn.com.glsx.dj.gop.response.gps.DeviceInfoResponse;
import cn.com.glsx.dj.gop.response.gps.DeviceStateInfoResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-客户设备信息接口",owner="huangzhi")
public interface GopCustomerDeviceRemote {
@ApiMethod("根据设备sn获取客户设备信息接口")
@ApiParam(name="sn",notes="设备sn",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回客户设备信息")
RpcResponse<CustomerDeviceResponse> getCustomerDeviceBySn(String sn);
@ApiMethod("根据设备sn获取客户设备状态信息接口")
@ApiParam(name="sn",notes="设备sn",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回客户设备状态")
RpcResponse<DeviceStateInfoResponse> getDeviceStatusBySn(String sn);
@ApiMethod("根据设备sn获取设备信息接口")
@ApiParam(name="sn",notes="设备sn",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回设备信息")
RpcResponse<DeviceInfoResponse> getDeviceInfo(String sn);
@ApiMethod("根据设备sn获取客户实名认证接口")
@ApiParam(name="sn",notes="设备sn",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回客户设备信息")
RpcResponse<String> getCustomerInfoBySn(String sn);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.response.device.ConvertDeviceTypeResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-设备信息接口",owner="zhoulm")
public interface GopDeviceRemote {
@ApiMethod("根据设备sn获取大数据平台设备类型")
@ApiParam(name="sn",notes="设备sn",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回大数据平台设备类型")
RpcResponse<ConvertDeviceTypeResponse> getConvertDeviceTypeBySn(String sn);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.gps.GpsBsRecordRequest;
import cn.com.glsx.dj.gop.request.gps.GpsRecordsLimitRequest;
import cn.com.glsx.dj.gop.request.gps.GpsRecordsRequest;
import cn.com.glsx.dj.gop.request.gps.MapGeoAddressRequest;
import cn.com.glsx.dj.gop.response.gps.GpsBsRecordResponse;
import cn.com.glsx.dj.gop.response.gps.GpsRecordsResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import java.util.List;
/**
* @Title: GopGpsLocationRemote.java
* @Description:平台GOP接口-设备位置接口
* @author Alvin
* @date 2020年5月21日 下午3:40:34
* @version V1.0
* @Company: didihu.com.cn
* @Copyright Copyright (c) 2020
*/
@ApiService(value="平台GOP接口-设备位置接口", owner="zengqi")
public interface GopGpsLocationRemote {
@ApiMethod("获取设备轨迹")
@ApiParam(name="GpsRecordsRequest",notes="参数",dataType= ApiParam.DataTypeEnum.OBJECT, required=true)
@ApiResponse("返回轨迹列表")
RpcResponse<List<GpsRecordsResponse>> getGpsRecords(GpsRecordsRequest request);
@ApiMethod(value = "获取设备轨迹")
@ApiParam(name="GpsRecordsLimitRequest",notes="参数",dataType= ApiParam.DataTypeEnum.OBJECT, required=true)
@ApiResponse("返回轨迹列表")
RpcResponse<List<GpsRecordsResponse>> getGpsRecordsLimit(GpsRecordsLimitRequest request);
@ApiMethod("获取设备最新位置点")
@ApiParam(name="GpsRecordsRequest",notes="参数",dataType= ApiParam.DataTypeEnum.OBJECT, required=true)
@ApiResponse("返回最新位置点")
RpcResponse<GpsBsRecordResponse> getLatestGPSRecordBySn(GpsBsRecordRequest request);
@ApiMethod("获取设备最新位置点")
@ApiParam(name="MapGeoAddressRequest",notes="参数",dataType= ApiParam.DataTypeEnum.OBJECT, required=true)
@ApiResponse("返回位置字符串")
RpcResponse<String> mapGeoAddress(MapGeoAddressRequest request);
}
package cn.com.glsx.dj.gop.remote;
import java.util.List;
import cn.com.glsx.dj.gop.request.merchant.CreateMerchantGradeRequest;
import cn.com.glsx.dj.gop.request.merchant.DictResponse;
import cn.com.glsx.dj.gop.request.merchant.MerchantModifyRequest;
import cn.com.glsx.dj.gop.request.merchant.MerchantPersonnelModifyRequest;
import cn.com.glsx.dj.gop.request.merchant.MerchantPersonnelRegisterRequest;
import cn.com.glsx.dj.gop.request.merchant.MerchantRegisterRequest;
import cn.com.glsx.dj.gop.response.system.GopMerchantResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-商户接口",owner="zhoulm")
public interface GopMerchantRemote {
@ApiMethod("商户注册")
@ApiParam(name="MerchantRegisterRequest",notes="商户注册对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回注册后商户id")
RpcResponse<Integer> registerMerchant(MerchantRegisterRequest request);
@ApiMethod("创建商户层级关系")
@ApiParam(name="CreateMerchantGradeRequest",notes="创建商户层级关系对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回创建是否成功")
RpcResponse<Boolean> createMerchantGrade(CreateMerchantGradeRequest request);
@ApiMethod("商户信息修改")
@ApiParam(name="MerchantModifyRequest",notes="商户信息对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回修改是否成功")
RpcResponse<Boolean> modifyMerchant(MerchantModifyRequest request);
@ApiMethod("获取商户员工类型字典数据")
@ApiResponse("返回商户员工类型字典数据")
RpcResponse<List<DictResponse>> getMerchantPersonalType();
@ApiMethod("获取商户渠道字典数据")
@ApiResponse("返回商户渠道字典数据")
RpcResponse<List<DictResponse>> getMerchantChannelDictList();
@ApiMethod("获取商户的所有下级商户列表")
@ApiParams({@ApiParam(name="merchantId",notes="商户ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true),
@ApiParam(name="groupCode",notes="平台分组编号",dataType= ApiParam.DataTypeEnum.STRING,required=true)})
@ApiResponse("返回商户的下级商户列表")
RpcResponse<List<GopMerchantResponse>> getAllSonMerchantList(Integer merchantId,String groupCode);
@ApiMethod("商户员工注册")
@ApiParam(name="MerchantPersonnelRegisterRequest",notes="商户员工对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回注册后商户员工id")
RpcResponse<Integer> registerMerchantPersonnel(MerchantPersonnelRegisterRequest request);
@ApiMethod("商户员工信息修改")
@ApiParam(name="MerchantPersonnelModifyRequest",notes="商户员工对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回修改是否成功")
RpcResponse<Boolean> modifyMerchantPersonnel(MerchantPersonnelModifyRequest request);
@ApiMethod("获取商户直接上级商户")
@ApiParams({@ApiParam(name="merchantId",notes="商户ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true),
@ApiParam(name="groupCode",notes="平台分组编号",dataType= ApiParam.DataTypeEnum.STRING,required=true)})
@ApiResponse("返回商户直接上级商户")
RpcResponse<GopMerchantResponse> getLastParentMerchant(Integer merchantId,String groupCode);
@ApiMethod("获取商户直接下级商户列表")
@ApiParams({@ApiParam(name="merchantId",notes="商户ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true),
@ApiParam(name="groupCode",notes="平台分组编号",dataType= ApiParam.DataTypeEnum.STRING,required=true)})
@ApiResponse("返回商户直接下级商户列表")
RpcResponse<List<GopMerchantResponse>> getLastSonMerchantList(Integer merchantId,String groupCode);
@ApiMethod("获取商户上级商户列表")
@ApiParams({@ApiParam(name="merchantId",notes="商户ID",dataType= ApiParam.DataTypeEnum.INTEGER,required=true),
@ApiParam(name="groupCode",notes="平台分组编号",dataType= ApiParam.DataTypeEnum.STRING,required=true)})
@ApiResponse("返回商户上级商户列表")
RpcResponse<List<GopMerchantResponse>> getParentMerchantList(Integer merchantId,String groupCode);
}
package cn.com.glsx.dj.gop.remote;
import java.util.Date;
import cn.com.glsx.dj.gop.request.mileage.GopMileageRequest;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.annotation.ApiParam.DataTypeEnum;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台-里程接口", owner="zhangyan")
public interface GopMileageRemote {
@ApiMethod("请求设备里程")
@ApiParams({@ApiParam(name="request", notes="请求对象", dataType=DataTypeEnum.OBJECT, required=true)})
@ApiResponse("里程结果对象")
RpcResponse<String> getTotalMileage(GopMileageRequest request);
@ApiMethod("请求指定区间里程")
@ApiParams({@ApiParam(name="request", notes="请求对象", dataType=DataTypeEnum.OBJECT, required=true)})
@ApiResponse("里程结果对象")
RpcResponse<String> getIntervalMileage(GopMileageRequest request);
@ApiMethod("请求指定时间范围内行驶的里程(KM)")
@ApiParams({@ApiParam(name="sn", notes="设备号", dataType=DataTypeEnum.STRING, required=true),
@ApiParam(name="startTime", notes="开始时间", dataType=DataTypeEnum.DATE, required=true),
@ApiParam(name="endTime", notes="结束时间", dataType=DataTypeEnum.DATE, required=true)})
@ApiResponse("里程结果对象")
RpcResponse<Double> getIntervalMileage(String sn,Date startTime,Date endTime);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.response.ocr.BankCardOcrResponse;
import cn.com.glsx.dj.gop.response.ocr.BusinessLicenseOcrResponse;
import cn.com.glsx.dj.gop.response.ocr.IdCardOcrResponse;
import cn.com.glsx.dj.gop.response.ocr.LicensePlateOrcResponse;
import cn.com.glsx.dj.gop.response.ocr.VehicleCertificateOrcResponse;
import cn.com.glsx.dj.gop.response.ocr.VinOcrResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台GOP接口-Ocr接口",owner="zhoulm")
public interface GopOcrRemote {
/**
* 身份证图片识别
* @Description:
* @param idCardImgUrl
* @return
* @author zhoulm
* @date 2021年3月22日 上午11:37:25
*/
@ApiMethod("身份证图片识别")
@ApiParam(name="idCardImgUrl",notes="身份证图片地址",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回身份证识别信息")
RpcResponse<IdCardOcrResponse> idCardRecognition(String idCardImgUrl);
/**
* 身份证图片识别 base64
* @Description:
* @param imgBase64
* @return
* @author zhoulm
* @date 2023年3月10日 下午5:46:14
*/
@ApiMethod("身份证图片识别")
@ApiParam(name="imgBase64",notes="身份证图片base64编码",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回身份证识别信息")
RpcResponse<IdCardOcrResponse> idCardRecognitionBase64(String imgBase64);
/**
* 银行卡图片识别
* @Description:
* @param bankCardImgUrl
* @return
* @author zhoulm
* @date 2021年3月22日 下午2:46:14
*/
@ApiMethod("银行卡图片识别")
@ApiParam(name="idCardImgUrl",notes="银行卡图片地址",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回银行卡识别信息")
RpcResponse<BankCardOcrResponse> bankCardRecognition(String bankCardImgUrl);
/**
* 银行卡图片识别
* @Description:
* @param imgBase64
* @return
* @author chenxi
* @date 2023年3月10日 下午5:46:14
*/
@ApiMethod("银行卡图片识别")
@ApiParam(name="imgBase64",notes="银行卡图片base64编码",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回银行卡识别信息")
RpcResponse<BankCardOcrResponse> bankCardRecognitionBase64(String imgBase64);
/**
* 营业执照识别
* @Description:
* @param businessLicenseImgUrl
* @return
* @author zhoulm
* @date 2021年4月14日 下午3:09:46
*/
@ApiMethod("营业执照图片识别")
@ApiParam(name="idCardImgUrl",notes="营业执照图片地址",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回营业执照识别信息")
RpcResponse<BusinessLicenseOcrResponse> businessLicenseRecognition(String businessLicenseImgUrl);
/**
* 营业执照识别
* @Description:
* @param imgBase64
* @return
* @author chenxi
* @date 2023年3月10日 下午5:46:14
*/
@ApiMethod("营业执照图片识别")
@ApiParam(name="idCardImgUrl",notes="营业执照图片地址",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回营业执照识别信息")
RpcResponse<BusinessLicenseOcrResponse> businessLicenseRecognitionBase64(String imgBase64);
/**
* @param vinImgUrl 图片地址url
* @return
* @Description:车架号识别
* @author chenxi
* @date 2021年5月14日 下午3:09:46
*/
@ApiMethod("车架号识别")
@ApiParam(name = "vinImgUrl", notes = "车架号图片地址", dataType = ApiParam.DataTypeEnum.STRING, required = true)
@ApiResponse("返回车架号识别信息")
RpcResponse<VinOcrResponse> vinRecognition(String vinImgUrl);
/**
* @param vinImgBase64 图片base编码,经过url encode
* @return
* @Description:车架号识别
* @author chenxi
* @date 2021年5月14日 下午3:09:46
*/
@ApiMethod("车架号识别")
@ApiParam(name = "vinImgBase64", notes = "车架号图片base64编码", dataType = ApiParam.DataTypeEnum.STRING, required = true)
@ApiResponse("返回车架号识别信息")
RpcResponse<VinOcrResponse> vinRecognitionImageBase64(String vinImgBase64);
/**
* @param licensePlateImgUrl 图片地址url
* @return
* @Description:车牌号识别
* @author chenxi
* @date 2021年5月14日 下午3:09:46
*/
@ApiMethod("车牌号识别")
@ApiParam(name = "vinImgUrl", notes = "车牌号图片地址", dataType = ApiParam.DataTypeEnum.STRING, required = true)
@ApiResponse("返回车牌号识别信息")
RpcResponse<LicensePlateOrcResponse> licensePlateRecognition(String licensePlateImgUrl);
/**
* @param licensePlateImgBase64 图片base编码,经过url encode
* @return
* @Description:车牌号识别 base64编码
* @author chenxi
* @date 2021年5月14日 下午3:09:46
*/
@ApiMethod("车牌号识别")
@ApiParam(name = "licensePlateImgBase64", notes = "车牌号图片base64编码", dataType = ApiParam.DataTypeEnum.STRING, required = true)
@ApiResponse("返回车牌号识别信息")
RpcResponse<LicensePlateOrcResponse> licensePlateRecognitionBase64(String licensePlateImgBase64);
/**
* @param carCertificateImgUrl 图片url
* @return
* @Description:车辆合格证识别
* @author chenxi
* @date 2023年3月9日 下午2:58:46
*/
@ApiMethod("车牌号识别")
@ApiParam(name = "carCertificateImg", notes = "车牌号图片base64编码", dataType = ApiParam.DataTypeEnum.STRING, required = true)
@ApiResponse("返回车牌号识别信息")
RpcResponse<LicensePlateOrcResponse> vehicleCertificateRecognition(String carCertificateImgUrl);
/**
* @param carCertificateImg 图片base编码,经过url encode
* @return
* @Description:车辆合格证识别 base64编码
* @author chenxi
* @date 2023年3月9日 下午2:58:46
*/
@ApiMethod("车牌号识别")
@ApiParam(name = "carCertificateImg", notes = "车牌号图片base64编码", dataType = ApiParam.DataTypeEnum.STRING, required = true)
@ApiResponse("返回车牌号识别信息")
RpcResponse<VehicleCertificateOrcResponse> vehicleCertificateRecognitionBase64(String carCertificateImg);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.roadAssistanceCard.RoadAssistanceCardRequest;
import cn.com.glsx.dj.gop.response.roadAssistanceCard.RoadAssistanceCardResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="嘀嘀虎GOP接口-账号接口",owner="zhoulm")
public interface GopRoadAssistanceCardRemote {
@ApiMethod("生成道路救援卡")
@ApiParam(name="RoadAssistanceCardRequest",notes="道路救援卡信息对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回道路救援卡信息")
RpcResponse<RoadAssistanceCardResponse> create(RoadAssistanceCardRequest request);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.sms.SendSmsRequest;
import cn.com.glsx.dj.gop.request.sms.SmsCheckCodeRequest;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParam.DataTypeEnum;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台-发送短信", owner="zhangyan")
public interface GopSendSmsRemote {
@ApiMethod("发送短信")
@ApiParams({@ApiParam(name="sendSmsRequest", notes="发送短信对象", dataType=DataTypeEnum.OBJECT, required=true)})
@ApiResponse("成功发送条数")
RpcResponse<Integer> sendSms(SendSmsRequest sendSmsRequest);
@ApiMethod("校验短信验证码")
@ApiParams({@ApiParam(name="smsCheckCodeRequest", notes="短信校验对象", dataType=DataTypeEnum.OBJECT, required=true)})
@ApiResponse("校验结果")
RpcResponse<Boolean> checkCode(SmsCheckCodeRequest smsCheckCodeRequest);
@ApiMethod("发送短信验证码(模板固定的)")
@ApiParams({@ApiParam(name="phone", notes="手机号", dataType=DataTypeEnum.ARRAY, required=true)})
@ApiResponse("发送结果")
RpcResponse<Boolean> sendSmsCode(String ...phones);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.sms.SendMessageRequest;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParam.DataTypeEnum;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="发送模板消息", owner = "zhangyan")
public interface GopSendTemplateMessageRemote {
@ApiMethod("发送权益领取成功模板消息")
@ApiParams({@ApiParam(name = "request", notes = "消息对象", dataType=DataTypeEnum.OBJECT, required=true)})
@ApiResponse("发送结果")
RpcResponse<String> sendTemplateMessage(SendMessageRequest request);
@ApiMethod("发送设备激活成功模板消息")
@ApiParams({@ApiParam(name = "request", notes = "消息对象", dataType=DataTypeEnum.OBJECT, required=true)})
@ApiResponse("发送结果")
RpcResponse<String> sendTemplateMessageDevice(SendMessageRequest request);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.ws.WsSendRequest;
import cn.com.glsx.dj.gop.response.ws.GetWsConfigResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="websocket接口",owner="zhoulm")
public interface GopWsRemote {
/**
* 获取websocket连接地址和sessionId
* @Description:
* @return
* @author zhoulm
* @date 2021年2月4日 下午5:18:06
*/
@ApiMethod("获取websocket连接地址和sessionId")
@ApiResponse("返回websocket连接地址和sessionId")
RpcResponse<GetWsConfigResponse> getWsConfig();
/**
* 返回操作是否成功
* @Description:
* @param request
* @return
* @author zhoulm
* @date 2021年2月4日 下午5:18:56
*/
@ApiMethod("发送Websocket消息")
@ApiParam(name="WsSendRequest",notes="发送请求对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回操作是否成功")
RpcResponse<Boolean> sendMessage(WsSendRequest request);
@ApiMethod("给所有人发送Websocket消息")
@ApiParam(name="WsSendRequest",notes="发送请求对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回操作是否成功")
RpcResponse<Boolean> sendAllMessage(WsSendRequest request);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.mail.MailRequest;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="邮件发送接口",owner="zhoulm")
public interface MailSenderRemote {
@ApiMethod("发送邮件")
@ApiParam(name="MailRequest",notes="邮件请求对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回操作是否成功")
RpcResponse<Boolean> send(MailRequest request);
}
package cn.com.glsx.dj.gop.remote;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import cn.com.glsx.dj.gop.response.merchant.OpenUserResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台ROP接口-账号接口",owner="zhoulm")
public interface RopAccountRemote {
@ApiMethod("根据账号名查询账号信息")
@ApiParam(name="accountName",notes="账号名称",dataType= ApiParam.DataTypeEnum.STRING,required=true)
@ApiResponse("返回账号信息")
RpcResponse<OpenUserResponse> getByAccountName(@NotBlank String accountName);
@ApiMethod("根据账号名查询账号信息")
@ApiParams({
@ApiParam(name="phone",notes="手机号",dataType= ApiParam.DataTypeEnum.STRING,required=true),
@ApiParam(name="merchantId",notes="商户号",dataType= ApiParam.DataTypeEnum.INTEGER,required=true)
})
@ApiResponse("返回账号信息")
RpcResponse<OpenUserResponse> getByPhone(@NotBlank String phone,@NotNull Integer merchantId);
}
package cn.com.glsx.dj.gop.remote;
import javax.validation.constraints.NotNull;
import cn.com.glsx.dj.gop.request.merchant.MerchantSaveRequest;
import cn.com.glsx.dj.gop.response.merchant.MerchantRopResponse;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiParams;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台ROP接口-商户接口",owner="zhoulm")
public interface RopMerchantRemote {
@ApiMethod("保存或更新商户信息")
@ApiParam(name="MerchantSaveRequest",notes="商户对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回商户账号id")
RpcResponse<String> saveMerchant(MerchantSaveRequest request);
@ApiMethod("根据商户号查询商户信息")
@ApiParams({@ApiParam(name = "merchantId", notes = "商户号", dataType = ApiParam.DataTypeEnum.INTEGER, required = true)})
@ApiResponse("商户信息")
RpcResponse<MerchantRopResponse> getByMerchantId(@NotNull Integer merchantId);
}
package cn.com.glsx.dj.gop.remote;
import cn.com.glsx.dj.gop.request.merchant.StaffSaveRequest;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
@ApiService(value="平台ROP接口-员工接口",owner="zhoulm")
public interface RopStaffRemote {
@ApiMethod("保存或更新员工信息")
@ApiParam(name="StaffSaveRequest",notes="员工对象",dataType= ApiParam.DataTypeEnum.OBJECT,required=true)
@ApiResponse("返回员工账号id")
RpcResponse<String> saveStaff(StaffSaveRequest request);
}
package cn.com.glsx.dj.gop.request.account;
import java.io.Serializable;
public class AccountLoginRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = -3389840104730871741L;
/** 登录账号**/
private String account;
/** 密码**/
private String password;
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
@Override
public String toString() {
return "AccountLoginRequest [" + (account != null ? "account=" + account + ", " : "")
+ (password != null ? "password=" + password : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.account;
import java.io.Serializable;
public class AccountLoginResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = 3763377612334982609L;
private Integer loginId;
private Integer merchantId;
private String merchantName;
private Integer type;
private Integer personnelId;
private String personnelName;
public Integer getLoginId() {
return loginId;
}
public void setLoginId(Integer loginId) {
this.loginId = loginId;
}
public Integer getMerchantId() {
return merchantId;
}
public void setMerchantId(Integer merchantId) {
this.merchantId = merchantId;
}
public String getMerchantName() {
return merchantName;
}
public void setMerchantName(String merchantName) {
this.merchantName = merchantName;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public Integer getPersonnelId() {
return personnelId;
}
public void setPersonnelId(Integer personnelId) {
this.personnelId = personnelId;
}
public String getPersonnelName() {
return personnelName;
}
public void setPersonnelName(String personnelName) {
this.personnelName = personnelName;
}
@Override
public String toString() {
return "AccountLoginResponse [" + (loginId != null ? "loginId=" + loginId + ", " : "")
+ (merchantId != null ? "merchantId=" + merchantId + ", " : "")
+ (merchantName != null ? "merchantName=" + merchantName + ", " : "")
+ (type != null ? "type=" + type + ", " : "")
+ (personnelId != null ? "personnelId=" + personnelId + ", " : "")
+ (personnelName != null ? "personnelName=" + personnelName : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.account;
import java.io.Serializable;
public class AccountRegistRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 8305409170282227996L;
/** 手机号**/
private String phone;
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
@Override
public String toString() {
return "AccountRegistRequest{" +
"phone='" + phone + '\'' +
'}';
}
}
package cn.com.glsx.dj.gop.request.device;
import java.io.Serializable;
public class ConvertDeviceTypeRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = -5320337802035566152L;
/** 请求参数为嘀嘀号**/
public static final int PARAM_TYPE_USERID = 1;
/** 请求参数为sn**/
public static final int PARAM_TYPE_SN = 2;
/** 请求参数为reportSn**/
public static final int PARAM_TYPE_REPORTSN = 3;
/** 请求参数为sn或reportSn**/
public static final int PARAM_TYPE_SN_OR_REPORTSN = 4;
/** 请求参数**/
private String objectId;
/** 参数类型(1:userId,2:sn,3:reportSn,4:snOrReportSn)**/
private Integer paramType;
public String getObjectId() {
return objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public Integer getParamType() {
return paramType;
}
public void setParamType(Integer paramType) {
this.paramType = paramType;
}
@Override
public String toString() {
return "ConvertDeviceTypeRequest [" + (objectId != null ? "objectId=" + objectId + ", " : "")
+ (paramType != null ? "paramType=" + paramType : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.gps;
import java.io.Serializable;
public class GpsBsRecordRequest implements Serializable {
private static final long serialVersionUID = -2128808052268999889L;
private String sn;
private Integer mapType;
public Integer getMapType() {
return mapType;
}
public void setMapType(Integer mapType) {
this.mapType = mapType;
}
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
@Override
public String toString() {
return "GpsBsRecordRequest{" +
"sn='" + sn + '\'' +
", mapType=" + mapType +
'}';
}
}
package cn.com.glsx.dj.gop.request.gps;
import java.io.Serializable;
/**
* @Title: GpsRecordsRequest.java
* @Description: 设备gps轨迹请求参数
* @author Alvin
* @date 2020年5月21日 下午3:34:42
* @version V1.0
* @Company: didihu.com.cn
* @Copyright Copyright (c) 2020
*/
public class GpsRecordsLimitRequest implements Serializable{
private static final long serialVersionUID = -2881260698748802143L;
/**
* 设备号
*/
private String sn;
/**
* 开始时间(格式:yyyy-MM-dd HH:mm:ss)
*/
private String startTime;
/**
* 结束时间(格式:yyyy-MM-dd HH:mm:ss)
*/
private String endTime;
/**
* 拿点数量
*/
private Integer number;
public Integer getNumber() {
return number;
}
public void setNumber(Integer number) {
this.number = number;
}
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
@Override
public String toString() {
return "GpsRecordsLimitRequest{" +
"sn='" + sn + '\'' +
", startTime='" + startTime + '\'' +
", endTime='" + endTime + '\'' +
", number=" + number +
'}';
}
}
package cn.com.glsx.dj.gop.request.gps;
import java.io.Serializable;
/**
* @Title: GpsRecordsRequest.java
* @Description: 设备gps轨迹请求参数
* @author Alvin
* @date 2020年5月21日 下午3:34:42
* @version V1.0
* @Company: didihu.com.cn
* @Copyright Copyright (c) 2020
*/
public class GpsRecordsRequest implements Serializable{
private static final long serialVersionUID = -2881260698748802143L;
/**
* 设备号
*/
private String sn;
/**
* 开始时间(格式:yyyy-MM-dd HH:mm:ss)
*/
private String startTime;
/**
* 结束时间(格式:yyyy-MM-dd HH:mm:ss)
*/
private String endTime;
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
@Override
public String toString() {
return "GpsLocationRecordsRequest [sn=" + sn + ", startTime="
+ startTime + ", endTime=" + endTime + "]";
}
}
package cn.com.glsx.dj.gop.request.gps;
import java.io.Serializable;
public class MapGeoAddressRequest implements Serializable {
private static final long serialVersionUID = -3909876646468150691L;
private String geoSource;
private String lat;
private String lng;
public MapGeoAddressRequest() {
}
public String getGeoSource() {
return geoSource;
}
public void setGeoSource(String geoSource) {
this.geoSource = geoSource;
}
public String getLat() {
return this.lat;
}
public void setLat(String lat) {
this.lat = lat;
}
public String getLng() {
return this.lng;
}
public void setLng(String lng) {
this.lng = lng;
}
public String toString() {
return "MapGeoRequest{geoSource=" + this.geoSource + ", lat='" + this.lat + '\'' + ", lng='" + this.lng + '\'' + '}';
}
}
package cn.com.glsx.dj.gop.request.mail;
import java.io.Serializable;
public class MaiAttachment implements Serializable{
/**
*
*/
private static final long serialVersionUID = -3814461612925671566L;
/**
* 附件标题
*/
private String title;
/**
* 附件地址
*/
private String path;
private String newFileName;
public MaiAttachment() {
super();
}
public MaiAttachment(String title, String path,String newFileName) {
super();
this.title = title;
this.path = path;
this.newFileName = newFileName;
}
public MaiAttachment(String title, String path) {
super();
this.title = title;
this.path = path;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getNewFileName() {
return newFileName;
}
public void setNewFileName(String newFileName) {
this.newFileName = newFileName;
}
@Override
public String toString() {
return "MaiAttachment [title=" + title + ", path=" + path
+ ", newFileName=" + newFileName + "]";
}
}
package cn.com.glsx.dj.gop.request.mail;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class MailRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1116172570168143109L;
/** 发送人**/
private String sender;
/** 收件人**/
private List<String> recipientsTo;
/** 抄送人**/
private List<String> recipientsCc;
/** 密送人**/
private List<String> recipientsBcc;
/** 主题**/
private String subject;
/** 正文**/
private String body;
/**
* 当body为html时包含背景图片等需要用到 key(image1)为cid的值,value为文件路径 <img src=\"cid:image1\"/>
*/
private Map<String,String> bodyImageFile = new HashMap<String,String>();
/** 附件列表**/
private List<MaiAttachment> attachments;
public String getSender() {
return sender;
}
public void setSender(String sender) {
this.sender = sender;
}
public List<String> getRecipientsTo() {
return recipientsTo;
}
public void setRecipientsTo(List<String> recipientsTo) {
this.recipientsTo = recipientsTo;
}
public List<String> getRecipientsCc() {
return recipientsCc;
}
public void setRecipientsCc(List<String> recipientsCc) {
this.recipientsCc = recipientsCc;
}
public List<String> getRecipientsBcc() {
return recipientsBcc;
}
public void setRecipientsBcc(List<String> recipientsBcc) {
this.recipientsBcc = recipientsBcc;
}
public String getSubject() {
return subject;
}
public void setSubject(String subject) {
this.subject = subject;
}
public String getBody() {
return body;
}
public void setBody(String body) {
this.body = body;
}
public List<MaiAttachment> getAttachments() {
return attachments;
}
public void setAttachments(List<MaiAttachment> attachments) {
this.attachments = attachments;
}
public Map<String, String> getBodyImageFile() {
return bodyImageFile;
}
public void setBodyImageFile(Map<String, String> bodyImageFile) {
this.bodyImageFile = bodyImageFile;
}
@Override
public String toString() {
return "MailRequest [" + (sender != null ? "sender=" + sender + ", " : "")
+ (recipientsTo != null ? "recipientsTo=" + recipientsTo + ", " : "")
+ (recipientsCc != null ? "recipientsCc=" + recipientsCc + ", " : "")
+ (recipientsBcc != null ? "recipientsBcc=" + recipientsBcc + ", " : "")
+ (subject != null ? "subject=" + subject + ", " : "") + (body != null ? "body=" + body + ", " : "")
+ (bodyImageFile != null ? "bodyImageFile=" + bodyImageFile + ", " : "")
+ (attachments != null ? "attachments=" + attachments : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.merchant;
import java.io.Serializable;
/**
* 创建商户层级关系
* @Title: CreateMerchantGradeRequest.java
* @Description:
* @author zhoulm
* @date 2019年11月6日 下午4:50:34
* @version V1.0
* @Company: glsx.com.cn
* @Copyright Copyright (c) 2019
*/
public class CreateMerchantGradeRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = -6957190359031691202L;
/** 平台分组(必填)**/
private String groupCode;
/** 父商户号**/
private Integer parentMerchantId;
/** 父商户平台商户类型**/
private String parentMerchantType;
/** 子商户号(必填)**/
private Integer sonMerchantId;
/** 子商户平台商户类型(必填)**/
private String sonMerchantType;
public String getGroupCode() {
return groupCode;
}
public void setGroupCode(String groupCode) {
this.groupCode = groupCode;
}
public Integer getParentMerchantId() {
return parentMerchantId;
}
public void setParentMerchantId(Integer parentMerchantId) {
this.parentMerchantId = parentMerchantId;
}
public String getParentMerchantType() {
return parentMerchantType;
}
public void setParentMerchantType(String parentMerchantType) {
this.parentMerchantType = parentMerchantType;
}
public Integer getSonMerchantId() {
return sonMerchantId;
}
public void setSonMerchantId(Integer sonMerchantId) {
this.sonMerchantId = sonMerchantId;
}
public String getSonMerchantType() {
return sonMerchantType;
}
public void setSonMerchantType(String sonMerchantType) {
this.sonMerchantType = sonMerchantType;
}
@Override
public String toString() {
return "CreateMerchantGradeRequest [groupCode=" + groupCode + ", parentMerchantId=" + parentMerchantId
+ ", parentMerchantType=" + parentMerchantType + ", sonMerchantId=" + sonMerchantId
+ ", sonMerchantType=" + sonMerchantType + "]";
}
}
package cn.com.glsx.dj.gop.request.merchant;
import java.io.Serializable;
import java.util.Date;
public class DictResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = -952990247684594367L;
private Integer confId;
private Date createTime;
private String memo;
private String confKey;
public Integer getConfId() {
return confId;
}
public void setConfId(Integer confId) {
this.confId = confId;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getMemo() {
return memo;
}
public void setMemo(String memo) {
this.memo = memo;
}
public String getConfKey() {
return confKey;
}
public void setConfKey(String confKey) {
this.confKey = confKey;
}
@Override
public String toString() {
return "DictResponse [" + (confId != null ? "confId=" + confId + ", " : "")
+ (createTime != null ? "createTime=" + createTime + ", " : "")
+ (memo != null ? "memo=" + memo + ", " : "") + (confKey != null ? "confKey=" + confKey : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.merchant;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.ToString;
@ToString
@Data
public class FileResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1681796831471840357L;
@ApiModelProperty(notes="文件id")
private Integer id;
@ApiModelProperty(notes="图片路径")
private String fileUrl;
@ApiModelProperty(notes="文件类型")
private String fileType;
@ApiModelProperty(notes="创建人")
private Integer createdBy;
@ApiModelProperty(notes="创建时间")
private Date createdTime;
@ApiModelProperty(notes="更新人 ")
private Integer updatedBy;
@ApiModelProperty(notes="更新时间 ")
private Date updatedTime;
@ApiModelProperty(notes="是否删除")
private String delFlag;
@ApiModelProperty(notes="图片名称")
private String fileName;
@ApiModelProperty(notes="业务id")
private Integer bussinessId;
}
package cn.com.glsx.dj.gop.request.merchant;
import java.io.Serializable;
/**
* 商户信息修改
* @Title: MerchantModifyRequest.java
* @Description:
* @author zhoulm
* @date 2019年11月6日 下午5:25:39
* @version V1.0
* @Company: glsx.com.cn
* @Copyright Copyright (c) 2019
*/
public class MerchantModifyRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = -4971387317245017919L;
/** 商户ID(必填)**/
private Integer merchantId;
/** 商户名称(必填)**/
private String merchantName;
/** 密码**/
private String password;
/** 登录账号(必填)**/
private String account;
/** 商户简称**/
private String merchantAlias;
/** 门店照片**/
private String shopPhoto;
/** 经度(GCJ02:火星坐标系)**/
private Double lng;
/** 纬度(GCJ02:火星坐标系)**/
private Double lat;
/** 省份ID**/
private Integer provinceId;
/** 省份名称**/
private String provinceName;
/** 城市ID**/
private Integer cityId;
/** 城市名称**/
private String cityName;
/** 区县ID**/
private Integer areaId;
/** 区县名称**/
private String areaName;
/** 详细地址**/
private String address;
/** 联系人**/
private String contactor;
/** 联系人手机号**/
private String contactPhone;
public Integer getMerchantId() {
return merchantId;
}
public void setMerchantId(Integer merchantId) {
this.merchantId = merchantId;
}
public String getMerchantName() {
return merchantName;
}
public void setMerchantName(String merchantName) {
this.merchantName = merchantName;
}
public String getAccount() {
return account;
}
public void setAccount(String account) {
this.account = account;
}
public String getMerchantAlias() {
return merchantAlias;
}
public void setMerchantAlias(String merchantAlias) {
this.merchantAlias = merchantAlias;
}
public String getShopPhoto() {
return shopPhoto;
}
public void setShopPhoto(String shopPhoto) {
this.shopPhoto = shopPhoto;
}
public Double getLng() {
return lng;
}
public void setLng(Double lng) {
this.lng = lng;
}
public Double getLat() {
return lat;
}
public void setLat(Double lat) {
this.lat = lat;
}
public Integer getProvinceId() {
return provinceId;
}
public void setProvinceId(Integer provinceId) {
this.provinceId = provinceId;
}
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
this.provinceName = provinceName;
}
public Integer getCityId() {
return cityId;
}
public void setCityId(Integer cityId) {
this.cityId = cityId;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
public Integer getAreaId() {
return areaId;
}
public void setAreaId(Integer areaId) {
this.areaId = areaId;
}
public String getAreaName() {
return areaName;
}
public void setAreaName(String areaName) {
this.areaName = areaName;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getContactor() {
return contactor;
}
public void setContactor(String contactor) {
this.contactor = contactor;
}
public String getContactPhone() {
return contactPhone;
}
public void setContactPhone(String contactPhone) {
this.contactPhone = contactPhone;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
@Override
public String toString() {
return "MerchantModifyRequest [" + (merchantId != null ? "merchantId=" + merchantId + ", " : "")
+ (merchantName != null ? "merchantName=" + merchantName + ", " : "")
+ (password != null ? "password=" + password + ", " : "")
+ (account != null ? "account=" + account + ", " : "")
+ (merchantAlias != null ? "merchantAlias=" + merchantAlias + ", " : "")
+ (shopPhoto != null ? "shopPhoto=" + shopPhoto + ", " : "") + (lng != null ? "lng=" + lng + ", " : "")
+ (lat != null ? "lat=" + lat + ", " : "")
+ (provinceId != null ? "provinceId=" + provinceId + ", " : "")
+ (provinceName != null ? "provinceName=" + provinceName + ", " : "")
+ (cityId != null ? "cityId=" + cityId + ", " : "")
+ (cityName != null ? "cityName=" + cityName + ", " : "")
+ (areaId != null ? "areaId=" + areaId + ", " : "")
+ (areaName != null ? "areaName=" + areaName + ", " : "")
+ (address != null ? "address=" + address + ", " : "")
+ (contactor != null ? "contactor=" + contactor + ", " : "")
+ (contactPhone != null ? "contactPhone=" + contactPhone : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.merchant;
import java.io.Serializable;
public class MerchantPersonnelModifyRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = -8081729492386998461L;
/** 员工ID(必传)**/
private Integer id;
/** 商户ID**/
private Integer merchantId;
/** 登录账号(必传)**/
private String loginAccount;
/** 用户名**/
private String userName;
/** 昵称**/
private String nickName;
/** 手机号**/
private String phone;
/** 头像**/
private String portrait;
/** 职务**/
private String position;
/** 员工分类**/
private String personalCodes;
/** 密码**/
private String password;
/** 员工类型(1普通员工,2管理员员工)**/
private Integer personnelType;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getMerchantId() {
return merchantId;
}
public void setMerchantId(Integer merchantId) {
this.merchantId = merchantId;
}
public String getLoginAccount() {
return loginAccount;
}
public void setLoginAccount(String loginAccount) {
this.loginAccount = loginAccount;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getNickName() {
return nickName;
}
public void setNickName(String nickName) {
this.nickName = nickName;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getPortrait() {
return portrait;
}
public void setPortrait(String portrait) {
this.portrait = portrait;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
public String getPersonalCodes() {
return personalCodes;
}
public void setPersonalCodes(String personalCodes) {
this.personalCodes = personalCodes;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public Integer getPersonnelType() {
return personnelType;
}
public void setPersonnelType(Integer personnelType) {
this.personnelType = personnelType;
}
@Override
public String toString() {
return "MerchantPersonnelModifyRequest [" + (id != null ? "id=" + id + ", " : "")
+ (merchantId != null ? "merchantId=" + merchantId + ", " : "")
+ (loginAccount != null ? "loginAccount=" + loginAccount + ", " : "")
+ (userName != null ? "userName=" + userName + ", " : "")
+ (nickName != null ? "nickName=" + nickName + ", " : "")
+ (phone != null ? "phone=" + phone + ", " : "")
+ (portrait != null ? "portrait=" + portrait + ", " : "")
+ (position != null ? "position=" + position + ", " : "")
+ (personalCodes != null ? "personalCodes=" + personalCodes + ", " : "")
+ (password != null ? "password=" + password + ", " : "")
+ (personnelType != null ? "personnelType=" + personnelType : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.merchant;
import java.io.Serializable;
public class MerchantPersonnelRegisterRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 2109433811952737274L;
/** 商户ID**/
private Integer merchantId;
/** 登录账号**/
private String loginAccount;
/** 用户名**/
private String userName;
/** 昵称**/
private String nickName;
/** 手机号**/
private String phone;
/** 头像**/
private String portrait;
/** 职务**/
private String position;
/** 员工分类**/
private String personalCodes;
/** 密码**/
private String password;
/** 员工类型(1普通员工,2管理员员工)**/
private Integer personnelType;
public Integer getMerchantId() {
return merchantId;
}
public void setMerchantId(Integer merchantId) {
this.merchantId = merchantId;
}
public String getLoginAccount() {
return loginAccount;
}
public void setLoginAccount(String loginAccount) {
this.loginAccount = loginAccount;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getNickName() {
return nickName;
}
public void setNickName(String nickName) {
this.nickName = nickName;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getPortrait() {
return portrait;
}
public void setPortrait(String portrait) {
this.portrait = portrait;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
public String getPersonalCodes() {
return personalCodes;
}
public void setPersonalCodes(String personalCodes) {
this.personalCodes = personalCodes;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public Integer getPersonnelType() {
return personnelType;
}
public void setPersonnelType(Integer personnelType) {
this.personnelType = personnelType;
}
@Override
public String toString() {
return "MerchantPersonnelRegisterRequest [" + (merchantId != null ? "merchantId=" + merchantId + ", " : "")
+ (loginAccount != null ? "loginAccount=" + loginAccount + ", " : "")
+ (userName != null ? "userName=" + userName + ", " : "")
+ (nickName != null ? "nickName=" + nickName + ", " : "")
+ (phone != null ? "phone=" + phone + ", " : "")
+ (portrait != null ? "portrait=" + portrait + ", " : "")
+ (position != null ? "position=" + position + ", " : "")
+ (personalCodes != null ? "personalCodes=" + personalCodes + ", " : "")
+ (password != null ? "password=" + password + ", " : "")
+ (personnelType != null ? "personnelType=" + personnelType : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.merchant;
import java.io.Serializable;
/**
* 商户注册信息
* @Title: MerchantRegisterRequest.java
* @Description:
* @author zhoulm
* @date 2019年11月6日 下午3:24:47
* @version V1.0
* @Company: glsx.com.cn
* @Copyright Copyright (c) 2019
*/
public class MerchantRegisterRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 5186137060522848846L;
/** 商户名称(必填)**/
private String merchantName;
/** 登录密码**/
private String password;
/** 商户简称**/
private String merchantAlias;
/** 门店照片**/
private String shopPhoto;
/** 经度(GCJ02:火星坐标系)**/
private Double lng;
/** 纬度(GCJ02:火星坐标系)**/
private Double lat;
/** 省份ID**/
private Integer provinceId;
/** 省份名称**/
private String provinceName;
/** 城市ID**/
private Integer cityId;
/** 城市名称**/
private String cityName;
/** 区县ID**/
private Integer areaId;
/** 区县名称**/
private String areaName;
/** 详细地址**/
private String address;
/** 平台渠道编号(必填)**/
private String merchantChannel;
/** 联系人**/
private String contactor;
/** 联系人手机号**/
private String contactPhone;
/** 操作人id**/
private Integer operatorId;
public String getMerchantName() {
return merchantName;
}
public void setMerchantName(String merchantName) {
this.merchantName = merchantName;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getMerchantAlias() {
return merchantAlias;
}
public void setMerchantAlias(String merchantAlias) {
this.merchantAlias = merchantAlias;
}
public String getShopPhoto() {
return shopPhoto;
}
public void setShopPhoto(String shopPhoto) {
this.shopPhoto = shopPhoto;
}
public Double getLng() {
return lng;
}
public void setLng(Double lng) {
this.lng = lng;
}
public Double getLat() {
return lat;
}
public void setLat(Double lat) {
this.lat = lat;
}
public Integer getProvinceId() {
return provinceId;
}
public void setProvinceId(Integer provinceId) {
this.provinceId = provinceId;
}
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
this.provinceName = provinceName;
}
public Integer getCityId() {
return cityId;
}
public void setCityId(Integer cityId) {
this.cityId = cityId;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
public Integer getAreaId() {
return areaId;
}
public void setAreaId(Integer areaId) {
this.areaId = areaId;
}
public String getAreaName() {
return areaName;
}
public void setAreaName(String areaName) {
this.areaName = areaName;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getMerchantChannel() {
return merchantChannel;
}
public void setMerchantChannel(String merchantChannel) {
this.merchantChannel = merchantChannel;
}
public String getContactor() {
return contactor;
}
public void setContactor(String contactor) {
this.contactor = contactor;
}
public String getContactPhone() {
return contactPhone;
}
public void setContactPhone(String contactPhone) {
this.contactPhone = contactPhone;
}
public Integer getOperatorId() {
return operatorId;
}
public void setOperatorId(Integer operatorId) {
this.operatorId = operatorId;
}
@Override
public String toString() {
return "MerchantRegisterRequest [merchantName=" + merchantName + ", password=" + password + ", merchantAlias="
+ merchantAlias + ", shopPhoto=" + shopPhoto + ", lng=" + lng + ", lat=" + lat + ", provinceId="
+ provinceId + ", provinceName=" + provinceName + ", cityId=" + cityId + ", cityName=" + cityName
+ ", areaId=" + areaId + ", areaName=" + areaName + ", address=" + address + ", merchantChannel="
+ merchantChannel + ", contactor=" + contactor + ", contactPhone=" + contactPhone + ", operatorId="
+ operatorId + "]";
}
}
package cn.com.glsx.dj.gop.request.merchant;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.ToString;
@Data
@ToString
public class MerchantSaveRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 3954336522558474452L;
@ApiModelProperty(notes = "商户名称")
private String merchantName;
@ApiModelProperty(notes = "商户简称")
private String merchantAbbreviation;
@ApiModelProperty(notes = "1.个体户 2.企业")
private Integer merchantType;
@ApiModelProperty(notes = "组织机构代码")
private String merchantOrgcode;
@ApiModelProperty(notes = "商户地址")
private String merchantAddress;
@ApiModelProperty(notes = "法定联系人")
private String merchantLegalPerson;
@ApiModelProperty(notes = "联系电话")
private String merchantLegalPersonPhone;
@ApiModelProperty(notes = "电话是否可作为登录名(1.是 0.否)")
private Integer isloginName;
@ApiModelProperty(notes = "营业范围")
private String businessScope;
@ApiModelProperty(notes = "自定义营业范围")
private String businessScopeCustomize;
@ApiModelProperty(notes = "品牌")
private String merchantBrand;
@ApiModelProperty(notes = "登录账户")
private String merchantLoginAccount;
@ApiModelProperty(notes = "登录密码")
private String merchantLoginPassword;
@ApiModelProperty(notes = "1.工厂 2.省代 3.市代 4.门店")
private Integer merchantAccountLevel;
@ApiModelProperty(notes = "父商户id")
private Integer parentId;
@ApiModelProperty(notes = "渠道id")
private Integer channelId;
@ApiModelProperty(notes = "驻点联系人")
private String residentContact;
@ApiModelProperty(notes = "驻点联系电话")
private String residentPhone;
@ApiModelProperty(notes = "账户有效期")
private Integer effectiveTime;
private String areaCode;
@ApiModelProperty(notes = "营业开始时间")
private String bussinessBegintime;
@ApiModelProperty(notes = "营业结束时间")
private String bussinessEndtime;
@ApiModelProperty(notes = "经度")
private Double lng;
@ApiModelProperty(notes = "纬度")
private Double lat;
@ApiModelProperty(notes = "保存状态 1.草稿 2.发布 3.注销 4.过期")
private Integer status;
@ApiModelProperty(notes = "账户类型")
private List<Integer> accounttypeId;
@ApiModelProperty(notes = "图片信息")
private List<FileResponse> merchantFiles;
@ApiModelProperty(notes = "商户号")
private Integer merchantId;
@ApiModelProperty(notes = "区域")
private String areaName;
private String sapCode;
}
package cn.com.glsx.dj.gop.request.merchant;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.ToString;
@Data
@ToString
public class StaffSaveRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = -7309313747785957099L;
@ApiModelProperty(notes = "员工姓名")
private String staffName;
@ApiModelProperty(notes = "职务")
private String staffJob;
@ApiModelProperty(notes = "密码")
private String password;
@ApiModelProperty(notes = "手机号")
private String staffPhone;
@ApiModelProperty(notes = "商户id")
private Integer merchantId;
@ApiModelProperty(notes = "邮箱")
private String staffEmail;
@ApiModelProperty(notes = "企微号")
private String entmicroName;
@ApiModelProperty(notes = "登录账号")
private String loginAccount;
@ApiModelProperty(notes = "头像")
private String merchantFileRequest;
}
package cn.com.glsx.dj.gop.request.mileage;
import java.io.Serializable;
public class GopMileageRequest implements Serializable{
private static final long serialVersionUID = -265343674852073842L;
/**
* 设备号
*/
private String sn;
/**
* 设备类型
*/
private String deviceType;
/**
* 开始时间yyyy-MM-dd
*/
private String startDate;
/**
* 结束时间yyyy-MM-dd
*/
private String endDate;
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getDeviceType() {
return deviceType;
}
public void setDeviceType(String deviceType) {
this.deviceType = deviceType;
}
public String getStartDate() {
return startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public String getEndDate() {
return endDate;
}
public void setEndDate(String endDate) {
this.endDate = endDate;
}
@Override
public String toString() {
return "GopMileageRequest [sn=" + sn + ", deviceType=" + deviceType
+ ", startDate=" + startDate + ", endDate=" + endDate
+ ", toString()=" + super.toString() + "]";
}
}
package cn.com.glsx.dj.gop.request.mileage;
import java.io.Serializable;
public class GopMileageResponse implements Serializable{
private static final long serialVersionUID = -8028040514437014136L;
private String code;
private String message;
private String mileage;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getMileage() {
return mileage;
}
public void setMileage(String mileage) {
this.mileage = mileage;
}
@Override
public String toString() {
return "GopMileageResponse [code=" + code + ", message=" + message
+ ", mileage=" + mileage + ", toString()=" + super.toString()
+ "]";
}
}
package cn.com.glsx.dj.gop.request.roadAssistanceCard;
import java.io.Serializable;
public class RoadAssistanceCardRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 5432808383251982167L;
/** 有效期单位-年**/
public static final int UNIT_YEAR = 1;
/** 有效期单位-月**/
public static final int UNIT_MONTH = 2;
/**
* 手机号
*/
private String mobile;
/**
* 车牌号
*/
private String carNo;
/**
* 车架号
*/
private String vin;
/**
* 激活时间 yyyy-MM-dd HH:mm:ss
*/
private String activateDate;
/**
* 到期时间 yyyy-MM-dd HH:mm:ss
*/
private String expireDate;
/**
* 有效期单位(1:年;2:月)
*/
private Integer validUnit;
/**
* 有效期值
*/
private Integer validValue;
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public String getCarNo() {
return carNo;
}
public void setCarNo(String carNo) {
this.carNo = carNo;
}
public String getVin() {
return vin;
}
public void setVin(String vin) {
this.vin = vin;
}
public String getActivateDate() {
return activateDate;
}
public void setActivateDate(String activateDate) {
this.activateDate = activateDate;
}
public String getExpireDate() {
return expireDate;
}
public void setExpireDate(String expireDate) {
this.expireDate = expireDate;
}
public Integer getValidUnit() {
return validUnit;
}
public void setValidUnit(Integer validUnit) {
this.validUnit = validUnit;
}
public Integer getValidValue() {
return validValue;
}
public void setValidValue(Integer validValue) {
this.validValue = validValue;
}
@Override
public String toString() {
return "CreateRoadAssistanceCardRequest [" + (mobile != null ? "mobile=" + mobile + ", " : "")
+ (carNo != null ? "carNo=" + carNo + ", " : "") + (vin != null ? "vin=" + vin + ", " : "")
+ (activateDate != null ? "activateDate=" + activateDate + ", " : "")
+ (expireDate != null ? "expireDate=" + expireDate + ", " : "")
+ (validUnit != null ? "validUnit=" + validUnit + ", " : "")
+ (validValue != null ? "validValue=" + validValue : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.sms;
import java.io.Serializable;
public class SendMessageRequest implements Serializable{
private static final long serialVersionUID = -3225969387580516496L;
/**
* 微信账户unionId
*/
private String unionId;
/**
* 微信原始id
*/
private String wxId;
/**
* 模板消息标题
*/
private String title;
/**
* 小程序id
*/
private String appId;
public String getUnionId() {
return unionId;
}
public void setUnionId(String unionId) {
this.unionId = unionId;
}
public String getWxId() {
return wxId;
}
public void setWxId(String wxId) {
this.wxId = wxId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
@Override
public String toString() {
return "SendMessageRequest [unionId=" + unionId + ", wxId=" + wxId
+ ", title=" + title
+ ", appId=" + appId
+ ", toString()=" + super.toString() + "]";
}
}
package cn.com.glsx.dj.gop.request.sms;
import java.io.Serializable;
/**
* 发送短信对象
* @author zhangyan
* @date 2019/12/06
*
*/
public class SendSmsRequest implements Serializable {
private static final long serialVersionUID = 8587629461311315239L;
/** 1.普通短信 **/
public static String ORDINARY = "1";
/** 2.验证码短信 **/
public static String VERIFICATION = "2";
/** 模板短信source 调用固定模板实时短信时用,非营销短信**/
public static String TEMPLATE_SMS_SOURCE = "rpc-dj-notice";
/**
* 手机号
*/
private String phone;
/**
* 发送类型(1.普通短信;2.验证码短信)
*/
private String type;
/**
* 模板内容
*/
private String context;
private String messageSource;
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getContext() {
return context;
}
public void setContext(String context) {
this.context = context;
}
public String getMessageSource() {
return messageSource;
}
public void setMessageSource(String messageSource) {
this.messageSource = messageSource;
}
@Override
public String toString() {
return "SendSmsRequest [" + (phone != null ? "phone=" + phone + ", " : "")
+ (type != null ? "type=" + type + ", " : "") + (context != null ? "context=" + context + ", " : "")
+ (messageSource != null ? "messageSource=" + messageSource : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.sms;
import java.io.Serializable;
public class SmsCheckCodeRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = -3840963611605600500L;
/** 手机号**/
private String phone;
/** 验证码**/
private String checkCode;
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getCheckCode() {
return checkCode;
}
public void setCheckCode(String checkCode) {
this.checkCode = checkCode;
}
@Override
public String toString() {
return "SmsCheckCodeRequest [" + (phone != null ? "phone=" + phone + ", " : "")
+ (checkCode != null ? "checkCode=" + checkCode : "") + "]";
}
}
package cn.com.glsx.dj.gop.request.weapp;
import java.io.Serializable;
/**
* 生成二维码请求对象
* @author zhangyan
* @date 2020年3月27日09:40:28
*
*/
public class CreateQrCodeRequest implements Serializable{
private static final long serialVersionUID = 6015871763383725299L;
/**
* 权益扫码场景值
*/
private String scene;
/**
* 微信原始id
*/
private String wxId;
/**
* 序列号
*/
private String seqNo;
/**
* 微信二维码场景值参数
*/
private String sceneParams;
/**
* 分享页面路径
*/
private String path;
private String createdBy;
public String getScene() {
return scene;
}
public void setScene(String scene) {
this.scene = scene;
}
public String getWxId() {
return wxId;
}
public void setWxId(String wxId) {
this.wxId = wxId;
}
public String getSeqNo() {
return seqNo;
}
public void setSeqNo(String seqNo) {
this.seqNo = seqNo;
}
public String getSceneParams() {
return sceneParams;
}
public void setSceneParams(String sceneParams) {
this.sceneParams = sceneParams;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
public String getCreatedBy() {
return createdBy;
}
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
@Override
public String toString() {
return "CreateQrCodeRequest [" + (scene != null ? "scene=" + scene + ", " : "")
+ (wxId != null ? "wxId=" + wxId + ", " : "") + (seqNo != null ? "seqNo=" + seqNo + ", " : "")
+ (sceneParams != null ? "sceneParams=" + sceneParams + ", " : "")
+ (path != null ? "path=" + path + ", " : "") + (createdBy != null ? "createdBy=" + createdBy : "")
+ "]";
}
}
package cn.com.glsx.dj.gop.request.ws;
import java.io.Serializable;
public class WsSendRequest implements Serializable{
/**
*
*/
private static final long serialVersionUID = 2021154211802382870L;
private String from;
private String to;
private String type;
private String content;
private String code;
/** unionId存在则会忽略to**/
private String unionId;
public WsSendRequest() {
super();
}
public WsSendRequest(String from, String to, String type, String content, String code, String unionId) {
super();
this.from = from;
this.to = to;
this.type = type;
this.content = content;
this.code = code;
this.unionId = unionId;
}
public WsSendRequest(String type,String unionId,String
remindTitle,String remindContent,String remindUrl,Integer remindTime) {
super();
this.type = type;
this.unionId = unionId;
this.content = new RemindContent(remindTitle, remindContent, remindUrl, remindTime).toJson();
}
class RemindContent implements Serializable{
/**
*
*/
private static final long serialVersionUID = 1526528974924477386L;
/** 弹框提醒标题**/
private String title;
/** 弹框提醒内容**/
private String content;
/** 跳转链接**/
private String url;
/** 弹框提醒时间(毫秒) -1不自动关闭提醒, 0不弹框提醒**/
private Integer remindTime = 5000;
public RemindContent() {
super();
}
public RemindContent(String title, String content, String url, Integer remindTime) {
super();
this.title = title;
this.content = content;
this.url = url;
this.remindTime = remindTime;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getRemindTime() {
return remindTime;
}
public void setRemindTime(Integer remindTime) {
this.remindTime = remindTime;
}
public String toJson(){
StringBuilder sb = new StringBuilder("{");
sb.append("title:").append(this.title);
sb.append(",content:").append(this.content);
sb.append(",url:").append(this.url);
sb.append(",remindTime:").append(this.remindTime);
sb.append("}");
return sb.toString();
}
}
public String getFrom() {
return from;
}
public void setFrom(String from) {
this.from = from;
}
public String getTo() {
return to;
}
public void setTo(String to) {
this.to = to;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getUnionId() {
return unionId;
}
public void setUnionId(String unionId) {
this.unionId = unionId;
}
@Override
public String toString() {
return "WsSendRequest [" + (from != null ? "from=" + from + ", " : "") + (to != null ? "to=" + to + ", " : "")
+ (type != null ? "type=" + type + ", " : "") + (content != null ? "content=" + content + ", " : "")
+ (code != null ? "code=" + code + ", " : "") + (unionId != null ? "unionId=" + unionId : "") + "]";
}
}
package cn.com.glsx.dj.gop.response.boutiquedelivery;
import java.io.Serializable;
/**
* 精品交付精细化平台销售员信息
* @Title: SaleInfoResponse.java
* @Description:
* @author zhoulm
* @date 2020年7月6日 下午3:51:28
* @version V1.0
* @Company: glsx.com.cn
* @Copyright Copyright (c) 2019
*/
public class SaleInfoResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = -5710520468917990641L;
/** 业务员**/
public static final int TYPE_SALESMAN = 1;
/** 管理员**/
public static final int TYPE_MANAGER = 2;
/** 业务员id**/
private Integer salemanId;
/** 业务员手机号**/
private String contactorPhone;
/** 业务员名称**/
private String salemanName;
/** 业务员类型:1业务员;2、管理员**/
private Integer type;
/** 职位**/
private String position;
/** 开通精品交付业务标识(Y已开通;N未开通)**/
private String openFlag;
/** 详细地址**/
private String address;
/** 纬度**/
private String lat;
/** 经度**/
private String lng;
public Integer getSalemanId() {
return salemanId;
}
public void setSalemanId(Integer salemanId) {
this.salemanId = salemanId;
}
public String getContactorPhone() {
return contactorPhone;
}
public void setContactorPhone(String contactorPhone) {
this.contactorPhone = contactorPhone;
}
public String getSalemanName() {
return salemanName;
}
public void setSalemanName(String salemanName) {
this.salemanName = salemanName;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public String getPosition() {
return position;
}
public void setPosition(String position) {
this.position = position;
}
public String getOpenFlag() {
return openFlag;
}
public void setOpenFlag(String openFlag) {
this.openFlag = openFlag;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getLat() {
return lat;
}
public void setLat(String lat) {
this.lat = lat;
}
public String getLng() {
return lng;
}
public void setLng(String lng) {
this.lng = lng;
}
@Override
public String toString() {
return "SaleInfoResponse [salemanId=" + salemanId + ", contactorPhone=" + contactorPhone + ", salemanName="
+ salemanName + ", type=" + type + ", position=" + position + ", openFlag=" + openFlag + ", address="
+ address + ", lat=" + lat + ", lng=" + lng + "]";
}
}
package cn.com.glsx.dj.gop.response.common;
import java.io.Serializable;
public class AreaResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = -1168467440194610943L;
/**
* 区县名称
*/
private String area;
/**
* 区县首字母
*/
private String areaLetter;
/**
* 城市id
*/
private Integer father;
/**
* 区县编号
*/
private Integer aid;
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
public String getAreaLetter() {
return areaLetter;
}
public void setAreaLetter(String areaLetter) {
this.areaLetter = areaLetter;
}
public Integer getFather() {
return father;
}
public void setFather(Integer father) {
this.father = father;
}
public Integer getAid() {
return aid;
}
public void setAid(Integer aid) {
this.aid = aid;
}
@Override
public String toString() {
return "AreaResponse [" + (area != null ? "area=" + area + ", " : "")
+ (areaLetter != null ? "areaLetter=" + areaLetter + ", " : "")
+ (father != null ? "father=" + father + ", " : "") + (aid != null ? "aid=" + aid : "") + "]";
}
}
package cn.com.glsx.dj.gop.response.common;
import java.io.Serializable;
import java.util.List;
public class CarInfoResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = -6929621529911590972L;
private Integer id;
private String name;
private String letter;
private String logoUrl;
/** 指导价(车型才有)**/
private String guidePrice;
/** 车系ID(车型才有)**/
private Integer seriesId;
/** 车系名称(车型才有)**/
private String seriesName;
/** 车子品牌(车型才有)**/
private Integer brandId;
/** 车子品牌(车型才有)**/
private String brandName;
/** 车型图片(车型才有)**/
private String showImageUrl;
/** 车主品牌(车型分页查询才有)**/
private Integer mainBrandId;
/** 车主品牌(车型分页查询才有)**/
private String mainBrandName;
private List<CarInfoResponse> childs;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getLetter() {
return letter;
}
public void setLetter(String letter) {
this.letter = letter;
}
public String getLogoUrl() {
return logoUrl;
}
public void setLogoUrl(String logoUrl) {
this.logoUrl = logoUrl;
}
public List<CarInfoResponse> getChilds() {
return childs;
}
public void setChilds(List<CarInfoResponse> childs) {
this.childs = childs;
}
public String getGuidePrice() {
return guidePrice;
}
public void setGuidePrice(String guidePrice) {
this.guidePrice = guidePrice;
}
public Integer getSeriesId() {
return seriesId;
}
public void setSeriesId(Integer seriesId) {
this.seriesId = seriesId;
}
public String getSeriesName() {
return seriesName;
}
public void setSeriesName(String seriesName) {
this.seriesName = seriesName;
}
public Integer getBrandId() {
return brandId;
}
public void setBrandId(Integer brandId) {
this.brandId = brandId;
}
public String getBrandName() {
return brandName;
}
public void setBrandName(String brandName) {
this.brandName = brandName;
}
public String getShowImageUrl() {
return showImageUrl;
}
public void setShowImageUrl(String showImageUrl) {
this.showImageUrl = showImageUrl;
}
public Integer getMainBrandId() {
return mainBrandId;
}
public void setMainBrandId(Integer mainBrandId) {
this.mainBrandId = mainBrandId;
}
public String getMainBrandName() {
return mainBrandName;
}
public void setMainBrandName(String mainBrandName) {
this.mainBrandName = mainBrandName;
}
@Override
public String toString() {
return "CarInfoResponse [id=" + id + ", name=" + name + ", letter=" + letter + ", logoUrl=" + logoUrl
+ ", guidePrice=" + guidePrice + ", seriesId=" + seriesId + ", seriesName=" + seriesName + ", brandId="
+ brandId + ", brandName=" + brandName + ", showImageUrl=" + showImageUrl + ", mainBrandId="
+ mainBrandId + ", mainBrandName=" + mainBrandName + ", childs=" + childs + "]";
}
}
package cn.com.glsx.dj.gop.response.common;
import java.io.Serializable;
public class CityResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = 6720202964976760488L;
/**
* 城市名称
*/
private String city;
/**
* 城市编码
*/
private String cityCode;
/**
* 省份ID
*/
private Integer father;
/**
* 城市首字母
*/
private String cityLetter;
/**
* 城市车牌首字母
*/
private String carLetter;
/**
* 城市编号
*/
private Integer cid;
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getCityCode() {
return cityCode;
}
public void setCityCode(String cityCode) {
this.cityCode = cityCode;
}
public Integer getFather() {
return father;
}
public void setFather(Integer father) {
this.father = father;
}
public String getCityLetter() {
return cityLetter;
}
public void setCityLetter(String cityLetter) {
this.cityLetter = cityLetter;
}
public String getCarLetter() {
return carLetter;
}
public void setCarLetter(String carLetter) {
this.carLetter = carLetter;
}
public Integer getCid() {
return cid;
}
public void setCid(Integer cid) {
this.cid = cid;
}
@Override
public String toString() {
return "CityResponse [" + (city != null ? "city=" + city + ", " : "")
+ (cityCode != null ? "cityCode=" + cityCode + ", " : "")
+ (father != null ? "father=" + father + ", " : "")
+ (cityLetter != null ? "cityLetter=" + cityLetter + ", " : "")
+ (carLetter != null ? "carLetter=" + carLetter + ", " : "") + (cid != null ? "cid=" + cid : "") + "]";
}
}
package cn.com.glsx.dj.gop.response.common;
import java.io.Serializable;
public class CustomerDeviceResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = 2775784250747217733L;
private String platNum;
private Long mobile;
private String userName;
private Integer carId;
private Integer userId;
private Integer subBrandId;
// 子品牌
private String subBrand;
private Long brandId;
private String brand;
private Integer carSeriseId;
private String carSerise;
private Integer carTypeId;
private String carType;
// 车架
private String chassisCode;
public String getPlatNum() {
return platNum;
}
public void setPlatNum(String platNum) {
this.platNum = platNum;
}
public Long getMobile() {
return mobile;
}
public void setMobile(Long mobile) {
this.mobile = mobile;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public Integer getCarId() {
return carId;
}
public void setCarId(Integer carId) {
this.carId = carId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getSubBrandId() {
return subBrandId;
}
public void setSubBrandId(Integer subBrandId) {
this.subBrandId = subBrandId;
}
public String getSubBrand() {
return subBrand;
}
public void setSubBrand(String subBrand) {
this.subBrand = subBrand;
}
public Long getBrandId() {
return brandId;
}
public void setBrandId(Long brandId) {
this.brandId = brandId;
}
public String getBrand() {
return brand;
}
public void setBrand(String brand) {
this.brand = brand;
}
public Integer getCarSeriseId() {
return carSeriseId;
}
public void setCarSeriseId(Integer carSeriseId) {
this.carSeriseId = carSeriseId;
}
public String getCarSerise() {
return carSerise;
}
public void setCarSerise(String carSerise) {
this.carSerise = carSerise;
}
public Integer getCarTypeId() {
return carTypeId;
}
public void setCarTypeId(Integer carTypeId) {
this.carTypeId = carTypeId;
}
public String getCarType() {
return carType;
}
public void setCarType(String carType) {
this.carType = carType;
}
public String getChassisCode() {
return chassisCode;
}
public void setChassisCode(String chassisCode) {
this.chassisCode = chassisCode;
}
@Override
public String toString() {
return "CustomerDeviceResponse [" + (platNum != null ? "platNum=" + platNum + ", " : "")
+ (mobile != null ? "mobile=" + mobile + ", " : "")
+ (userName != null ? "userName=" + userName + ", " : "")
+ (carId != null ? "carId=" + carId + ", " : "") + (userId != null ? "userId=" + userId + ", " : "")
+ (subBrandId != null ? "subBrandId=" + subBrandId + ", " : "")
+ (subBrand != null ? "subBrand=" + subBrand + ", " : "")
+ (brandId != null ? "brandId=" + brandId + ", " : "") + (brand != null ? "brand=" + brand + ", " : "")
+ (carSeriseId != null ? "carSeriseId=" + carSeriseId + ", " : "")
+ (carSerise != null ? "carSerise=" + carSerise + ", " : "")
+ (carTypeId != null ? "carTypeId=" + carTypeId + ", " : "")
+ (carType != null ? "carType=" + carType + ", " : "")
+ (chassisCode != null ? "chassisCode=" + chassisCode : "") + "]";
}
}
package cn.com.glsx.dj.gop.response.common;
import java.io.Serializable;
public class ProvinceResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = 8892410763228246538L;
/**
* 省份ID
*/
private Integer pid;
/**
* 省份名称
*/
private String province;
/**
* 省份简称
*/
private String vulgo;
/**
* 省份首字母
*/
private String proLetter;
public Integer getPid() {
return pid;
}
public void setPid(Integer pid) {
this.pid = pid;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getVulgo() {
return vulgo;
}
public void setVulgo(String vulgo) {
this.vulgo = vulgo;
}
public String getProLetter() {
return proLetter;
}
public void setProLetter(String proLetter) {
this.proLetter = proLetter;
}
@Override
public String toString() {
return "ProvinceResponse [" + (pid != null ? "pid=" + pid + ", " : "")
+ (province != null ? "province=" + province + ", " : "")
+ (vulgo != null ? "vulgo=" + vulgo + ", " : "") + (proLetter != null ? "proLetter=" + proLetter : "")
+ "]";
}
}
package cn.com.glsx.dj.gop.response.device;
import java.io.Serializable;
public class ConvertDeviceTypeResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = 2229194285435742808L;
/** 转换后的用户/设备id */
private String objectId;
/** 转换后的设备类型 */
private Integer deviceTypeConvert;
public String getObjectId() {
return objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
public Integer getDeviceTypeConvert() {
return deviceTypeConvert;
}
public void setDeviceTypeConvert(Integer deviceTypeConvert) {
this.deviceTypeConvert = deviceTypeConvert;
}
@Override
public String toString() {
return "ConvertDeviceTypeResponse [" + (objectId != null ? "objectId=" + objectId + ", " : "")
+ (deviceTypeConvert != null ? "deviceTypeConvert=" + deviceTypeConvert : "") + "]";
}
}
package cn.com.glsx.dj.gop.response.gps;
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
import java.io.Serializable;
import java.util.Date;
public class DeviceInfoResponse implements Serializable {
private static final long serialVersionUID = 6578768566794535757L;
private Integer id;
private Integer deviceId;
private Integer typeId;
private String sn;
private String imsi;
private String iccid;
private String reportSn;
private Integer status;
private Integer packageId;
private Integer androidPackageId;
private String softVersion;
private String simPhone;
private String checkCode;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getDeviceId() {
return deviceId;
}
public void setDeviceId(Integer deviceId) {
this.deviceId = deviceId;
}
public Integer getTypeId() {
return typeId;
}
public void setTypeId(Integer typeId) {
this.typeId = typeId;
}
public String getSn() {
return sn;
}
public void setSn(String sn) {
this.sn = sn;
}
public String getImsi() {
return imsi;
}
public void setImsi(String imsi) {
this.imsi = imsi;
}
public String getIccid() {
return iccid;
}
public void setIccid(String iccid) {
this.iccid = iccid;
}
public String getReportSn() {
return reportSn;
}
public void setReportSn(String reportSn) {
this.reportSn = reportSn;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getPackageId() {
return packageId;
}
public void setPackageId(Integer packageId) {
this.packageId = packageId;
}
public Integer getAndroidPackageId() {
return androidPackageId;
}
public void setAndroidPackageId(Integer androidPackageId) {
this.androidPackageId = androidPackageId;
}
public String getSoftVersion() {
return softVersion;
}
public void setSoftVersion(String softVersion) {
this.softVersion = softVersion;
}
public String getSimPhone() {
return simPhone;
}
public void setSimPhone(String simPhone) {
this.simPhone = simPhone;
}
public String getCheckCode() {
return checkCode;
}
public void setCheckCode(String checkCode) {
this.checkCode = checkCode;
}
@Override
public String toString() {
return "DeviceInfoResponse{" +
"id=" + id +
", deviceId=" + deviceId +
", typeId=" + typeId +
", sn='" + sn + '\'' +
", imsi='" + imsi + '\'' +
", iccid='" + iccid + '\'' +
", reportSn='" + reportSn + '\'' +
", status=" + status +
", packageId=" + packageId +
", androidPackageId=" + androidPackageId +
", softVersion='" + softVersion + '\'' +
", simPhone='" + simPhone + '\'' +
", checkCode='" + checkCode + '\'' +
'}';
}
}
package cn.com.glsx.dj.gop.response.gps;
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
import java.io.Serializable;
import java.util.Date;
public class DeviceStateInfoResponse implements Serializable {
private static final long serialVersionUID = 6578768566794535757L;
public Long sn;
public Integer state;
public Date startTime;
public Integer duration;
public DeviceStateInfoResponse() {
}
public Long getSn() {
return this.sn;
}
public void setSn(Long sn) {
this.sn = sn;
}
public Integer getState() {
return this.state;
}
public void setState(Integer state) {
this.state = state;
}
public Date getStartTime() {
return this.startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Integer getDuration() {
return this.duration;
}
public void setDuration(Integer duration) {
this.duration = duration;
}
public String toString() {
return "DeviceStateInfo{sn=" + this.sn + ", state=" + this.state + ", startTime=" + this.startTime + ", duration=" + this.duration + '}';
}
}
package cn.com.glsx.dj.gop.response.gps;
import cn.com.glsx.dj.gop.model.BsRecord;
import cn.com.glsx.dj.gop.model.GpsRecord;
import java.io.Serializable;
public class GpsBsRecordResponse implements Serializable {
private static final long serialVersionUID = 4757761162073037094L;
private BsRecord bsRecord;
private GpsRecord gpsRecord;
public BsRecord getBsRecord() {
return bsRecord;
}
public void setBsRecord(BsRecord bsRecord) {
this.bsRecord = bsRecord;
}
public GpsRecord getGpsRecord() {
return gpsRecord;
}
public void setGpsRecord(GpsRecord gpsRecord) {
this.gpsRecord = gpsRecord;
}
}
package cn.com.glsx.dj.gop.response.gps;
import java.io.Serializable;
/**
* @Title: GpsRecordsResponse.java
* @Description:
* @author Alvin
* @date 2020年5月21日 下午4:03:16
* @version V1.0
* @Company: didihu.com.cn
* @Copyright Copyright (c) 2020
*/
public class GpsRecordsResponse implements Serializable{
private static final long serialVersionUID = -7962812934494385608L;
private String gpsTime;// 终端gps时间
private String lng;// 经度
private String lat;// 纬度
private String alt;// 高度(米)
private String speed;// 速度
private String dir;// 方向(度º)
private String gLng;// 谷歌经度
private String gLat;// 谷歌纬度
private String bLng;// 百度经度
private String bLat;// 百度纬度
private String storeTime;// 存储时间
// yyyy-MM-dd HH:mm:ss
private String gpsDate;
private String storeDate;
public String getGpsDate() {
return gpsDate;
}
public void setGpsDate(String gpsDate) {
this.gpsDate = gpsDate;
}
public String getStoreDate() {
return storeDate;
}
public void setStoreDate(String storeDate) {
this.storeDate = storeDate;
}
public String getGpsTime() {
return gpsTime;
}
public void setGpsTime(String gpsTime) {
this.gpsTime = gpsTime;
}
public String getLng() {
return lng;
}
public void setLng(String lng) {
this.lng = lng;
}
public String getLat() {
return lat;
}
public void setLat(String lat) {
this.lat = lat;
}
public String getAlt() {
return alt;
}
public void setAlt(String alt) {
this.alt = alt;
}
public String getSpeed() {
return speed;
}
public void setSpeed(String speed) {
this.speed = speed;
}
public String getDir() {
return dir;
}
public void setDir(String dir) {
this.dir = dir;
}
public String getgLng() {
return gLng;
}
public void setgLng(String gLng) {
this.gLng = gLng;
}
public String getgLat() {
return gLat;
}
public void setgLat(String gLat) {
this.gLat = gLat;
}
public String getbLng() {
return bLng;
}
public void setbLng(String bLng) {
this.bLng = bLng;
}
public String getbLat() {
return bLat;
}
public void setbLat(String bLat) {
this.bLat = bLat;
}
public String getStoreTime() {
return storeTime;
}
public void setStoreTime(String storeTime) {
this.storeTime = storeTime;
}
@Override
public String toString() {
return "GpsRecordsResponse{" +
"gpsTime='" + gpsTime + '\'' +
", lng='" + lng + '\'' +
", lat='" + lat + '\'' +
", alt='" + alt + '\'' +
", speed='" + speed + '\'' +
", dir='" + dir + '\'' +
", gLng='" + gLng + '\'' +
", gLat='" + gLat + '\'' +
", bLng='" + bLng + '\'' +
", bLat='" + bLat + '\'' +
", storeTime='" + storeTime + '\'' +
", gpsDate='" + gpsDate + '\'' +
", storeDate='" + storeDate + '\'' +
'}';
}
}
package cn.com.glsx.dj.gop.response.gps;
import java.io.Serializable;
public class UserTotalMilageResponse implements Serializable {
private static final long serialVersionUID = 8679982071596245545L;
private Double todayMileage;
private Double totalMileage;
public Double getTodayMileage() {
return todayMileage;
}
public void setTodayMileage(Double todayMileage) {
this.todayMileage = todayMileage;
}
public Double getTotalMileage() {
return totalMileage;
}
public void setTotalMileage(Double totalMileage) {
this.totalMileage = totalMileage;
}
@Override
public String toString() {
return "UsertTotalMilage{" +
"todayMileage=" + todayMileage +
", totalMileage=" + totalMileage +
'}';
}
}
package cn.com.glsx.dj.gop.response.merchant;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.ToString;
@ToString
@Data
public class AccountTypeTreeRopResponse implements Serializable{/**
*
*/
private static final long serialVersionUID = -2764594575050700965L;
private Integer accounttypeId;
private List<ProductTreeRopResponse> products;
private String accounttypeName;
private List<MerchantProTreeRopResponse> merchantProTreeResponses;
}
package cn.com.glsx.dj.gop.response.merchant;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.ToString;
@ToString
@Data
public class FileResponse implements Serializable{/**
*
*/
private static final long serialVersionUID = 5096665382951892987L;
@ApiModelProperty(notes="文件id")
private Integer id;
@ApiModelProperty(notes="图片路径")
private String fileUrl;
@ApiModelProperty(notes="文件类型")
private String fileType;
@ApiModelProperty(notes="创建人")
private Integer createdBy;
@ApiModelProperty(notes="创建时间")
private Date createdTime;
@ApiModelProperty(notes="更新人 ")
private Integer updatedBy;
@ApiModelProperty(notes="更新时间 ")
private Date updatedTime;
@ApiModelProperty(notes="是否删除")
private String delFlag;
@ApiModelProperty(notes="图片名称")
private String fileName;
@ApiModelProperty(notes="业务id")
private Integer bussinessId;
}
package cn.com.glsx.dj.gop.response.merchant;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.ToString;
@ToString
@Data
public class FunctionTreeRopResponse implements Serializable{
/**
*
*/
private static final long serialVersionUID = -7179933009042558277L;
@ApiModelProperty(notes="功能值")
private String functionvalue;
@ApiModelProperty(notes="功能id")
private Integer functionId;
@ApiModelProperty(notes="父菜单id")
private Integer mendId;
}
package cn.com.glsx.dj.gop.response.merchant;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.ToString;
@ToString
@Data
public class MerchantProTreeRopResponse implements Serializable{/**
*
*/
private static final long serialVersionUID = 8779368469355009584L;
private Integer id;
private String label;
private String value;
private String logo;
private Boolean disabled;
private Integer parentId;
private Integer superParentId;
private String menuUrl;
private String functionUrl;
private String rootIds;
private List<MerchantProTreeRopResponse> children;
}
package cn.com.glsx.dj.gop.response.merchant;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
@ToString
@Data
public class MerchantRopResponse implements Serializable{/**
*
*/
private static final long serialVersionUID = -4537865896954067273L;
private Integer id;
@ApiModelProperty(notes="商户名称",dataType="String")
private String merchantName;
@ApiModelProperty(notes="营业范围",dataType="String")
private String businessScope;
@ApiModelProperty(notes="营业范围")
private String businessScopName;
@ApiModelProperty(notes="自定义营业范围 ")
private String businessScopeCustomize;
@ApiModelProperty(notes="品牌",dataType="String")
private String merchantBrand;
@ApiModelProperty(notes="品牌名称")
private String merchantBrandName;
@ApiModelProperty(notes="商户简称",dataType="String")
private String merchantAbbreviation;
@ApiModelProperty(notes="商户类型:1.个体户 2.企业",dataType="int")
private Integer merchantType;
@ApiModelProperty(notes="商户类型名")
private String merchantTypeName;
@ApiModelProperty(notes="组织机构代码 ",dataType="String")
private String merchantOrgcode;
@ApiModelProperty(notes="商户地址",dataType="String")
private String merchantAddress;
@ApiModelProperty(notes="法定联系人 ",dataType="String")
private String merchantLegalPerson;
@ApiModelProperty(notes="联系电话 ",dataType="String")
private String merchantLegalPersonPhone;
@ApiModelProperty(notes="电话是否可作为登录名",dataType="String")
private Integer isloginName;
@ApiModelProperty(notes="登录账户 ",dataType="String")
private String merchantLoginAccount;
@ApiModelProperty(notes="账户层级 ",dataType="int")
private Integer merchantAccountLevel;
@ApiModelProperty(notes="账户层级名称")
private String accountLevelName;
@ApiModelProperty(notes="创建人",dataType="int")
private Integer createdBy;
@ApiModelProperty(notes="创建时间")
private Date createdTime;
@ApiModelProperty(notes="更新时间")
private Date updatedTime;
@ApiModelProperty(notes="渠道ID")
private Integer channelId;
@ApiModelProperty(notes="渠道名称")
private String channelName;
@ApiModelProperty(notes="驻点联系人")
private String residentContact;
@ApiModelProperty(notes="驻点联系电话")
private String residentPhone;
// @ApiModelProperty(notes="密码")
// private String merchantLoginPassword;
@ApiModelProperty(notes="区域")
private Integer areaCode;
@ApiModelProperty(notes="营业开始时间 ")
private String bussinessBegintime;
@ApiModelProperty(notes="营业结束时间 ")
private String bussinessEndtime;
@ApiModelProperty(notes="商户过期时间 ")
private String expireDate;
@ApiModelProperty(notes="账户类型名称 ")
private String accountTypeNames;
@ApiModelProperty(notes="账户类型id")
private String accountType;
@ApiModelProperty(notes="父商户 ")
private String parentMerchant;
@ApiModelProperty(notes="商户号")
private String merchantNo;
@ApiModelProperty(notes="父ID")
private String parentId;
@ApiModelProperty(notes="商户状态 ")
private Integer status;
@ApiModelProperty(notes="商户状态名称")
private String statusName;
@ApiModelProperty(notes="有效期 ")
private String effectiveTimeName;
@ApiModelProperty(notes="商户完整地址")
private String merchantFullAddress;
@ApiModelProperty(notes="有效时间")
private Integer effectiveTime;
@ApiModelProperty(notes="门店数量")
private Integer numberOfStores;
@ApiModelProperty(notes="子商户数量")
private Integer numberOfSubMerchants;
@ApiModelProperty(notes="经度")
private Double lng;
@ApiModelProperty(notes="纬度")
private Double lat;
private List<AccountTypeTreeRopResponse> accountTypes;
private List<FileResponse> merchantFileResponses;
@ApiModelProperty(notes="门店模式 ")
private Integer merchantModel;
@ApiModelProperty(notes="门店模式名称")
private String merchantModelName;
@ApiModelProperty(notes="企微id")
private String entmicroId;
@ApiModelProperty(notes="企微号 ")
private String entmicroName;
@ApiModelProperty(notes="渠道类型")
private Integer channelType;
@ApiModelProperty(notes="sap编码")
private String sapCode;
@ApiModelProperty(notes="距离(米)")
private Double distance;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!