新增主数据与基本配置部分代码
This commit is contained in:
22
yunzhupaas-bc/yunzhupaas-bc-entity/pom.xml
Normal file
22
yunzhupaas-bc/yunzhupaas-bc-entity/pom.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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>yunzhupaas-bc</artifactId>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<version>5.2.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>yunzhupaas-bc-entity</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<artifactId>yunzhupaas-common-all</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.yunzhupaas.bsc.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
/**
|
||||
* 计费项目
|
||||
*
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
@TableName("bc_billing_item")
|
||||
public class BillingItemEntity {
|
||||
@TableId(value ="billing_item_id" )
|
||||
@JSONField(name = "billing_item_id")
|
||||
private String billingItemId;
|
||||
@TableField(value = "billing_item_code" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "billing_item_code")
|
||||
private String billingItemCode;
|
||||
@TableField(value = "billing_item_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "billing_item_name")
|
||||
private String billingItemName;
|
||||
@TableField(value = "billing_item_type" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "billing_item_type")
|
||||
private String billingItemType;
|
||||
@TableField(value = "remark" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
@TableField("create_by")
|
||||
@JSONField(name = "create_by")
|
||||
private String createBy;
|
||||
@TableField("create_time")
|
||||
@JSONField(name = "create_time")
|
||||
private Date createTime;
|
||||
@TableField("update_time")
|
||||
@JSONField(name = "update_time")
|
||||
private Date updateTime;
|
||||
@TableField("update_by")
|
||||
@JSONField(name = "update_by")
|
||||
private String updateBy;
|
||||
@TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
|
||||
@JSONField(name = "f_tenant_id")
|
||||
private String tenantId;
|
||||
@TableField("f_flow_id")
|
||||
@JSONField(name = "f_flow_id")
|
||||
private String flowId;
|
||||
@TableField("f_flow_task_id")
|
||||
@JSONField(name = "f_flow_task_id")
|
||||
private String flowTaskId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.yunzhupaas.bsc.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
/**
|
||||
* 标准预算项
|
||||
*
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-19
|
||||
*/
|
||||
@Data
|
||||
@TableName("bc_project_expbudget_temp")
|
||||
public class ProjectExpbudgetTempEntity {
|
||||
@TableId(value ="expbudget_item_id" )
|
||||
@JSONField(name = "expbudget_item_id")
|
||||
private String expbudgetItemId;
|
||||
@TableField("project_type_id")
|
||||
@JSONField(name = "project_type_id")
|
||||
private String projectTypeId;
|
||||
@TableField("budget_item_id")
|
||||
@JSONField(name = "budget_item_id")
|
||||
private String budgetItemId;
|
||||
@TableField("expbudget_item_code")
|
||||
@JSONField(name = "expbudget_item_code")
|
||||
private String expbudgetItemCode;
|
||||
@TableField("expbudget_item_name")
|
||||
@JSONField(name = "expbudget_item_name")
|
||||
private String expbudgetItemName;
|
||||
@TableField("pid")
|
||||
@JSONField(name = "pid")
|
||||
private String pid;
|
||||
@TableField("cost_item_id")
|
||||
@JSONField(name = "cost_item_id")
|
||||
private String costItemId;
|
||||
@TableField("remark")
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
@TableField("create_by")
|
||||
@JSONField(name = "create_by")
|
||||
private String createBy;
|
||||
@TableField("create_time")
|
||||
@JSONField(name = "create_time")
|
||||
private Date createTime;
|
||||
@TableField("update_time")
|
||||
@JSONField(name = "update_time")
|
||||
private Date updateTime;
|
||||
@TableField("update_by")
|
||||
@JSONField(name = "update_by")
|
||||
private String updateBy;
|
||||
@TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
|
||||
@JSONField(name = "f_tenant_id")
|
||||
private String tenantId;
|
||||
@TableField("f_flow_id")
|
||||
@JSONField(name = "f_flow_id")
|
||||
private String flowId;
|
||||
@TableField("f_flow_task_id")
|
||||
@JSONField(name = "f_flow_task_id")
|
||||
private String flowTaskId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.yunzhupaas.bsc.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
/**
|
||||
* 项目分类
|
||||
*
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-19
|
||||
*/
|
||||
@Data
|
||||
@TableName("bc_project_type")
|
||||
public class ProjectTypeEntity {
|
||||
@TableId(value ="project_type_id" )
|
||||
@JSONField(name = "project_type_id")
|
||||
private String projectTypeId;
|
||||
@TableField(value = "project_type_code" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "project_type_code")
|
||||
private String projectTypeCode;
|
||||
@TableField(value = "project_type_name" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "project_type_name")
|
||||
private String projectTypeName;
|
||||
@TableField(value = "pid" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "pid")
|
||||
private String pid;
|
||||
@TableField(value = "seq_num" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "seq_num")
|
||||
private Integer seqNum;
|
||||
@TableField(value = "remark" , updateStrategy = FieldStrategy.IGNORED)
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
@TableField("create_by")
|
||||
@JSONField(name = "create_by")
|
||||
private String createBy;
|
||||
@TableField("create_time")
|
||||
@JSONField(name = "create_time")
|
||||
private Date createTime;
|
||||
@TableField("update_time")
|
||||
@JSONField(name = "update_time")
|
||||
private Date updateTime;
|
||||
@TableField("update_by")
|
||||
@JSONField(name = "update_by")
|
||||
private String updateBy;
|
||||
@TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE)
|
||||
@JSONField(name = "f_tenant_id")
|
||||
private String tenantId;
|
||||
@TableField("f_flow_id")
|
||||
@JSONField(name = "f_flow_id")
|
||||
private String flowId;
|
||||
@TableField("f_flow_task_id")
|
||||
@JSONField(name = "f_flow_task_id")
|
||||
private String flowTaskId;
|
||||
|
||||
@JSONField(name = "projectExpbudgetTemp")
|
||||
@TableField(exist = false)
|
||||
private ProjectExpbudgetTempEntity projectExpbudgetTemp;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
package com.yunzhupaas.bsc.model.billingitem;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
/**
|
||||
*
|
||||
* 计费项目
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class BillingItemExcelErrorVO extends BillingItemExcelVO{
|
||||
|
||||
@Excel(name = "异常原因",orderNum = "-999")
|
||||
@JSONField(name = "errorsInfo")
|
||||
private String errorsInfo;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.bsc.model.billingitem;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 计费项目
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
public class BillingItemExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.yunzhupaas.bsc.model.billingitem;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.*;
|
||||
import java.math.BigDecimal;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
/**
|
||||
* 计费项目
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "表单参数")
|
||||
public class BillingItemForm {
|
||||
/** 主键 */
|
||||
@Schema(description = "主键")
|
||||
@JSONField(name = "billing_item_id")
|
||||
private String billingItemId;
|
||||
|
||||
|
||||
/** 计费项目编码 **/
|
||||
@Schema(description = "计费项目编码")
|
||||
@JsonProperty("billing_item_code")
|
||||
@JSONField(name = "billing_item_code")
|
||||
private String billingItemCode;
|
||||
/** 计费项目名称 **/
|
||||
@Schema(description = "计费项目名称")
|
||||
@JsonProperty("billing_item_name")
|
||||
@JSONField(name = "billing_item_name")
|
||||
private String billingItemName;
|
||||
/** 费用类别 **/
|
||||
@Schema(description = "费用类别")
|
||||
@JsonProperty("billing_item_type")
|
||||
@JSONField(name = "billing_item_type")
|
||||
private Object billingItemType;
|
||||
/** 备注 **/
|
||||
@Schema(description = "备注")
|
||||
@JsonProperty("remark")
|
||||
@JSONField(name = "remark")
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.yunzhupaas.bsc.model.billingitem;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import com.yunzhupaas.base.Pagination;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* 计费项目
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-20
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "列表查询参数")
|
||||
public class BillingItemPagination extends Pagination {
|
||||
/** 关键词搜索 */
|
||||
@Schema(description = "关键词搜索")
|
||||
private String yunzhupaasKeyword;
|
||||
/** 查询key */
|
||||
@Schema(description = "查询key")
|
||||
private String[] selectKey;
|
||||
/** 选中数据数组id */
|
||||
@Schema(description = "选中数据数组id")
|
||||
private Object[] selectIds;
|
||||
/** json */
|
||||
@Schema(description = "json")
|
||||
private String json;
|
||||
/** 数据类型 0-当前页,1-全部数据 */
|
||||
@Schema(description = "数据类型 0-当前页,1-全部数据")
|
||||
private String dataType;
|
||||
/** 高级查询 */
|
||||
@Schema(description = "高级查询")
|
||||
private String superQueryJson;
|
||||
/** 功能id */
|
||||
@Schema(description = "功能id")
|
||||
private String moduleId;
|
||||
/** 菜单id */
|
||||
@Schema(description = "菜单id")
|
||||
private String menuId;
|
||||
/** 计费项目名称 */
|
||||
@Schema(description = "计费项目名称")
|
||||
@JsonProperty("billing_item_name")
|
||||
@JSONField(name = "billingItemName")
|
||||
private Object billingItemName;
|
||||
/** 费用类别 */
|
||||
@Schema(description = "费用类别")
|
||||
@JsonProperty("billing_item_type")
|
||||
@JSONField(name = "billingItemType")
|
||||
private Object billingItemType;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
package com.yunzhupaas.bsc.model.projecttype;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
/**
|
||||
*
|
||||
* 项目分类
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-19
|
||||
*/
|
||||
@Data
|
||||
public class ProjectTypeExcelErrorVO extends ProjectTypeExcelVO{
|
||||
|
||||
@Excel(name = "异常原因",orderNum = "-999")
|
||||
@JSONField(name = "errorsInfo")
|
||||
private String errorsInfo;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.bsc.model.projecttype;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Time;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import cn.afterturn.easypoi.excel.annotation.Excel;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
|
||||
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
*
|
||||
* 项目分类
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-19
|
||||
*/
|
||||
@Data
|
||||
public class ProjectTypeExcelVO{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
package com.yunzhupaas.bsc.model.projecttype;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.*;
|
||||
import java.math.BigDecimal;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
/**
|
||||
* 项目分类
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-19
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "表单参数")
|
||||
public class ProjectTypeForm {
|
||||
/** 主键 */
|
||||
@Schema(description = "主键")
|
||||
@JSONField(name = "project_type_id")
|
||||
private String projectTypeId;
|
||||
|
||||
|
||||
/** 项目分类编码 **/
|
||||
@Schema(description = "项目分类编码")
|
||||
@JsonProperty("project_type_code")
|
||||
@JSONField(name = "project_type_code")
|
||||
private String projectTypeCode;
|
||||
/** 项目分类名称 **/
|
||||
@Schema(description = "项目分类名称")
|
||||
@JsonProperty("project_type_name")
|
||||
@JSONField(name = "project_type_name")
|
||||
private String projectTypeName;
|
||||
/** 上级项目分类 **/
|
||||
@Schema(description = "上级项目分类")
|
||||
@JsonProperty("pid")
|
||||
@JSONField(name = "pid")
|
||||
private Object pid;
|
||||
/** 顺序号 **/
|
||||
@Schema(description = "顺序号")
|
||||
@JsonProperty("seq_num")
|
||||
@JSONField(name = "seq_num")
|
||||
private BigDecimal seqNum;
|
||||
/** 备注 **/
|
||||
@Schema(description = "备注")
|
||||
@JsonProperty("remark")
|
||||
@JSONField(name = "remark")
|
||||
private Object remark;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package com.yunzhupaas.bsc.model.projecttype;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.Data;
|
||||
import com.yunzhupaas.base.Pagination;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* 项目分类
|
||||
* @版本: V5.2.7
|
||||
* @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有
|
||||
* @作者: 深圳市乐程软件有限公司
|
||||
* @日期: 2026-05-19
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "列表查询参数")
|
||||
public class ProjectTypePagination extends Pagination {
|
||||
/** 关键词搜索 */
|
||||
@Schema(description = "关键词搜索")
|
||||
private String yunzhupaasKeyword;
|
||||
/** 查询key */
|
||||
@Schema(description = "查询key")
|
||||
private String[] selectKey;
|
||||
/** 选中数据数组id */
|
||||
@Schema(description = "选中数据数组id")
|
||||
private Object[] selectIds;
|
||||
/** json */
|
||||
@Schema(description = "json")
|
||||
private String json;
|
||||
/** 数据类型 0-当前页,1-全部数据 */
|
||||
@Schema(description = "数据类型 0-当前页,1-全部数据")
|
||||
private String dataType;
|
||||
/** 高级查询 */
|
||||
@Schema(description = "高级查询")
|
||||
private String superQueryJson;
|
||||
/** 功能id */
|
||||
@Schema(description = "功能id")
|
||||
private String moduleId;
|
||||
/** 菜单id */
|
||||
@Schema(description = "菜单id")
|
||||
private String menuId;
|
||||
/** 分类名称 */
|
||||
@Schema(description = "分类名称")
|
||||
@JsonProperty("project_type_name")
|
||||
@JSONField(name = "projectTypeName")
|
||||
private Object projectTypeName;
|
||||
/**
|
||||
* 树形异步父级字段传值
|
||||
*/
|
||||
private String treeParentValue;
|
||||
/**
|
||||
* 是否有参数
|
||||
*/
|
||||
private boolean hasParam=false;
|
||||
}
|
||||
Reference in New Issue
Block a user