mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-24 21:15:06 +08:00
commit
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 会员基础信息对象 member_basic_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-10-12
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class MemberBasicInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
@Excel(name = "会员id")
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 微信用户身份码openid
|
||||
*/
|
||||
private String openId;
|
||||
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
@Excel(name = "昵称")
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* 逻辑卡号
|
||||
*/
|
||||
@Excel(name = "逻辑卡号")
|
||||
private String logicCard;
|
||||
|
||||
/**
|
||||
* 物理卡号
|
||||
*/
|
||||
@Excel(name = "物理卡号")
|
||||
private String physicsCard;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Excel(name = "状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 头像url
|
||||
*/
|
||||
@Excel(name = "头像url")
|
||||
private String avatarUrl;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@Excel(name = "手机号")
|
||||
private String mobileNumber;
|
||||
|
||||
/**
|
||||
* 所属运营商
|
||||
*/
|
||||
@Excel(name = "所属运营商")
|
||||
private Long merchantId;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", id)
|
||||
.append("memberId", memberId)
|
||||
.append("nickName", nickName)
|
||||
.append("logicCard", logicCard)
|
||||
.append("physicsCard", physicsCard)
|
||||
.append("status", status)
|
||||
.append("avatarUrl", avatarUrl)
|
||||
.append("mobileNumber", mobileNumber)
|
||||
.append("merchantId", merchantId)
|
||||
.append("delFlag", delFlag)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 会员交易记录表
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MemberTransactionRecord {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 充电订单号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 场景类型(order, balance)
|
||||
*/
|
||||
private String scenarioType;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 操作类型(forward-正向, reverse-逆向)
|
||||
*/
|
||||
private String actionType;
|
||||
|
||||
/**
|
||||
* 支付类型(wx, balance)
|
||||
*/
|
||||
private String payMode;
|
||||
|
||||
/**
|
||||
* 金额
|
||||
*/
|
||||
private BigDecimal amount;
|
||||
|
||||
/**
|
||||
* 外部商户订单号
|
||||
*/
|
||||
private String outTradeNo;
|
||||
|
||||
/**
|
||||
* 外部支付订单号
|
||||
*/
|
||||
private String transactionId;
|
||||
|
||||
/**
|
||||
* 外部退款单号
|
||||
*/
|
||||
private String outRefundNo;
|
||||
|
||||
/**
|
||||
* 外部支付退款单号
|
||||
*/
|
||||
private String refundId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 会员钱包信息表
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MemberWalletInfo {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 本金余额
|
||||
*/
|
||||
private BigDecimal principalBalance;
|
||||
|
||||
/**
|
||||
* 赠送余额
|
||||
*/
|
||||
private BigDecimal giftBalance;
|
||||
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
private Integer version;
|
||||
|
||||
private String createBy;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
private String updateBy;
|
||||
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 会员钱包流水表
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MemberWalletLog {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 类型(1-进账;2-出账)
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 子类型(10-充值, 11-赠送, 12-订单结算退款,20-后管扣款, 21-订单付款, 22-用户退款)
|
||||
*/
|
||||
private String subType;
|
||||
|
||||
/**
|
||||
* 金额
|
||||
*/
|
||||
private BigDecimal amount;
|
||||
|
||||
/**
|
||||
* 余额类型(1-本金,2-赠送)
|
||||
*/
|
||||
private String category;
|
||||
|
||||
/**
|
||||
* 关联订单编号
|
||||
*/
|
||||
private String relatedOrderCode;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
@@ -0,0 +1,502 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 订单异常记录对象 order_abnormal_record
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-02-13
|
||||
*/
|
||||
public class OrderAbnormalRecord extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 订单编号/交易流水号
|
||||
*/
|
||||
@Excel(name = "订单编号")
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 桩编码
|
||||
*/
|
||||
@Excel(name = "桩编码")
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 枪号
|
||||
*/
|
||||
@Excel(name = "枪号")
|
||||
private String connectorCode;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Excel(name = "开始时间")
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@Excel(name = "结束时间")
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 尖单价 精确到小数点后五位(尖电费+尖服务费,见费率帧)
|
||||
*/
|
||||
@Excel(name = "尖单价", readConverterExp = "尖=电费+尖服务费,见费率帧")
|
||||
private String sharpPrice;
|
||||
|
||||
/**
|
||||
* 尖电量 精确到小数点后四位
|
||||
*/
|
||||
@Excel(name = "尖电量")
|
||||
private String sharpUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损尖电量
|
||||
*/
|
||||
@Excel(name = "计损尖电量")
|
||||
private String sharpPlanLossElectricity;
|
||||
|
||||
/**
|
||||
* 尖金额
|
||||
*/
|
||||
@Excel(name = "尖金额")
|
||||
private String sharpAmount;
|
||||
|
||||
/**
|
||||
* 峰单价 精确到小数点后五位(峰电费+峰服务费)
|
||||
*/
|
||||
@Excel(name = "峰单价", readConverterExp = "峰=电费+峰服务费")
|
||||
private String peakPrice;
|
||||
|
||||
/**
|
||||
* 峰电量
|
||||
*/
|
||||
@Excel(name = "峰电量")
|
||||
private String peakUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损峰电量
|
||||
*/
|
||||
@Excel(name = "计损峰电量")
|
||||
private String peakPlanLossElectricity;
|
||||
|
||||
/**
|
||||
* 峰金额
|
||||
*/
|
||||
@Excel(name = "峰金额")
|
||||
private String peakAmount;
|
||||
|
||||
/**
|
||||
* 平单价 精确到小数点后五位(平电费+平服务费)
|
||||
*/
|
||||
@Excel(name = "平单价", readConverterExp = "平=电费+平服务费")
|
||||
private String flatPrice;
|
||||
|
||||
/**
|
||||
* 平电量
|
||||
*/
|
||||
@Excel(name = "平电量")
|
||||
private String flatUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损平电量
|
||||
*/
|
||||
@Excel(name = "计损平电量")
|
||||
private String flatPlanLossElectricity;
|
||||
|
||||
/**
|
||||
* 平金额
|
||||
*/
|
||||
@Excel(name = "平金额")
|
||||
private String flatAmount;
|
||||
|
||||
/**
|
||||
* 谷单价 精确到小数点后五位(谷电费+谷 服务费)
|
||||
*/
|
||||
@Excel(name = "谷单价", readConverterExp = "谷=电费+谷,服=务费")
|
||||
private String valleyPrice;
|
||||
|
||||
/**
|
||||
* 谷电量
|
||||
*/
|
||||
@Excel(name = "谷电量")
|
||||
private String valleyUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损谷电量
|
||||
*/
|
||||
@Excel(name = "计损谷电量")
|
||||
private String valleyPlanLossElectricity;
|
||||
|
||||
/**
|
||||
* 谷金额
|
||||
*/
|
||||
@Excel(name = "谷金额")
|
||||
private String valleyAmount;
|
||||
|
||||
/**
|
||||
* 电表总起值
|
||||
*/
|
||||
@Excel(name = "电表总起值")
|
||||
private String ammeterTotalStart;
|
||||
|
||||
/**
|
||||
* 电表总止值
|
||||
*/
|
||||
@Excel(name = "电表总止值")
|
||||
private String ammeterTotalEnd;
|
||||
|
||||
/**
|
||||
* 总电量
|
||||
*/
|
||||
@Excel(name = "总电量")
|
||||
private String totalElectricity;
|
||||
|
||||
/**
|
||||
* 计损总电量
|
||||
*/
|
||||
@Excel(name = "计损总电量")
|
||||
private String planLossTotalElectricity;
|
||||
|
||||
/**
|
||||
* 消费金额 精确到小数点后四位,包含电费、 服务费
|
||||
*/
|
||||
@Excel(name = "消费金额")
|
||||
private String consumptionAmount;
|
||||
|
||||
/**
|
||||
* VIN 码 VIN 码,此处 VIN 码和充电时 VIN 码不同, 正序直接上传, 无需补 0 和反序
|
||||
*/
|
||||
@Excel(name = "VIN码")
|
||||
private String vinCode;
|
||||
|
||||
/**
|
||||
* 交易标识(0x01app启动; 0x02卡启动; 0x04离线卡启动; 0x05vin码启动充电)
|
||||
*/
|
||||
@Excel(name = "交易标识(0x01app启动; 0x02卡启动; 0x04离线卡启动; 0x05vin码启动充电)")
|
||||
private String transactionIdentifier;
|
||||
|
||||
/**
|
||||
* 交易时间 CP56Time2a 格式
|
||||
*/
|
||||
@Excel(name = "交易时间")
|
||||
private String transactionTime;
|
||||
|
||||
/**
|
||||
* 停止原因
|
||||
*/
|
||||
@Excel(name = "停止原因")
|
||||
private String stopReasonMsg;
|
||||
|
||||
/**
|
||||
* 物理卡号 不足 8 位补 0
|
||||
*/
|
||||
@Excel(name = "物理卡号")
|
||||
private String logicCard;
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setOrderCode(String orderCode) {
|
||||
this.orderCode = orderCode;
|
||||
}
|
||||
|
||||
public String getOrderCode() {
|
||||
return orderCode;
|
||||
}
|
||||
|
||||
public void setPileSn(String pileSn) {
|
||||
this.pileSn = pileSn;
|
||||
}
|
||||
|
||||
public String getPileSn() {
|
||||
return pileSn;
|
||||
}
|
||||
|
||||
public void setConnectorCode(String connectorCode) {
|
||||
this.connectorCode = connectorCode;
|
||||
}
|
||||
|
||||
public String getConnectorCode() {
|
||||
return connectorCode;
|
||||
}
|
||||
|
||||
public void setStartTime(String startTime) {
|
||||
this.startTime = startTime;
|
||||
}
|
||||
|
||||
public String getStartTime() {
|
||||
return startTime;
|
||||
}
|
||||
|
||||
public void setEndTime(String endTime) {
|
||||
this.endTime = endTime;
|
||||
}
|
||||
|
||||
public String getEndTime() {
|
||||
return endTime;
|
||||
}
|
||||
|
||||
public void setSharpPrice(String sharpPrice) {
|
||||
this.sharpPrice = sharpPrice;
|
||||
}
|
||||
|
||||
public String getSharpPrice() {
|
||||
return sharpPrice;
|
||||
}
|
||||
|
||||
public void setSharpUsedElectricity(String sharpUsedElectricity) {
|
||||
this.sharpUsedElectricity = sharpUsedElectricity;
|
||||
}
|
||||
|
||||
public String getSharpUsedElectricity() {
|
||||
return sharpUsedElectricity;
|
||||
}
|
||||
|
||||
public void setSharpPlanLossElectricity(String sharpPlanLossElectricity) {
|
||||
this.sharpPlanLossElectricity = sharpPlanLossElectricity;
|
||||
}
|
||||
|
||||
public String getSharpPlanLossElectricity() {
|
||||
return sharpPlanLossElectricity;
|
||||
}
|
||||
|
||||
public void setSharpAmount(String sharpAmount) {
|
||||
this.sharpAmount = sharpAmount;
|
||||
}
|
||||
|
||||
public String getSharpAmount() {
|
||||
return sharpAmount;
|
||||
}
|
||||
|
||||
public void setPeakPrice(String peakPrice) {
|
||||
this.peakPrice = peakPrice;
|
||||
}
|
||||
|
||||
public String getPeakPrice() {
|
||||
return peakPrice;
|
||||
}
|
||||
|
||||
public void setPeakUsedElectricity(String peakUsedElectricity) {
|
||||
this.peakUsedElectricity = peakUsedElectricity;
|
||||
}
|
||||
|
||||
public String getPeakUsedElectricity() {
|
||||
return peakUsedElectricity;
|
||||
}
|
||||
|
||||
public void setPeakPlanLossElectricity(String peakPlanLossElectricity) {
|
||||
this.peakPlanLossElectricity = peakPlanLossElectricity;
|
||||
}
|
||||
|
||||
public String getPeakPlanLossElectricity() {
|
||||
return peakPlanLossElectricity;
|
||||
}
|
||||
|
||||
public void setPeakAmount(String peakAmount) {
|
||||
this.peakAmount = peakAmount;
|
||||
}
|
||||
|
||||
public String getPeakAmount() {
|
||||
return peakAmount;
|
||||
}
|
||||
|
||||
public void setFlatPrice(String flatPrice) {
|
||||
this.flatPrice = flatPrice;
|
||||
}
|
||||
|
||||
public String getFlatPrice() {
|
||||
return flatPrice;
|
||||
}
|
||||
|
||||
public void setFlatUsedElectricity(String flatUsedElectricity) {
|
||||
this.flatUsedElectricity = flatUsedElectricity;
|
||||
}
|
||||
|
||||
public String getFlatUsedElectricity() {
|
||||
return flatUsedElectricity;
|
||||
}
|
||||
|
||||
public void setFlatPlanLossElectricity(String flatPlanLossElectricity) {
|
||||
this.flatPlanLossElectricity = flatPlanLossElectricity;
|
||||
}
|
||||
|
||||
public String getFlatPlanLossElectricity() {
|
||||
return flatPlanLossElectricity;
|
||||
}
|
||||
|
||||
public void setFlatAmount(String flatAmount) {
|
||||
this.flatAmount = flatAmount;
|
||||
}
|
||||
|
||||
public String getFlatAmount() {
|
||||
return flatAmount;
|
||||
}
|
||||
|
||||
public void setValleyPrice(String valleyPrice) {
|
||||
this.valleyPrice = valleyPrice;
|
||||
}
|
||||
|
||||
public String getValleyPrice() {
|
||||
return valleyPrice;
|
||||
}
|
||||
|
||||
public void setValleyUsedElectricity(String valleyUsedElectricity) {
|
||||
this.valleyUsedElectricity = valleyUsedElectricity;
|
||||
}
|
||||
|
||||
public String getValleyUsedElectricity() {
|
||||
return valleyUsedElectricity;
|
||||
}
|
||||
|
||||
public void setValleyPlanLossElectricity(String valleyPlanLossElectricity) {
|
||||
this.valleyPlanLossElectricity = valleyPlanLossElectricity;
|
||||
}
|
||||
|
||||
public String getValleyPlanLossElectricity() {
|
||||
return valleyPlanLossElectricity;
|
||||
}
|
||||
|
||||
public void setValleyAmount(String valleyAmount) {
|
||||
this.valleyAmount = valleyAmount;
|
||||
}
|
||||
|
||||
public String getValleyAmount() {
|
||||
return valleyAmount;
|
||||
}
|
||||
|
||||
public void setAmmeterTotalStart(String ammeterTotalStart) {
|
||||
this.ammeterTotalStart = ammeterTotalStart;
|
||||
}
|
||||
|
||||
public String getAmmeterTotalStart() {
|
||||
return ammeterTotalStart;
|
||||
}
|
||||
|
||||
public void setAmmeterTotalEnd(String ammeterTotalEnd) {
|
||||
this.ammeterTotalEnd = ammeterTotalEnd;
|
||||
}
|
||||
|
||||
public String getAmmeterTotalEnd() {
|
||||
return ammeterTotalEnd;
|
||||
}
|
||||
|
||||
public void setTotalElectricity(String totalElectricity) {
|
||||
this.totalElectricity = totalElectricity;
|
||||
}
|
||||
|
||||
public String getTotalElectricity() {
|
||||
return totalElectricity;
|
||||
}
|
||||
|
||||
public void setPlanLossTotalElectricity(String planLossTotalElectricity) {
|
||||
this.planLossTotalElectricity = planLossTotalElectricity;
|
||||
}
|
||||
|
||||
public String getPlanLossTotalElectricity() {
|
||||
return planLossTotalElectricity;
|
||||
}
|
||||
|
||||
public void setConsumptionAmount(String consumptionAmount) {
|
||||
this.consumptionAmount = consumptionAmount;
|
||||
}
|
||||
|
||||
public String getConsumptionAmount() {
|
||||
return consumptionAmount;
|
||||
}
|
||||
|
||||
public void setVinCode(String vinCode) {
|
||||
this.vinCode = vinCode;
|
||||
}
|
||||
|
||||
public String getVinCode() {
|
||||
return vinCode;
|
||||
}
|
||||
|
||||
public void setTransactionIdentifier(String transactionIdentifier) {
|
||||
this.transactionIdentifier = transactionIdentifier;
|
||||
}
|
||||
|
||||
public String getTransactionIdentifier() {
|
||||
return transactionIdentifier;
|
||||
}
|
||||
|
||||
public void setTransactionTime(String transactionTime) {
|
||||
this.transactionTime = transactionTime;
|
||||
}
|
||||
|
||||
public String getTransactionTime() {
|
||||
return transactionTime;
|
||||
}
|
||||
|
||||
public void setStopReasonMsg(String stopReasonMsg) {
|
||||
this.stopReasonMsg = stopReasonMsg;
|
||||
}
|
||||
|
||||
public String getStopReasonMsg() {
|
||||
return stopReasonMsg;
|
||||
}
|
||||
|
||||
public void setLogicCard(String logicCard) {
|
||||
this.logicCard = logicCard;
|
||||
}
|
||||
|
||||
public String getLogicCard() {
|
||||
return logicCard;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("orderCode", getOrderCode())
|
||||
.append("pileSn", getPileSn())
|
||||
.append("connectorCode", getConnectorCode())
|
||||
.append("startTime", getStartTime())
|
||||
.append("endTime", getEndTime())
|
||||
.append("sharpPrice", getSharpPrice())
|
||||
.append("sharpUsedElectricity", getSharpUsedElectricity())
|
||||
.append("sharpPlanLossElectricity", getSharpPlanLossElectricity())
|
||||
.append("sharpAmount", getSharpAmount())
|
||||
.append("peakPrice", getPeakPrice())
|
||||
.append("peakUsedElectricity", getPeakUsedElectricity())
|
||||
.append("peakPlanLossElectricity", getPeakPlanLossElectricity())
|
||||
.append("peakAmount", getPeakAmount())
|
||||
.append("flatPrice", getFlatPrice())
|
||||
.append("flatUsedElectricity", getFlatUsedElectricity())
|
||||
.append("flatPlanLossElectricity", getFlatPlanLossElectricity())
|
||||
.append("flatAmount", getFlatAmount())
|
||||
.append("valleyPrice", getValleyPrice())
|
||||
.append("valleyUsedElectricity", getValleyUsedElectricity())
|
||||
.append("valleyPlanLossElectricity", getValleyPlanLossElectricity())
|
||||
.append("valleyAmount", getValleyAmount())
|
||||
.append("ammeterTotalStart", getAmmeterTotalStart())
|
||||
.append("ammeterTotalEnd", getAmmeterTotalEnd())
|
||||
.append("totalElectricity", getTotalElectricity())
|
||||
.append("planLossTotalElectricity", getPlanLossTotalElectricity())
|
||||
.append("consumptionAmount", getConsumptionAmount())
|
||||
.append("vinCode", getVinCode())
|
||||
.append("transactionIdentifier", getTransactionIdentifier())
|
||||
.append("transactionTime", getTransactionTime())
|
||||
.append("stopReasonMsg", getStopReasonMsg())
|
||||
.append("logicCard", getLogicCard())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,185 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 订单对象 order_basic_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-09-30
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class OrderBasicInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
@Excel(name = "订单编号")
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 订单状态(0-待支付;1-充电中;2-待结算;3-待补缴;4-异常;5-可疑;6-订单完成)
|
||||
*/
|
||||
@Excel(name = "订单状态")
|
||||
private String orderStatus;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
@Excel(name = "会员id")
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
@Excel(name = "站点id")
|
||||
private String stationId;
|
||||
|
||||
/**
|
||||
* 充电桩sn号
|
||||
*/
|
||||
@Excel(name = "充电桩sn号")
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 充电桩枪口号
|
||||
*/
|
||||
@Excel(name = "充电桩枪口号")
|
||||
private String connectorCode;
|
||||
|
||||
/**
|
||||
* 充电桩枪口编号
|
||||
*/
|
||||
@Excel(name = "充电桩枪口编号")
|
||||
private String pileConnectorCode;
|
||||
|
||||
/**
|
||||
* 启动方式
|
||||
* 0-后管启动;1-用户app启动
|
||||
*/
|
||||
@Excel(name = "启动方式")
|
||||
private String startMode;
|
||||
|
||||
/**
|
||||
* 支付方式
|
||||
* 1-余额支付;3-白名单支付; 4-微信支付;5-支付宝支付;
|
||||
*/
|
||||
@Excel(name = "支付方式")
|
||||
private String payMode;
|
||||
|
||||
/**
|
||||
* 支付状态
|
||||
* 0-待支付;1-支付完成
|
||||
*/
|
||||
@Excel(name = "支付状态")
|
||||
private String payStatus;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
* 指用户本次需要充电的金额
|
||||
*/
|
||||
@Excel(name = "支付金额")
|
||||
private BigDecimal payAmount;
|
||||
|
||||
/**
|
||||
* 支付时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date payTime;
|
||||
|
||||
/**
|
||||
* 订单总金额 = 电费总金额 + 服务费总金额
|
||||
*/
|
||||
@Excel(name = "订单总金额 = 电费总金额 + 服务费总金额")
|
||||
private BigDecimal orderAmount;
|
||||
|
||||
/**
|
||||
* 充电开始时间
|
||||
*/
|
||||
private Date chargeStartTime;
|
||||
|
||||
/**
|
||||
* 充电结束时间
|
||||
*/
|
||||
private Date chargeEndTime;
|
||||
|
||||
/**
|
||||
* 开始SOC
|
||||
*/
|
||||
private String startSOC;
|
||||
|
||||
/**
|
||||
* 结束SOC
|
||||
*/
|
||||
private String endSOC;
|
||||
|
||||
/**
|
||||
* 异常原因
|
||||
*/
|
||||
private String reason;
|
||||
|
||||
/**
|
||||
* 结算时间
|
||||
*/
|
||||
private Date settlementTime;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
private BigDecimal refundAmount;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
private List<OrderDetail> orderDetailList;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", id)
|
||||
.append("orderCode", orderCode)
|
||||
.append("orderStatus", orderStatus)
|
||||
.append("memberId", memberId)
|
||||
.append("stationId", stationId)
|
||||
.append("pileSn", pileSn)
|
||||
.append("connectorCode", connectorCode)
|
||||
.append("startMode", startMode)
|
||||
.append("payMode", payMode)
|
||||
.append("payStatus", payStatus)
|
||||
.append("payAmount", payAmount)
|
||||
.append("payTime", payTime)
|
||||
.append("orderAmount", orderAmount)
|
||||
.append("chargeStartTime", chargeStartTime)
|
||||
.append("chargeEndTime", chargeEndTime)
|
||||
.append("startSOC", startSOC)
|
||||
.append("endSOC", endSOC)
|
||||
.append("reason", reason)
|
||||
.append("delFlag", delFlag)
|
||||
.append("orderDetailList", orderDetailList)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,319 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 订单详情对象 order_detail
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-09-30
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class OrderDetail extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
@Excel(name = "订单编号")
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 总用电量
|
||||
*/
|
||||
@Excel(name = "总用电量")
|
||||
private BigDecimal totalUsedElectricity;
|
||||
|
||||
/**
|
||||
* 订单总金额(电费总额+服务费总额)
|
||||
*/
|
||||
@Excel(name = "订单总金额", readConverterExp = "电=费总额+服务费总额")
|
||||
private BigDecimal totalOrderAmount;
|
||||
|
||||
/**
|
||||
* 电费总金额(各时段消耗电费总金额)
|
||||
*/
|
||||
@Excel(name = "电费总金额", readConverterExp = "各=时段消耗电费总金额")
|
||||
private BigDecimal totalElectricityAmount;
|
||||
|
||||
/**
|
||||
* 服务费总金额(各时段服务费总金额)
|
||||
*/
|
||||
@Excel(name = "服务费总金额", readConverterExp = "各=时段服务费总金额")
|
||||
private BigDecimal totalServiceAmount;
|
||||
|
||||
/**
|
||||
* 尖时段用电量
|
||||
*/
|
||||
@Excel(name = "尖时段用电量")
|
||||
private BigDecimal sharpUsedElectricity;
|
||||
|
||||
/**
|
||||
* 尖时段电费单价
|
||||
*/
|
||||
@Excel(name = "尖时段电费单价")
|
||||
private BigDecimal sharpElectricityPrice;
|
||||
|
||||
/**
|
||||
* 尖时段服务费单价
|
||||
*/
|
||||
@Excel(name = "尖时段服务费单价")
|
||||
private BigDecimal sharpServicePrice;
|
||||
|
||||
/**
|
||||
* 峰时段用电量
|
||||
*/
|
||||
@Excel(name = "峰时段用电量")
|
||||
private BigDecimal peakUsedElectricity;
|
||||
|
||||
/**
|
||||
* 峰时段电费单价
|
||||
*/
|
||||
@Excel(name = "峰时段电费单价")
|
||||
private BigDecimal peakElectricityPrice;
|
||||
|
||||
/**
|
||||
* 峰时段服务费单价
|
||||
*/
|
||||
@Excel(name = "峰时段服务费单价")
|
||||
private BigDecimal peakServicePrice;
|
||||
|
||||
/**
|
||||
* 平时段用电量
|
||||
*/
|
||||
@Excel(name = "平时段用电量")
|
||||
private BigDecimal flatUsedElectricity;
|
||||
|
||||
/**
|
||||
* 平时段电费单价
|
||||
*/
|
||||
@Excel(name = "平时段电费单价")
|
||||
private BigDecimal flatElectricityPrice;
|
||||
|
||||
/**
|
||||
* 平时段服务费单价
|
||||
*/
|
||||
@Excel(name = "平时段服务费单价")
|
||||
private BigDecimal flatServicePrice;
|
||||
|
||||
/**
|
||||
* 谷时段用电量
|
||||
*/
|
||||
@Excel(name = "谷时段用电量")
|
||||
private BigDecimal valleyUsedElectricity;
|
||||
|
||||
/**
|
||||
* 谷时段电费单价
|
||||
*/
|
||||
@Excel(name = "谷时段电费单价")
|
||||
private BigDecimal valleyElectricityPrice;
|
||||
|
||||
/**
|
||||
* 谷时段服务费单价
|
||||
*/
|
||||
@Excel(name = "谷时段服务费单价")
|
||||
private BigDecimal valleyServicePrice;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setOrderCode(String orderCode) {
|
||||
this.orderCode = orderCode;
|
||||
}
|
||||
|
||||
public String getOrderCode() {
|
||||
return orderCode;
|
||||
}
|
||||
|
||||
public void setTotalUsedElectricity(BigDecimal totalUsedElectricity) {
|
||||
this.totalUsedElectricity = totalUsedElectricity;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalUsedElectricity() {
|
||||
return totalUsedElectricity;
|
||||
}
|
||||
|
||||
public void setTotalOrderAmount(BigDecimal totalOrderAmount) {
|
||||
this.totalOrderAmount = totalOrderAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalOrderAmount() {
|
||||
return totalOrderAmount;
|
||||
}
|
||||
|
||||
public void setTotalElectricityAmount(BigDecimal totalElectricityAmount) {
|
||||
this.totalElectricityAmount = totalElectricityAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalElectricityAmount() {
|
||||
return totalElectricityAmount;
|
||||
}
|
||||
|
||||
public void setTotalServiceAmount(BigDecimal totalServiceAmount) {
|
||||
this.totalServiceAmount = totalServiceAmount;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalServiceAnount() {
|
||||
return totalServiceAmount;
|
||||
}
|
||||
|
||||
public void setSharpUsedElectricity(BigDecimal sharpUsedElectricity) {
|
||||
this.sharpUsedElectricity = sharpUsedElectricity;
|
||||
}
|
||||
|
||||
public BigDecimal getSharpUsedElectricity() {
|
||||
return sharpUsedElectricity;
|
||||
}
|
||||
|
||||
public void setSharpElectricityPrice(BigDecimal sharpElectricityPrice) {
|
||||
this.sharpElectricityPrice = sharpElectricityPrice;
|
||||
}
|
||||
|
||||
public BigDecimal getSharpElectricityPrice() {
|
||||
return sharpElectricityPrice;
|
||||
}
|
||||
|
||||
public void setSharpServicePrice(BigDecimal sharpServicePrice) {
|
||||
this.sharpServicePrice = sharpServicePrice;
|
||||
}
|
||||
|
||||
public BigDecimal getSharpServicePrice() {
|
||||
return sharpServicePrice;
|
||||
}
|
||||
|
||||
public void setPeakUsedElectricity(BigDecimal peakUsedElectricity) {
|
||||
this.peakUsedElectricity = peakUsedElectricity;
|
||||
}
|
||||
|
||||
public BigDecimal getPeakUsedElectricity() {
|
||||
return peakUsedElectricity;
|
||||
}
|
||||
|
||||
public void setPeakElectricityPrice(BigDecimal peakElectricityPrice) {
|
||||
this.peakElectricityPrice = peakElectricityPrice;
|
||||
}
|
||||
|
||||
public BigDecimal getPeakElectricityPrice() {
|
||||
return peakElectricityPrice;
|
||||
}
|
||||
|
||||
public void setPeakServicePrice(BigDecimal peakServicePrice) {
|
||||
this.peakServicePrice = peakServicePrice;
|
||||
}
|
||||
|
||||
public BigDecimal getPeakServicePrice() {
|
||||
return peakServicePrice;
|
||||
}
|
||||
|
||||
public void setFlatUsedElectricity(BigDecimal flatUsedElectricity) {
|
||||
this.flatUsedElectricity = flatUsedElectricity;
|
||||
}
|
||||
|
||||
public BigDecimal getFlatUsedElectricity() {
|
||||
return flatUsedElectricity;
|
||||
}
|
||||
|
||||
public void setFlatElectricityPrice(BigDecimal flatElectricityPrice) {
|
||||
this.flatElectricityPrice = flatElectricityPrice;
|
||||
}
|
||||
|
||||
public BigDecimal getFlatElectricityPrice() {
|
||||
return flatElectricityPrice;
|
||||
}
|
||||
|
||||
public void setFlatServicePrice(BigDecimal flatServicePrice) {
|
||||
this.flatServicePrice = flatServicePrice;
|
||||
}
|
||||
|
||||
public BigDecimal getFlatServicePrice() {
|
||||
return flatServicePrice;
|
||||
}
|
||||
|
||||
public void setValleyUsedElectricity(BigDecimal valleyUsedElectricity) {
|
||||
this.valleyUsedElectricity = valleyUsedElectricity;
|
||||
}
|
||||
|
||||
public BigDecimal getValleyUsedElectricity() {
|
||||
return valleyUsedElectricity;
|
||||
}
|
||||
|
||||
public void setValleyElectricityPrice(BigDecimal valleyElectricityPrice) {
|
||||
this.valleyElectricityPrice = valleyElectricityPrice;
|
||||
}
|
||||
|
||||
public BigDecimal getValleyElectricityPrice() {
|
||||
return valleyElectricityPrice;
|
||||
}
|
||||
|
||||
public void setValleyServicePrice(BigDecimal valleyServicePrice) {
|
||||
this.valleyServicePrice = valleyServicePrice;
|
||||
}
|
||||
|
||||
public BigDecimal getValleyServicePrice() {
|
||||
return valleyServicePrice;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("orderCode", getOrderCode())
|
||||
.append("totalUsedElectricity", getTotalUsedElectricity())
|
||||
.append("totalOrderAmount", getTotalOrderAmount())
|
||||
.append("totalElectricityAmount", getTotalElectricityAmount())
|
||||
.append("totalServiceAnount", getTotalServiceAnount())
|
||||
.append("sharpUsedElectricity", getSharpUsedElectricity())
|
||||
.append("sharpElectricityPrice", getSharpElectricityPrice())
|
||||
.append("sharpServicePrice", getSharpServicePrice())
|
||||
.append("peakUsedElectricity", getPeakUsedElectricity())
|
||||
.append("peakElectricityPrice", getPeakElectricityPrice())
|
||||
.append("peakServicePrice", getPeakServicePrice())
|
||||
.append("flatUsedElectricity", getFlatUsedElectricity())
|
||||
.append("flatElectricityPrice", getFlatElectricityPrice())
|
||||
.append("flatServicePrice", getFlatServicePrice())
|
||||
.append("valleyUsedElectricity", getValleyUsedElectricity())
|
||||
.append("valleyElectricityPrice", getValleyElectricityPrice())
|
||||
.append("valleyServicePrice", getValleyServicePrice())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.enums.ykc.OrderPayRecordEnum;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 订单支付记录
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class OrderPayRecord {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 支付方式(1-本金余额支付; 2-赠送余额支付; 3-白名单支付; 4-微信支付; 5-支付宝支付)
|
||||
* @see OrderPayRecordEnum
|
||||
*/
|
||||
private String payMode;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
*/
|
||||
private BigDecimal payAmount;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
private BigDecimal refundAmount;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
}
|
||||
@@ -0,0 +1,215 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 设备管理对象 pile_basic_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-08-26
|
||||
*/
|
||||
public class PileBasicInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 桩号
|
||||
*/
|
||||
@Excel(name = "桩号")
|
||||
private String sn;
|
||||
|
||||
/**
|
||||
* 状态(0-未知;1-在线;2-离线;3-故障)
|
||||
*/
|
||||
// @Excel(name = "状态", readConverterExp = "0-未知;1-在线;2-离线;3-故障")
|
||||
// private String status;
|
||||
|
||||
/**
|
||||
* 经营类型(1-运营桩;2-个人桩)
|
||||
*/
|
||||
@Excel(name = "经营类型", readConverterExp = "1=-运营桩;2-个人桩")
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 软件协议(1-云快充;2-永联)
|
||||
*/
|
||||
@Excel(name = "软件协议", readConverterExp = "1=-云快充;2-永联")
|
||||
private String softwareProtocol;
|
||||
|
||||
/**
|
||||
* 生产日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "生产日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date productionDate;
|
||||
|
||||
/**
|
||||
* 证书编号
|
||||
*/
|
||||
@Excel(name = "证书编号")
|
||||
private Long licenceId;
|
||||
|
||||
/**
|
||||
* 充电桩型号
|
||||
*/
|
||||
@Excel(name = "充电桩型号")
|
||||
private Long modelId;
|
||||
|
||||
/**
|
||||
* sim卡id
|
||||
*/
|
||||
@Excel(name = "sim卡id")
|
||||
private Long simId;
|
||||
|
||||
/**
|
||||
* 运营商id
|
||||
*/
|
||||
@Excel(name = "运营商id")
|
||||
private Long merchantId;
|
||||
|
||||
/**
|
||||
* 充电站id
|
||||
*/
|
||||
@Excel(name = "充电站id")
|
||||
private Long stationId;
|
||||
|
||||
/**
|
||||
* 故障原因
|
||||
*/
|
||||
@Excel(name = "故障原因")
|
||||
private String faultReason;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setSn(String sn) {
|
||||
this.sn = sn;
|
||||
}
|
||||
|
||||
public String getSn() {
|
||||
return sn;
|
||||
}
|
||||
|
||||
public void setBusinessType(String businessType) {
|
||||
this.businessType = businessType;
|
||||
}
|
||||
|
||||
public String getBusinessType() {
|
||||
return businessType;
|
||||
}
|
||||
|
||||
public void setSoftwareProtocol(String softwareProtocol) {
|
||||
this.softwareProtocol = softwareProtocol;
|
||||
}
|
||||
|
||||
public String getSoftwareProtocol() {
|
||||
return softwareProtocol;
|
||||
}
|
||||
|
||||
public void setProductionDate(Date productionDate) {
|
||||
this.productionDate = productionDate;
|
||||
}
|
||||
|
||||
public Date getProductionDate() {
|
||||
return productionDate;
|
||||
}
|
||||
|
||||
public void setLicenceId(Long licenceId) {
|
||||
this.licenceId = licenceId;
|
||||
}
|
||||
|
||||
public Long getLicenceId() {
|
||||
return licenceId;
|
||||
}
|
||||
|
||||
public void setModelId(Long modelId) {
|
||||
this.modelId = modelId;
|
||||
}
|
||||
|
||||
public Long getModelId() {
|
||||
return modelId;
|
||||
}
|
||||
|
||||
public void setSimId(Long simId) {
|
||||
this.simId = simId;
|
||||
}
|
||||
|
||||
public Long getSimId() {
|
||||
return simId;
|
||||
}
|
||||
|
||||
public void setMerchantId(Long merchantId) {
|
||||
this.merchantId = merchantId;
|
||||
}
|
||||
|
||||
public Long getMerchantId() {
|
||||
return merchantId;
|
||||
}
|
||||
|
||||
public void setStationId(Long stationId) {
|
||||
this.stationId = stationId;
|
||||
}
|
||||
|
||||
public Long getStationId() {
|
||||
return stationId;
|
||||
}
|
||||
|
||||
public void setFaultReason(String faultReason) {
|
||||
this.faultReason = faultReason;
|
||||
}
|
||||
|
||||
public String getFaultReason() {
|
||||
return faultReason;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("sn", getSn())
|
||||
.append("businessType", getBusinessType())
|
||||
.append("softwareProtocol", getSoftwareProtocol())
|
||||
.append("productionDate", getProductionDate())
|
||||
.append("licenceId", getLicenceId())
|
||||
.append("modelId", getModelId())
|
||||
.append("simId", getSimId())
|
||||
.append("merchantId", getMerchantId())
|
||||
.append("stationId", getStationId())
|
||||
.append("faultReason", getFaultReason())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 计费模板详情对象 pile_billing_detail
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-09-20
|
||||
*/
|
||||
public class PileBillingDetail extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 计费模板编号
|
||||
*/
|
||||
@Excel(name = "计费模板编号")
|
||||
private String templateCode;
|
||||
|
||||
/**
|
||||
* 时段类型(1-尖时;2-峰时;3-平时;4-谷时)
|
||||
*/
|
||||
@Excel(name = "时段类型", readConverterExp = "1=-尖时;2-峰时;3-平时;4-谷时")
|
||||
private String timeType;
|
||||
|
||||
/**
|
||||
* 电费
|
||||
*/
|
||||
@Excel(name = "电费")
|
||||
private BigDecimal electricityPrice;
|
||||
|
||||
/**
|
||||
* 服务费
|
||||
*/
|
||||
@Excel(name = "服务费")
|
||||
private BigDecimal servicePrice;
|
||||
|
||||
/**
|
||||
* 适用时间段
|
||||
*/
|
||||
@Excel(name = "适用时间段")
|
||||
private String applyTime;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setTemplateCode(String templateCode) {
|
||||
this.templateCode = templateCode;
|
||||
}
|
||||
|
||||
public String getTemplateCode() {
|
||||
return templateCode;
|
||||
}
|
||||
|
||||
public void setTimeType(String timeType) {
|
||||
this.timeType = timeType;
|
||||
}
|
||||
|
||||
public String getTimeType() {
|
||||
return timeType;
|
||||
}
|
||||
|
||||
public void setElectricityPrice(BigDecimal electricityPrice) {
|
||||
this.electricityPrice = electricityPrice;
|
||||
}
|
||||
|
||||
public BigDecimal getElectricityPrice() {
|
||||
return electricityPrice;
|
||||
}
|
||||
|
||||
public void setServicePrice(BigDecimal servicePrice) {
|
||||
this.servicePrice = servicePrice;
|
||||
}
|
||||
|
||||
public BigDecimal getServicePrice() {
|
||||
return servicePrice;
|
||||
}
|
||||
|
||||
public void setApplyTime(String applyTime) {
|
||||
this.applyTime = applyTime;
|
||||
}
|
||||
|
||||
public String getApplyTime() {
|
||||
return applyTime;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("templateCode", getTemplateCode())
|
||||
.append("timeType", getTimeType())
|
||||
.append("electricityPrice", getElectricityPrice())
|
||||
.append("servicePrice", getServicePrice())
|
||||
.append("applyTime", getApplyTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 充电桩和计费模板关系
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class PileBillingRelation {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 桩编号
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 计费模板编号
|
||||
*/
|
||||
private String billingTemplateCode;
|
||||
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private String stationId;
|
||||
}
|
||||
@@ -0,0 +1,154 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 计费模板对象 pile_billing_template
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-09-20
|
||||
*/
|
||||
@Data
|
||||
public class PileBillingTemplate extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 计费模板编号
|
||||
*/
|
||||
private String templateCode;
|
||||
|
||||
/**
|
||||
* 模板名称
|
||||
*/
|
||||
@Excel(name = "模板名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 车辆类型(1-电动汽车;2-电动自行车)
|
||||
*/
|
||||
@Excel(name = "车辆类型", readConverterExp = "1=-电动汽车;2-电动自行车")
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 充电站id
|
||||
*/
|
||||
@Excel(name = "充电站id")
|
||||
private Long stationId;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 计费模板详情信息
|
||||
*/
|
||||
private List<PileBillingDetail> pileBillingDetailList;
|
||||
|
||||
/**
|
||||
* 公共模板标识(0-私有;1-公共)
|
||||
*/
|
||||
private String publicFlag;
|
||||
|
||||
/**
|
||||
* 发布时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date publishTime;
|
||||
|
||||
public String getPublicFlag() {
|
||||
return publicFlag;
|
||||
}
|
||||
|
||||
public void setPublicFlag(String publicFlag) {
|
||||
this.publicFlag = publicFlag;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setTemplateCode(String templateCode) {
|
||||
this.templateCode = templateCode;
|
||||
}
|
||||
|
||||
public String getTemplateCode() {
|
||||
return templateCode;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setStationId(Long stationId) {
|
||||
this.stationId = stationId;
|
||||
}
|
||||
|
||||
public Long getStationId() {
|
||||
return stationId;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
public List<PileBillingDetail> getPileBillingDetailList() {
|
||||
return pileBillingDetailList;
|
||||
}
|
||||
|
||||
public void setPileBillingDetailList(List<PileBillingDetail> pileBillingDetailList) {
|
||||
this.pileBillingDetailList = pileBillingDetailList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("templateCode", getTemplateCode())
|
||||
.append("name", getName())
|
||||
.append("remark", getRemark())
|
||||
.append("type", getType())
|
||||
.append("stationId", getStationId())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.append("pileBillingDetailList", getPileBillingDetailList())
|
||||
.append("publicFlag", getPublicFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 充电桩枪口信息对象 pile_connector_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-08-31
|
||||
*/
|
||||
public class PileConnectorInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@Excel(name = "名称")
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 充电枪编号,由充电桩SN+01生成
|
||||
*/
|
||||
@Excel(name = "充电枪编号,由充电桩SN+01生成")
|
||||
private String pileConnectorCode;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
* 0:离网
|
||||
* 1:空闲
|
||||
* 2:占用(未充电)
|
||||
* 3:占用(充电中)
|
||||
* 4:占用(预约锁定)
|
||||
* 255:故障
|
||||
*/
|
||||
@Excel(name = "状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 所属充电桩id
|
||||
*/
|
||||
@Excel(name = "所属充电桩id")
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String getPileConnectorCode() {
|
||||
return pileConnectorCode;
|
||||
}
|
||||
|
||||
public void setPileConnectorCode(String pileConnectorCode) {
|
||||
this.pileConnectorCode = pileConnectorCode;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setPileSn(String pileSn) {
|
||||
this.pileSn = pileSn;
|
||||
}
|
||||
|
||||
public String getPileSn() {
|
||||
return pileSn;
|
||||
}
|
||||
|
||||
public void setDelFlag(String delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("name", getName())
|
||||
.append("pileConnectorCode", getPileConnectorCode())
|
||||
.append("status", getStatus())
|
||||
.append("pileId", getPileSn())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 充电桩证书信息对象 pile_licence_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-08-27
|
||||
*/
|
||||
public class PileLicenceInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键 */
|
||||
private Long id;
|
||||
|
||||
/** 证书名称 */
|
||||
@Excel(name = "证书名称")
|
||||
private String licenceName;
|
||||
|
||||
/** 运营商id */
|
||||
@Excel(name = "运营商id")
|
||||
private Long merchantId;
|
||||
|
||||
/** 状态(0-待激活;1-正常;2-过期) */
|
||||
@Excel(name = "状态", readConverterExp = "0=-待激活;1-正常;2-过期")
|
||||
private String status;
|
||||
|
||||
/** 过期时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date expireTime;
|
||||
|
||||
/** 删除标识(0-正常;1-删除) */
|
||||
private String delFlag;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setLicenceName(String licenceName)
|
||||
{
|
||||
this.licenceName = licenceName;
|
||||
}
|
||||
|
||||
public String getLicenceName()
|
||||
{
|
||||
return licenceName;
|
||||
}
|
||||
public void setMerchantId(Long merchantId)
|
||||
{
|
||||
this.merchantId = merchantId;
|
||||
}
|
||||
|
||||
public Long getMerchantId()
|
||||
{
|
||||
return merchantId;
|
||||
}
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
public void setExpireTime(Date expireTime)
|
||||
{
|
||||
this.expireTime = expireTime;
|
||||
}
|
||||
|
||||
public Date getExpireTime()
|
||||
{
|
||||
return expireTime;
|
||||
}
|
||||
public void setDelFlag(String delFlag)
|
||||
{
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
|
||||
public String getDelFlag()
|
||||
{
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("licenceName", getLicenceName())
|
||||
.append("merchantId", getMerchantId())
|
||||
.append("status", getStatus())
|
||||
.append("expireTime", getExpireTime())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 桩与用户绑定关系对象 pile_member_relation
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2023-02-21
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class PileMemberRelation extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** $column.columnComment */
|
||||
private Integer id;
|
||||
|
||||
/** 桩编码 */
|
||||
@Excel(name = "桩编码")
|
||||
private String pileSn;
|
||||
|
||||
/** 会员id */
|
||||
@Excel(name = "会员id")
|
||||
private String memberId;
|
||||
|
||||
/** 身份类型(1-管理员,2-用户) */
|
||||
@Excel(name = "身份类型", readConverterExp = "1=-管理员,2-用户")
|
||||
private String type;
|
||||
|
||||
public void setId(Integer id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("pileSn", getPileSn())
|
||||
.append("memberId", getMemberId())
|
||||
.append("type", getType())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 充电桩运营商信息对象 pile_merchant_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-08-27
|
||||
*/
|
||||
@Data
|
||||
public class PileMerchantInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 运营商名称
|
||||
*/
|
||||
@Excel(name = "运营商名称")
|
||||
private String merchantName;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
@Excel(name = "地址")
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
* 0-失效;1-生效
|
||||
*/
|
||||
@Excel(name = "状态")
|
||||
private String status;
|
||||
|
||||
/**
|
||||
* 组织机构代码
|
||||
*/
|
||||
@Excel(name = "组织机构代码")
|
||||
private String organizationCode;
|
||||
|
||||
/**
|
||||
* 负责人姓名
|
||||
*/
|
||||
@Excel(name = "负责人姓名")
|
||||
private String managerName;
|
||||
|
||||
/**
|
||||
* 负责人电话号码
|
||||
*/
|
||||
@Excel(name = "负责人电话号码")
|
||||
private String managerPhone;
|
||||
|
||||
/**
|
||||
* 客服电话号码
|
||||
*/
|
||||
@Excel(name = "客服电话号码")
|
||||
private String servicePhone;
|
||||
|
||||
/**
|
||||
* logo
|
||||
*/
|
||||
@Excel(name = "logo")
|
||||
private String logoUrl;
|
||||
|
||||
/**
|
||||
* 运营商的小程序appId
|
||||
*/
|
||||
private String appId;
|
||||
|
||||
/**
|
||||
* 部门id
|
||||
*/
|
||||
private String deptId;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("merchantName", getMerchantName())
|
||||
.append("address", getAddress())
|
||||
.append("status", getStatus())
|
||||
.append("organizationCode", getOrganizationCode())
|
||||
.append("managerName", getManagerName())
|
||||
.append("managerPhone", getManagerPhone())
|
||||
.append("servicePhone", getServicePhone())
|
||||
.append("logoUrl", getLogoUrl())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
/**
|
||||
* 充电桩型号信息对象 pile_model_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-09-07
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class PileModelInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 型号名称
|
||||
*/
|
||||
@Excel(name = "型号名称")
|
||||
private String modelName;
|
||||
|
||||
/**
|
||||
* 额定功率,单位W
|
||||
*/
|
||||
@Excel(name = "额定功率,单位kW")
|
||||
private String ratedPower;
|
||||
|
||||
/**
|
||||
* 额定电流,单位A
|
||||
*/
|
||||
@Excel(name = "额定电流,单位A")
|
||||
private String ratedCurrent;
|
||||
|
||||
/**
|
||||
* 额定电压,单位V
|
||||
*/
|
||||
@Excel(name = "额定电压,单位V")
|
||||
private String ratedVoltage;
|
||||
|
||||
/**
|
||||
* 充电类型(1-快充;2-慢充)
|
||||
*/
|
||||
@Excel(name = "充电类型", readConverterExp = "1=-快充;2-慢充")
|
||||
private String speedType;
|
||||
|
||||
/**
|
||||
* 充电桩类型(1-汽车桩,2-电单车)
|
||||
*/
|
||||
@Excel(name = "充电桩类型", readConverterExp = "1=-汽车桩,2-电单车")
|
||||
private String chargerPileType;
|
||||
|
||||
/**
|
||||
* 充电枪数量
|
||||
*/
|
||||
@Excel(name = "充电枪数量")
|
||||
private Long connectorNum;
|
||||
|
||||
/**
|
||||
* 充电接口标准
|
||||
*/
|
||||
@Excel(name = "充电接口标准")
|
||||
private String interfaceStandard;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", getId())
|
||||
.append("modelName", getModelName())
|
||||
.append("ratedPower", getRatedPower())
|
||||
.append("ratedCurrent", getRatedCurrent())
|
||||
.append("ratedVoltage", getRatedVoltage())
|
||||
.append("speedType", getSpeedType())
|
||||
.append("chargerPileType", getChargerPileType())
|
||||
.append("connectorNum", getConnectorNum())
|
||||
.append("interfaceStandard", getInterfaceStandard())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("delFlag", getDelFlag())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class PileMsgRecord {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 桩编号
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 帧类型
|
||||
*/
|
||||
private String frameType;
|
||||
|
||||
/**
|
||||
* 枪口号
|
||||
*/
|
||||
private String connectorCode;
|
||||
|
||||
/**
|
||||
* 枪口编号
|
||||
*/
|
||||
private String pileConnectorCode;
|
||||
|
||||
/**
|
||||
* 原始报文
|
||||
*/
|
||||
private String originalMsg;
|
||||
|
||||
/**
|
||||
* json格式报文
|
||||
*/
|
||||
private String jsonMsg;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private String createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.*;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 充电桩SIM卡信息对象 pile_sim_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-08-26
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class PileSimInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键 */
|
||||
private Long id;
|
||||
|
||||
/** 套餐名称 */
|
||||
@Excel(name = "套餐名称")
|
||||
private String name;
|
||||
|
||||
/** ICCID */
|
||||
@Excel(name = "ICCID")
|
||||
private String iccid;
|
||||
|
||||
/** 状态(0-正常,1-强制断网,2-客户断网,3-超套停,4-服务结束,5-提请销卡,6-销卡) */
|
||||
@Excel(name = "状态", readConverterExp = "0=-正常,1-强制断网,2-客户断网,3-超套停,4-服务结束,5-提请销卡,6-销卡")
|
||||
private String status;
|
||||
|
||||
/** sim卡供应商 */
|
||||
@Excel(name = "sim卡供应商")
|
||||
private String simSupplier;
|
||||
|
||||
/** 套餐总流量 */
|
||||
@Excel(name = "套餐总流量")
|
||||
private String totalData;
|
||||
|
||||
/** 剩余流量 */
|
||||
@Excel(name = "剩余流量")
|
||||
private String surplusData;
|
||||
|
||||
/** 到期时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date expireTime;
|
||||
|
||||
/** SIM卡运营商(china_telecom - 中国电信, china_mobile - 中国移动, china_unicom - 中国联通) */
|
||||
@Excel(name = "SIM卡运营商(china_telecom - 中国电信, china_mobile - 中国移动, china_unicom - 中国联通)")
|
||||
private String operator;
|
||||
|
||||
/** 删除标识(0-正常;1-删除) */
|
||||
private String delFlag;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,355 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import com.jsowell.common.annotation.Excel;
|
||||
import com.jsowell.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 充电站信息对象 pile_station_info
|
||||
*
|
||||
* @author jsowell
|
||||
* @date 2022-08-30
|
||||
*/
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class PileStationInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 站点id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 运营商id
|
||||
*/
|
||||
private Long merchantId;
|
||||
|
||||
/**
|
||||
* 站点名称
|
||||
*/
|
||||
@Excel(name = "站点名称")
|
||||
private String stationName;
|
||||
|
||||
private String deptId;
|
||||
|
||||
/**
|
||||
* 是否独立报桩(0-否;1-是)
|
||||
*/
|
||||
@Excel(name = "是否独立报桩", readConverterExp = "0=-否;1-是")
|
||||
private String aloneApply;
|
||||
|
||||
/**
|
||||
* 国网电费账单户号
|
||||
*/
|
||||
@Excel(name = "国网电费账单户号")
|
||||
private String accountNumber;
|
||||
|
||||
/**
|
||||
* 容量,独立电表申请的功率保留小数点后4位
|
||||
*/
|
||||
@Excel(name = "容量")
|
||||
private BigDecimal capacity;
|
||||
|
||||
/**
|
||||
* 公共停车场库(0-否;1-是)
|
||||
*/
|
||||
@Excel(name = "公共停车场库(0-否;1-是)")
|
||||
private String publicParking;
|
||||
|
||||
/**
|
||||
* 停车场库编号
|
||||
*/
|
||||
@Excel(name = "停车场库编号")
|
||||
private String parkingNumber;
|
||||
|
||||
/**
|
||||
* 充电站国家代码
|
||||
*/
|
||||
@Excel(name = "充电站国家代码")
|
||||
private String countryCode;
|
||||
|
||||
/**
|
||||
* 充电站省市辖区编码
|
||||
*/
|
||||
@Excel(name = "充电站省市辖区编码")
|
||||
private String areaCode;
|
||||
|
||||
/**
|
||||
* 站点地址
|
||||
*/
|
||||
@Excel(name = "站点地址")
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 站点电话
|
||||
*/
|
||||
@Excel(name = "站点电话")
|
||||
private String stationTel;
|
||||
|
||||
/**
|
||||
* 服务电话,例如400电话
|
||||
*/
|
||||
@Excel(name = "服务电话,例如400电话")
|
||||
private String serviceTel;
|
||||
|
||||
/**
|
||||
* 站点状态【1:公共
|
||||
* 50:个人
|
||||
* 100:公交(专用)
|
||||
* 101:环卫(专用)
|
||||
* 102:物流(专用)
|
||||
* 103:出租车(专用)
|
||||
* 104:分时租赁(专用)
|
||||
* 105:小区共享(专用)
|
||||
* 106:单位(专用)
|
||||
* 255:其他
|
||||
* 】
|
||||
*/
|
||||
@Excel(name = "站点状态", readConverterExp = "专=用")
|
||||
private String stationType;
|
||||
|
||||
/**
|
||||
* 站点状态【0:未知
|
||||
* 1:建设中
|
||||
* 5:关闭下线
|
||||
* 6:维护中
|
||||
* 50:正常使用
|
||||
* 】
|
||||
*/
|
||||
@Excel(name = "站点状态")
|
||||
private String stationStatus;
|
||||
|
||||
/**
|
||||
* 站点管理员名称
|
||||
*/
|
||||
@Excel(name = "站点管理员名称")
|
||||
private String stationAdminName;
|
||||
|
||||
/**
|
||||
* 车位数量(默认:0 未知)
|
||||
*/
|
||||
@Excel(name = "车位数量(默认:0 未知)")
|
||||
private String parkNums;
|
||||
|
||||
/**
|
||||
* 经度GCJ-02坐标系保留小数点后6位
|
||||
*/
|
||||
@Excel(name = "经度GCJ-02坐标系保留小数点后6位")
|
||||
private String stationLng;
|
||||
|
||||
/**
|
||||
* 纬度GCJ-02坐标系保留小数点后6位
|
||||
*/
|
||||
@Excel(name = "纬度GCJ-02坐标系保留小数点后6位")
|
||||
private String stationLat;
|
||||
|
||||
/**
|
||||
* 站点引导,用于引导车主找到充电车位
|
||||
*/
|
||||
@Excel(name = "站点引导,用于引导车主找到充电车位")
|
||||
private String siteGuide;
|
||||
|
||||
/**
|
||||
* 建设场所(1:居民区
|
||||
* 2:公共机构
|
||||
* 3:企事业单位
|
||||
* 4:写字楼
|
||||
* 5:工业园区
|
||||
* 6:交通枢纽
|
||||
* 7:大型文体设施
|
||||
* 8:城市绿地
|
||||
* 9:大型建筑配建停车场
|
||||
* 10:路边停车位
|
||||
* 11:城际高速服务区
|
||||
* 12:风景区
|
||||
* 13:公交场站
|
||||
* 14:加油加气站
|
||||
* 15:出租车
|
||||
* 255:其他
|
||||
* )
|
||||
*/
|
||||
@Excel(name = "建设场所")
|
||||
private String construction;
|
||||
|
||||
/**
|
||||
* 站点照片
|
||||
*/
|
||||
@Excel(name = "站点照片")
|
||||
private String pictures;
|
||||
|
||||
/**
|
||||
* 使用车型描述(描述该站点接受的车大小以及类型,如大巴、物流车、私家乘用车、出租车等 )
|
||||
*/
|
||||
@Excel(name = "使用车型描述(描述该站点接受的车大小以及类型,如大巴、物流车、私家乘用车、出租车等 )")
|
||||
private String matchCars;
|
||||
|
||||
/**
|
||||
* 车位楼层及数量描述
|
||||
*/
|
||||
@Excel(name = "车位楼层及数量描述")
|
||||
private String parkInfo;
|
||||
|
||||
/**
|
||||
* 停车场产权方
|
||||
*/
|
||||
@Excel(name = "停车场产权方")
|
||||
private String parkOwner;
|
||||
|
||||
/**
|
||||
* 停车场管理人(如:XX 物业)
|
||||
*/
|
||||
@Excel(name = "停车场管理人", readConverterExp = "如=:XX,物=业")
|
||||
private String parkManager;
|
||||
|
||||
/**
|
||||
* 是否全天开放
|
||||
* 0:否
|
||||
* 1:是
|
||||
*/
|
||||
@Excel(name = "是否全天开放")
|
||||
private String openAllDay;
|
||||
|
||||
/**
|
||||
* 营业时间描述
|
||||
*/
|
||||
@Excel(name = "营业时间描述")
|
||||
private String businessHours;
|
||||
|
||||
/**
|
||||
* 是否停车免费
|
||||
* 0:否
|
||||
* 1:是
|
||||
*/
|
||||
@Excel(name = "是否停车免费")
|
||||
private String parkFree;
|
||||
|
||||
/**
|
||||
* 支付方式:0-刷卡、1-线上、2-现金
|
||||
* 其中电子钱包类卡为刷卡,身份鉴权卡、微信/ 支付宝、APP为线上
|
||||
*/
|
||||
@Excel(name = "支付方式")
|
||||
private String payment;
|
||||
|
||||
/**
|
||||
* 是否支持预约 (0为不支持预约、1为支持预约。不填默认为0)
|
||||
*/
|
||||
@Excel(name = "是否支持预约 (0为不支持预约、1为支持预约。不填默认为0)")
|
||||
private String supportOrder;
|
||||
|
||||
/**
|
||||
* 是否对外开放 (0-否;1-是)
|
||||
*/
|
||||
private String publicFlag;
|
||||
|
||||
/**
|
||||
* 是否营业中(0-否;1-是)
|
||||
*/
|
||||
private String openFlag;
|
||||
|
||||
/**
|
||||
* 是否靠近卫生间 (0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否靠近卫生间 (0-无;1-有)")
|
||||
private String toiletFlag;
|
||||
|
||||
/**
|
||||
* 是否靠近便利店(0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否靠近便利店(0-无;1-有)")
|
||||
private String storeFlag;
|
||||
|
||||
/**
|
||||
* 是否靠近餐厅(0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否靠近餐厅(0-无;1-有)")
|
||||
private String restaurantFlag;
|
||||
|
||||
/**
|
||||
* 是否靠近休息室(0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否靠近休息室(0-无;1-有)")
|
||||
private String loungeFlag;
|
||||
|
||||
/**
|
||||
* 是否有雨棚(0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否有雨棚(0-无;1-有)")
|
||||
private String canopyFlag;
|
||||
|
||||
/**
|
||||
* 是否有小票机 (0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否有小票机 (0-无;1-有)")
|
||||
private String printerFlag;
|
||||
|
||||
/**
|
||||
* 是否有道闸(0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否有道闸(0-无;1-有)")
|
||||
private String barrierFlag;
|
||||
|
||||
/**
|
||||
* 是否有地锁(0-无;1-有)
|
||||
*/
|
||||
@Excel(name = "是否有地锁(0-无;1-有)")
|
||||
private String parkingLockFlag;
|
||||
|
||||
/**
|
||||
* 删除标识(0-正常;1-删除)
|
||||
*/
|
||||
private String delFlag;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
|
||||
.append("id", id)
|
||||
.append("merchantId", merchantId)
|
||||
.append("stationName", stationName)
|
||||
.append("aloneApply", aloneApply)
|
||||
.append("accountNumber", accountNumber)
|
||||
.append("capacity", capacity)
|
||||
.append("publicParking", publicParking)
|
||||
.append("parkingNumber", parkingNumber)
|
||||
.append("countryCode", countryCode)
|
||||
.append("areaCode", areaCode)
|
||||
.append("address", address)
|
||||
.append("stationTel", stationTel)
|
||||
.append("serviceTel", serviceTel)
|
||||
.append("stationType", stationType)
|
||||
.append("stationStatus", stationStatus)
|
||||
.append("stationAdminName", stationAdminName)
|
||||
.append("parkNums", parkNums)
|
||||
.append("stationLng", stationLng)
|
||||
.append("stationLat", stationLat)
|
||||
.append("siteGuide", siteGuide)
|
||||
.append("construction", construction)
|
||||
.append("pictures", pictures)
|
||||
.append("matchCars", matchCars)
|
||||
.append("parkInfo", parkInfo)
|
||||
.append("parkOwner", parkOwner)
|
||||
.append("parkManager", parkManager)
|
||||
.append("openAllDay", openAllDay)
|
||||
.append("businessHours", businessHours)
|
||||
.append("parkFree", parkFree)
|
||||
.append("payment", payment)
|
||||
.append("supportOrder", supportOrder)
|
||||
.append("publicFlag", publicFlag)
|
||||
.append("openFlag", openFlag)
|
||||
.append("toiletFlag", toiletFlag)
|
||||
.append("storeFlag", storeFlag)
|
||||
.append("restaurantFlag", restaurantFlag)
|
||||
.append("loungeFlag", loungeFlag)
|
||||
.append("canopyFlag", canopyFlag)
|
||||
.append("printerFlag", printerFlag)
|
||||
.append("barrierFlag", barrierFlag)
|
||||
.append("parkingLockFlag", parkingLockFlag)
|
||||
.append("delFlag", delFlag)
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* 交易流水记录 0x3B
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2022/11/5 10:15
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class TransactionRecords {
|
||||
/**
|
||||
* 交易流水号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 桩编码
|
||||
*/
|
||||
private String pileSn;
|
||||
|
||||
/**
|
||||
* 枪号
|
||||
*/
|
||||
private String connectorCode;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
private String startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 尖单价
|
||||
*/
|
||||
private String sharpPrice;
|
||||
|
||||
/**
|
||||
* 尖电量
|
||||
*/
|
||||
private String sharpUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损尖电量
|
||||
*/
|
||||
private String sharpPlanLossElectric;
|
||||
|
||||
/**
|
||||
* 尖金额
|
||||
*/
|
||||
private String sharpAmount;
|
||||
|
||||
/**
|
||||
* 峰单价
|
||||
*/
|
||||
private String peakPrice;
|
||||
|
||||
/**
|
||||
* 峰电量
|
||||
*/
|
||||
private String peakUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损峰电量
|
||||
*/
|
||||
private String peakPlanLossElectricity;
|
||||
|
||||
/**
|
||||
* 峰金额
|
||||
*/
|
||||
private String peakAmount;
|
||||
|
||||
/**
|
||||
* 平单价
|
||||
*/
|
||||
private String flatPrice;
|
||||
|
||||
/**
|
||||
* 平电量
|
||||
*/
|
||||
private String flatUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损平电量
|
||||
*/
|
||||
private String flatPlanLossElectricity;
|
||||
|
||||
/**
|
||||
* 平金额
|
||||
*/
|
||||
private String flatAmount;
|
||||
|
||||
/**
|
||||
* 谷单价
|
||||
*/
|
||||
private String valleyPrice;
|
||||
|
||||
/**
|
||||
* 谷电量
|
||||
*/
|
||||
private String valleyUsedElectricity;
|
||||
|
||||
/**
|
||||
* 计损谷电量
|
||||
*/
|
||||
private String valleyPlanLossElectricity;
|
||||
|
||||
/**
|
||||
* 谷金额
|
||||
*/
|
||||
private String valleyAmount;
|
||||
|
||||
/**
|
||||
* 电表总起值
|
||||
*/
|
||||
private String ammeterTotalStart;
|
||||
|
||||
/**
|
||||
* 电表总止值
|
||||
*/
|
||||
private String ammeterTotalEnd;
|
||||
|
||||
/**
|
||||
* 总电量
|
||||
*/
|
||||
private String totalElectricity;
|
||||
|
||||
/**
|
||||
* 计损总电量
|
||||
*/
|
||||
private String planLossTotalElectricity;
|
||||
|
||||
/**
|
||||
* 消费金额
|
||||
*/
|
||||
private String consumptionAmount;
|
||||
|
||||
/**
|
||||
* VIN 码
|
||||
*/
|
||||
private String vinCode;
|
||||
|
||||
/**
|
||||
* 交易标识
|
||||
* 0x01: app 启动
|
||||
* 0x02:卡启动
|
||||
* 0x04:离线卡启动
|
||||
* 0x05: vin 码启动充电
|
||||
*/
|
||||
private String transactionIdentifier;
|
||||
|
||||
/**
|
||||
* 交易时间
|
||||
*/
|
||||
private String transactionTime;
|
||||
|
||||
/**
|
||||
* 停止原因
|
||||
*/
|
||||
private String stopReason;
|
||||
|
||||
/**
|
||||
* 物理卡号
|
||||
*/
|
||||
private String logicCardNum;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 微信支付回调记录表
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class WxpayCallbackRecord {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 支付类型(1-支付订单;2-充值余额)
|
||||
*/
|
||||
private String payScenario;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 充电订单号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 微信商户订单号
|
||||
*/
|
||||
private String outTradeNo;
|
||||
|
||||
/**
|
||||
* 微信支付订单号
|
||||
*/
|
||||
private String transactionId;
|
||||
|
||||
/**
|
||||
* 商户号
|
||||
*/
|
||||
private String mchId;
|
||||
|
||||
/**
|
||||
* 应用ID
|
||||
*/
|
||||
private String appId;
|
||||
|
||||
/**
|
||||
* 交易类型
|
||||
*/
|
||||
private String tradeType;
|
||||
|
||||
/**
|
||||
* 交易状态
|
||||
*/
|
||||
private String tradeState;
|
||||
|
||||
/**
|
||||
* 交易状态描述
|
||||
*/
|
||||
private String tradeStateDesc;
|
||||
|
||||
/**
|
||||
* 银行类型
|
||||
*/
|
||||
private String bankType;
|
||||
|
||||
/**
|
||||
* 附加数据
|
||||
*/
|
||||
private String attach;
|
||||
|
||||
/**
|
||||
* 支付完成时间
|
||||
*/
|
||||
private LocalDateTime successTime;
|
||||
|
||||
/**
|
||||
* 支付者信息openId
|
||||
*/
|
||||
private String payerOpenId;
|
||||
|
||||
/**
|
||||
* 用户支付金额(单位分)
|
||||
*/
|
||||
private String payerTotal;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
package com.jsowell.pile.domain;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class WxpayRefundCallback {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 微信商户订单号
|
||||
*/
|
||||
private String outTradeNo;
|
||||
|
||||
/**
|
||||
* 微信商户退款单号
|
||||
*/
|
||||
private String outRefundNo;
|
||||
|
||||
/**
|
||||
* 微信支付订单号
|
||||
*/
|
||||
private String transactionId;
|
||||
|
||||
/**
|
||||
* 微信商户号
|
||||
*/
|
||||
private String mchId;
|
||||
|
||||
/**
|
||||
* 微信支付退款单号
|
||||
*/
|
||||
private String refundId;
|
||||
|
||||
/**
|
||||
* 退款状态(SUCCESS:退款成功;CLOSED:退款关闭; ABNORMAL:退款异常)
|
||||
*/
|
||||
private String refundStatus;
|
||||
|
||||
/**
|
||||
* 退款成功时间
|
||||
*/
|
||||
private String successTime;
|
||||
|
||||
/**
|
||||
* 退款入账账户
|
||||
*/
|
||||
private String userReceivedAccount;
|
||||
|
||||
/**
|
||||
* 用户支付金额
|
||||
*/
|
||||
private String payerTotal;
|
||||
|
||||
/**
|
||||
* 用户退款金额
|
||||
*/
|
||||
private String payerRefund;
|
||||
|
||||
/**
|
||||
* 订单金额
|
||||
*/
|
||||
private String amountTotal;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
private String amountRefund;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
Reference in New Issue
Block a user