初步完成小程序模块

This commit is contained in:
2025-05-11 23:53:39 +08:00
parent cb05e82118
commit a968035860
12 changed files with 147 additions and 185 deletions

View File

@ -21,6 +21,8 @@ import java.time.LocalDateTime;
"workTime",
"settlementTime",
"promoCodeRequestRecordId",
"projectId",
"projectDetailId"
})
public class ProjectSettlementAddRequest implements Serializable {
@ -62,6 +64,20 @@ public class ProjectSettlementAddRequest implements Serializable {
@Schema(description = "推广码申请记录id", example = "1")
private Long promoCodeRequestRecordId;
/**
* 项目id
*/
@Min(value = 1L, message = "项目id ID不能小于1")
@Schema(description = "项目id", example = "1")
private Long projectId;
/**
* 项目明细id
*/
@Min(value = 1L, message = "项目明细id ID不能小于1")
@Schema(description = "项目明细", example = "1")
private Long projectDetailId;
@Serial
private static final long serialVersionUID = 1L;

View File

@ -63,6 +63,20 @@ public class ProjectSettlementQueryRequest extends PageRequest implements Serial
@Schema(description = "推广码申请记录id", example = "1")
private Long promoCodeRequestRecordId;
/**
* 项目id
*/
@Min(value = 1L, message = "项目id ID不能小于1")
@Schema(description = "项目id", example = "1")
private Long projectId;
/**
* 项目明细id
*/
@Min(value = 1L, message = "项目明细id ID不能小于1")
@Schema(description = "项目明细", example = "1")
private Long projectDetailId;
@Serial
private static final long serialVersionUID = 1L;

View File

@ -22,6 +22,8 @@ import java.time.LocalDateTime;
"workTime",
"settlementTime",
"promoCodeRequestRecordId",
"projectId",
"projectDetailId"
})
public class ProjectSettlementUpdateRequest implements Serializable {
@ -70,6 +72,20 @@ public class ProjectSettlementUpdateRequest implements Serializable {
@Schema(description = "推广码申请记录id", example = "1")
private Long promoCodeRequestRecordId;
/**
* 项目id
*/
@Min(value = 1L, message = "项目id ID不能小于1")
@Schema(description = "项目id", example = "1")
private Long projectId;
/**
* 项目明细id
*/
@Min(value = 1L, message = "项目明细id ID不能小于1")
@Schema(description = "项目明细", example = "1")
private Long projectDetailId;
@Serial
private static final long serialVersionUID = 1L;

View File

@ -52,6 +52,21 @@ public class ProjectSettlement implements Serializable {
*/
private Long promoCodeRequestRecordId;
/**
* 收益来源true:抽成false推广码
*/
private Boolean revenueSource;
/**
* 项目id
*/
private Long projectId;
/**
* 项目明细id
*/
private Long projectDetailId;
/**
* 是否删除
*/

View File

@ -52,11 +52,13 @@ public class ProjectSettlementVO implements Serializable {
@Schema(description = "结算时间", example = "2025-05-12 10:00:00")
private LocalDateTime settlementTime;
/**
* 推广码申请记录id
* 收益来源true:抽成false推广码
*/
@Schema(description = "推广码申请记录id", example = "1")
private Long promoCodeRequestRecordId;
@Schema(description = "收益来源true:抽成false推广码", example = "false")
private Boolean revenueSource;
@Serial