Commit b3bb4dee by 崔彦峰

feat(financialledger): 添加财务台账分页列表VO类

- 新增FinancialLedgerVO类用于Web对外返回前端所需字段
- 包含评估单相关信息如评估单编号和收车价
- 包含车辆基本信息如车牌号车架号和品牌型号
- 包含查车宝数据如排量信息
- 包含入库时间字段并配置日期格式化
- 包含电子合同解析后的甲方信息如卖方单位名称
- 包含证件链接信息如行驶证和登记证图片链接
2 parents 882e25d7 aef9bde0
package com.gsc4cloud.gsc.facade.vpcweb.vo.financialledger;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 财务台账分页列表 VO(Web 对外返回,只包含前端需要的字段)
*/
@AllArgsConstructor
@NoArgsConstructor
@Data
public class FinancialLedgerVO implements Serializable {
private static final long serialVersionUID = 1L;
// ===== 评估单 =====
@Schema(description = "评估单编号")
private String evalOrderNo;
@Schema(description = "收车价")
private BigDecimal evalPrice;
// ===== 车辆基本信息 =====
@Schema(description = "车牌号")
private String licensePlate;
@Schema(description = "车架号")
private String vin;
@Schema(description = "卖方单位地址/个人地址(OCR识别-行驶证住址)")
private String licenseAddress;
@Schema(description = "登记证号")
private String registrationNo;
@Schema(description = "厂牌(品牌)型号")
private String brandModel;
@Schema(description = "车辆类型")
private String vehicleType;
// ===== 查车宝数据 =====
@Schema(description = "排量")
private String displacement;
// ===== 入库时间 =====
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Schema(description = "入库时间")
private Date storageTime;
// ===== 电子合同解析后的甲方字段(Service 填充) =====
@Schema(description = "卖方单位/个人(甲方名称)")
private String partAName;
@Schema(description = "卖方单位代码/车主身份证号码")
private String partAIdentityCode;
@Schema(description = "电话")
private String partAContactMobile;
// ===== 解析后的证件链接(Service 填充) =====
@Schema(description = "行驶证图片链接")
private String motorRegistrationCertificateUrl;
@Schema(description = "登记证图片链接")
private String motorBookUrl;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!