新增凭证管理
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
package org.springblade.transport.pojo.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class VoucherManageSubmitRequest {
|
||||
private Long id;
|
||||
private String voucherBatchNo;
|
||||
private Long projectId;
|
||||
private String projectName;
|
||||
private String fileName;
|
||||
private String fileUrl;
|
||||
private Long fileTaskId;
|
||||
private List<Long> waybillImportBatchIds;
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package org.springblade.transport.pojo.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/** 创建执行凭证上传草稿。 */
|
||||
@Data
|
||||
public class VoucherUploadDraftRequest {
|
||||
private Long projectId;
|
||||
private String fileName;
|
||||
}
|
||||
+3
@@ -53,6 +53,9 @@ public class CustomerInvoiceInfo extends TenantEntity {
|
||||
@Schema(description = "受票方名称")
|
||||
private String invoiceTitle;
|
||||
|
||||
@Schema(description = "发票类型")
|
||||
private String invoiceType;
|
||||
|
||||
@Schema(description = "纳税人识别号")
|
||||
private String taxNo;
|
||||
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
package org.springblade.transport.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.tenant.mp.TenantEntity;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/** 凭证批次。 */
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("blade_voucher_manage")
|
||||
@Schema(description = "凭证管理")
|
||||
public class VoucherManage extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Long projectId;
|
||||
private String projectName;
|
||||
private String voucherBatchNo;
|
||||
private String waybillBatchNo;
|
||||
private String fileName;
|
||||
private String fileUrl;
|
||||
private Long fileTaskId;
|
||||
private String uploadSource;
|
||||
private String carrierName;
|
||||
private String processStatus;
|
||||
private Integer voucherCount;
|
||||
private Integer relatedWaybillCount;
|
||||
private Integer unRelatedWaybillCount;
|
||||
private String auditStatus;
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
package org.springblade.transport.pojo.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.tenant.mp.TenantEntity;
|
||||
|
||||
import java.io.Serial;
|
||||
|
||||
/** 凭证与运单批次关联。 */
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("blade_voucher_waybill_batch")
|
||||
public class VoucherWaybillBatch extends TenantEntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Long voucherId;
|
||||
private Long waybillImportBatchId;
|
||||
private String waybillBatchNo;
|
||||
private Integer waybillCount;
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
package org.springblade.transport.pojo.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.transport.pojo.entity.VoucherManage;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class VoucherManageVO extends VoucherManage {
|
||||
@Serial private static final long serialVersionUID = 1L;
|
||||
@TableField(exist = false) private String createUserName;
|
||||
@TableField(exist = false) private String updateUserName;
|
||||
@TableField(exist = false) private LocalDateTime createTimeStart;
|
||||
@TableField(exist = false) private LocalDateTime createTimeEnd;
|
||||
}
|
||||
Reference in New Issue
Block a user