feat(项目管理产品需求重构): 完善产品中的需求规格功能开发
关联里程碑和关联模块前端限制为必须传值 关联Issue:https://pm.gitlink.org.cn/Gitlink/projects/228/bug/124019 Signed-off-by: OTTO <731554297@qq.com>
This commit is contained in:
parent
7edccfc637
commit
3e97db926c
|
|
@ -9,8 +9,6 @@ import io.swagger.annotations.ApiModel;
|
|||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* 产品需求对象 pms_product_requirement
|
||||
*
|
||||
|
|
@ -21,15 +19,13 @@ import javax.validation.constraints.NotNull;
|
|||
@ApiModel("需求规格更新对象")
|
||||
public class ProductReqSpecsUpdateVo extends ProductReqSpecsChangeVo {
|
||||
|
||||
@ApiModelProperty(value = "关联产品模块ID(无论用户是否修改该字段前端均需要传值,置空则传Null)", required = true)
|
||||
@NotNull
|
||||
@ApiModelProperty(value = "关联产品模块ID(无论用户是否修改该字段前端均需要传值,置空则传Null)")
|
||||
private Long pmsProductModuleId;
|
||||
|
||||
@ApiModelProperty(value = "产品需求类型")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "关联产品里程碑ID(无论用户是否修改该字段前端均需要传值,置空则传Null)", required = true)
|
||||
@NotNull
|
||||
@ApiModelProperty(value = "关联产品里程碑ID(无论用户是否修改该字段前端均需要传值,置空则传Null)")
|
||||
private Long pmsProductPlanId;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,8 +37,7 @@ public class ProductUserReqUpdateVo {
|
|||
/**
|
||||
* 关联产品模块ID
|
||||
*/
|
||||
@ApiModelProperty(value = "关联产品模块ID(无论用户是否修改该字段前端均需要传值,置空则传Null)", required = true)
|
||||
@NotNull
|
||||
@ApiModelProperty(value = "关联产品模块ID(无论用户是否修改该字段前端均需要传值,置空则传Null)")
|
||||
private Long pmsProductModuleId;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue