CRM: 线索、联系人、回款、回款计划新增数据权限转移
parent
c234f5b5f8
commit
8fa8f2890b
@ -0,0 +1,31 @@
|
|||||||
|
package cn.iocoder.yudao.module.crm.controller.admin.clue.vo;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.module.crm.enums.permission.CrmPermissionLevelEnum;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - 线索转移 Request VO")
|
||||||
|
@Data
|
||||||
|
public class CrmClueTransferReqVO {
|
||||||
|
|
||||||
|
@Schema(description = "线索编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10430")
|
||||||
|
@NotNull(message = "线索编号不能为空")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新负责人的用户编号
|
||||||
|
*/
|
||||||
|
@Schema(description = "新负责人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10430")
|
||||||
|
@NotNull(message = "新负责人的用户编号不能为空")
|
||||||
|
private Long newOwnerUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 老负责人加入团队后的权限级别。如果 null 说明移除
|
||||||
|
*
|
||||||
|
* 关联 {@link CrmPermissionLevelEnum}
|
||||||
|
*/
|
||||||
|
@Schema(description = "老负责人加入团队后的权限级别", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||||
|
private Integer oldOwnerPermissionLevel;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,31 @@
|
|||||||
|
package cn.iocoder.yudao.module.crm.controller.admin.receivable.vo.plan;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.module.crm.enums.permission.CrmPermissionLevelEnum;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - CRM 回款计划转移 Request VO")
|
||||||
|
@Data
|
||||||
|
public class CrmReceivablePlanTransferReqVO {
|
||||||
|
|
||||||
|
@Schema(description = "回款计划编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10430")
|
||||||
|
@NotNull(message = "回款计划编号不能为空")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新负责人的用户编号
|
||||||
|
*/
|
||||||
|
@Schema(description = "新负责人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10430")
|
||||||
|
@NotNull(message = "新负责人的用户编号不能为空")
|
||||||
|
private Long newOwnerUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 老负责人加入团队后的权限级别。如果 null 说明移除
|
||||||
|
*
|
||||||
|
* 关联 {@link CrmPermissionLevelEnum}
|
||||||
|
*/
|
||||||
|
@Schema(description = "老负责人加入团队后的权限级别", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||||
|
private Integer oldOwnerPermissionLevel;
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,31 @@
|
|||||||
|
package cn.iocoder.yudao.module.crm.controller.admin.receivable.vo.receivable;
|
||||||
|
|
||||||
|
import cn.iocoder.yudao.module.crm.enums.permission.CrmPermissionLevelEnum;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Schema(description = "管理后台 - CRM 回款转移 Request VO")
|
||||||
|
@Data
|
||||||
|
public class CrmReceivableTransferReqVO {
|
||||||
|
|
||||||
|
@Schema(description = "回款编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10430")
|
||||||
|
@NotNull(message = "回款编号不能为空")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新负责人的用户编号
|
||||||
|
*/
|
||||||
|
@Schema(description = "新负责人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10430")
|
||||||
|
@NotNull(message = "新负责人的用户编号不能为空")
|
||||||
|
private Long newOwnerUserId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 老负责人加入团队后的权限级别。如果 null 说明移除
|
||||||
|
*
|
||||||
|
* 关联 {@link CrmPermissionLevelEnum}
|
||||||
|
*/
|
||||||
|
@Schema(description = "老负责人加入团队后的权限级别", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
||||||
|
private Integer oldOwnerPermissionLevel;
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue