2025-08-13 10:33:03 +08:00
|
|
|
|
package com.klp.domain.vo;
|
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
|
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
|
|
|
import com.klp.common.annotation.ExcelDictFormat;
|
|
|
|
|
|
import com.klp.common.convert.ExcelDictConvert;
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 日记账凭证(宽松版)视图对象 wms_journal_entry
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author klp
|
|
|
|
|
|
* @date 2025-08-13
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@ExcelIgnoreUnannotated
|
|
|
|
|
|
public class WmsJournalEntryVo {
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 分录ID(主键)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "分录ID", converter = ExcelDictConvert.class)
|
2025-08-13 14:48:44 +08:00
|
|
|
|
@ExcelDictFormat(readConverterExp = "主键")
|
2025-08-13 10:33:03 +08:00
|
|
|
|
private Long entryId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 凭证编号
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "凭证编号")
|
|
|
|
|
|
private String voucherNo;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 分录行号(同一凭证内序号)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "分录行号", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "同=一凭证内序号")
|
|
|
|
|
|
private Long lineNo;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 记账日期
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "记账日期")
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
|
private Date entryDate;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 科目ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "科目ID")
|
|
|
|
|
|
private Long accountId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 借方金额(可为0或负数用于调账/红冲)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "借方金额", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "可=为0或负数用于调账/红冲")
|
|
|
|
|
|
private BigDecimal debitAmount;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 贷方金额(可为0或负数用于调账/红冲)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "贷方金额", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "可=为0或负数用于调账/红冲")
|
|
|
|
|
|
private BigDecimal creditAmount;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 参考单据号
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "参考单据号")
|
2025-08-13 15:04:08 +08:00
|
|
|
|
private Long documentId;
|
2025-08-13 10:33:03 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 关联订单ID
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "关联订单ID")
|
|
|
|
|
|
private Long relatedOrderId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 状态
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "状态")
|
|
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 备注
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "备注")
|
|
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-13 14:48:44 +08:00
|
|
|
|
public Long getEntryId() {
|
|
|
|
|
|
return entryId;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setEntryId(Long entryId) {
|
|
|
|
|
|
this.entryId = entryId;
|
|
|
|
|
|
}
|
2025-08-13 10:33:03 +08:00
|
|
|
|
}
|