This commit is contained in:
zhaohu
2026-06-12 16:14:58 +08:00
parent cf71897528
commit a7ba0f21e5
235 changed files with 33574 additions and 0 deletions
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>blade-service-api</artifactId>
<groupId>org.springblade</groupId>
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>blade-zhaocai-api</artifactId>
<name>${project.artifactId}</name>
<packaging>jar</packaging>
</project>
@@ -0,0 +1,117 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.zhaocai.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.mp.base.BaseEntity;
import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* 招采计划实体类
*
* @author Chill
*/
@Data
@TableName("blade_procurement_plan")
@EqualsAndHashCode(callSuper = true)
public class ProcurementPlan extends BaseEntity {
@Serial
private static final long serialVersionUID = 1L;
/**
* 申请人
*/
@Schema(description = "申请人")
private String applicant;
/**
* 申请时间
*/
@Schema(description = "申请时间")
private LocalDateTime applyTime;
/**
* 联系电话
*/
@Schema(description = "联系电话")
private String phone;
/**
* 所属公司
*/
@Schema(description = "所属公司")
private String company;
/**
* 单据号
*/
@Schema(description = "单据号")
private String billNo;
/**
* 年度
*/
@Schema(description = "年度")
private String year;
/**
* 所属部门
*/
@Schema(description = "所属部门")
private String dept;
/**
* 申请信息中的所属公司
*/
@Schema(description = "申请所属公司")
private String applyCompany;
/**
* 预估总金额(万元)
*/
@Schema(description = "预估总金额(万元)")
private BigDecimal estimatedAmount;
/**
* 预估总金额大写
*/
@Schema(description = "预估总金额大写")
private String amountUpper;
/**
* 备注
*/
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,125 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.zhaocai.pojo.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import java.io.Serial;
import java.time.LocalDate;
/**
* 招采计划明细实体类
*
* @author Chill
*/
@Data
@TableName("blade_procurement_plan_detail")
@EqualsAndHashCode(callSuper = true)
public class ProcurementPlanDetail extends BaseEntity {
@Serial
private static final long serialVersionUID = 1L;
/**
* 主表ID
*/
@JsonSerialize(using = ToStringSerializer.class)
@Schema(description = "主表ID")
private Long planId;
/**
* 年度
*/
@Schema(description = "年度")
private String year;
/**
* 计划
*/
@Schema(description = "计划")
private String plan;
/**
* 计划类型
*/
@Schema(description = "计划类型")
private String planType;
/**
* 序号
*/
@Schema(description = "序号")
private Integer sortNo;
/**
* 项目名称
*/
@Schema(description = "项目名称")
private String projectName;
/**
* 项目类型
*/
@Schema(description = "项目类型")
private String projectType;
/**
* 项目对接人
*/
@Schema(description = "项目对接人")
private String contactPerson;
/**
* 计划申请日期
*/
@Schema(description = "计划申请日期")
private LocalDate applyDate;
/**
* 期望使用/完成日期
*/
@Schema(description = "期望使用/完成日期")
private LocalDate expectDate;
/**
* 项目属性
*/
@Schema(description = "项目属性")
private String projectAttr;
/**
* 采购物料明细
*/
@Schema(description = "采购物料明细")
private String materialDetail;
}
@@ -0,0 +1,47 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.zhaocai.pojo.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.zhaocai.pojo.entity.ProcurementPlanDetail;
import java.io.Serial;
/**
* 招采计划明细视图对象
*
* @author Chill
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class ProcurementPlanDetailVO extends ProcurementPlanDetail {
@Serial
private static final long serialVersionUID = 1L;
}
@@ -0,0 +1,54 @@
/**
* BladeX Commercial License Agreement
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
* <p>
* Use of this software is governed by the Commercial License Agreement
* obtained after purchasing a license from BladeX.
* <p>
* 1. This software is for development use only under a valid license
* from BladeX.
* <p>
* 2. Redistribution of this software's source code to any third party
* without a commercial license is strictly prohibited.
* <p>
* 3. Licensees may copyright their own code but cannot use segments
* from this software for such purposes. Copyright of this software
* remains with BladeX.
* <p>
* Using this software signifies agreement to this License, and the software
* must not be used for illegal purposes.
* <p>
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
* not liable for any claims arising from secondary or illegal development.
* <p>
* Author: Chill Zhuang (bladejava@qq.com)
*/
package org.springblade.zhaocai.pojo.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.zhaocai.pojo.entity.ProcurementPlan;
import java.io.Serial;
import java.util.List;
/**
* 招采计划视图对象
*
* @author Chill
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class ProcurementPlanVO extends ProcurementPlan {
@Serial
private static final long serialVersionUID = 1L;
/**
* 项目明细列表
*/
@Schema(description = "项目明细列表")
private List<ProcurementPlanDetailVO> detailList;
}