ChargeOrderInfoVO.java 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. package com.zsElectric.boot.business.model.vo;
  2. import java.io.Serial;
  3. import java.io.Serializable;
  4. import java.time.LocalDateTime;
  5. import io.swagger.v3.oas.annotations.media.Schema;
  6. import lombok.Getter;
  7. import lombok.Setter;
  8. import java.math.BigDecimal;
  9. /**
  10. * 充电订单信息视图对象
  11. *
  12. * @author zsElectric
  13. * @since 2025-12-17 19:13
  14. */
  15. @Getter
  16. @Setter
  17. @Schema(description = "充电订单信息视图对象")
  18. public class ChargeOrderInfoVO implements Serializable {
  19. @Serial
  20. private static final long serialVersionUID = 1L;
  21. @Schema(description = "主键ID")
  22. private Long id;
  23. @Schema(description = "用户ID")
  24. private Long userId;
  25. @Schema(description = "订单类型 1 个人订单 2 集团订单")
  26. private Integer orderType;
  27. @Schema(description = "充电桩编号")
  28. private String equipmentId;
  29. @Schema(description = "第三方充电订单号")
  30. private String chargeOrderNo;
  31. @Schema(description = "充电开始时间")
  32. private String startTime;
  33. @Schema(description = "充电结束时间")
  34. private String endTime;
  35. @Schema(description = "充电时间:秒")
  36. private Integer chargeTime;
  37. @Schema(description = "状态0待启动 1 充电中 2 结算中 3 已完成, 5未成功充电")
  38. private Integer status;
  39. @Schema(description = "第三方充电消费总额")
  40. private BigDecimal thirdPartyTotalCost;
  41. @Schema(description = "第三方充电服务费")
  42. private BigDecimal thirdPartyServerfee;
  43. @Schema(description = "第三方充电金额")
  44. private BigDecimal thirdPartyElecfee;
  45. @Schema(description = "实际充电度数(单位:0.001 kw/h)")
  46. private BigDecimal totalCharge;
  47. @Schema(description = "平台实际收取金额")
  48. private BigDecimal realCost;
  49. @Schema(description = "平台总服务费")
  50. private BigDecimal realServiceCost;
  51. @Schema(description = "1 主动停止 2 充满停止 3 余额不足停止, 4电桩按钮停止")
  52. private Integer stopType;
  53. @Schema(description = "请求启动充电的手机号")
  54. private String phoneNum;
  55. @Schema(description = "车牌号( 停车减免必传,格式确保正确)")
  56. private String plateNum;
  57. @Schema(description = "充电结束原因")
  58. private String stopReason;
  59. @Schema(description = "推送:充电明细信息")
  60. private String chargeDetails;
  61. @Schema(description = "第三方充电站id")
  62. private String thirdPartyStationId;
  63. @Schema(description = "预充值金额")
  64. private BigDecimal preAmt;
  65. @Schema(description = "平台预扣服务费")
  66. private BigDecimal realPredictServiceCost;
  67. @Schema(description = "补缴金额(智停)")
  68. private BigDecimal maspAmount;
  69. @Schema(description = "平台补缴金额")
  70. private BigDecimal maspRealAmount;
  71. @Schema(description = "需要补缴的总金额")
  72. private BigDecimal totalMaspMoney;
  73. @Schema(description = "已补缴的金额")
  74. private BigDecimal alreadyMaspMoney;
  75. @Schema(description = "补缴状态 0.无需补缴 1.待补缴 2.已补缴")
  76. private Integer maspStatus;
  77. @Schema(description = "补缴时间")
  78. private String maspTime;
  79. @Schema(description = "补缴描述(默认:系统扣除)")
  80. private String maspDesc;
  81. @Schema(description = "优惠金额")
  82. private BigDecimal discountMoney;
  83. @Schema(description = "优惠描述(前端展示为优惠描述+优惠金额)")
  84. private String discountDesc;
  85. @Schema(description = "优惠活动ID")
  86. private Long discountInfoId;
  87. @Schema(description = "按平台计费规则,实际第三方收取的服务费")
  88. private BigDecimal realThirdCost;
  89. @Schema(description = "企业id")
  90. private Long firmId;
  91. @Schema(description = "企业专享优惠价")
  92. private BigDecimal firmPrice;
  93. @Schema(description = "优惠券金额")
  94. private BigDecimal couponPrice;
  95. @Schema(description = "优惠卷ID")
  96. private Long couponId;
  97. @Schema(description = "备注")
  98. private String remark;
  99. @Schema(description = "创建人")
  100. private Long createBy;
  101. @Schema(description = "创建时间")
  102. private LocalDateTime createTime;
  103. @Schema(description = "更新人")
  104. private Long updateBy;
  105. @Schema(description = "更新时间")
  106. private LocalDateTime updateTime;
  107. @Schema(description = "乐观锁")
  108. private Integer version;
  109. @Schema(description = "逻辑删除(0-未删除 1-已删除)")
  110. private Integer isDeleted;
  111. @Schema(description = "充电设备接口编码")
  112. private String connectorId;
  113. @Schema(description = "充电设备接口名称")
  114. private String connectorName;
  115. @Schema(description = "充电站名称")
  116. private String stationName;
  117. @Schema(description = "用户手机号")
  118. private String phone;
  119. @Schema(description = "电池soc%")
  120. private String soc;
  121. }