forked from Gitlink/microservices
Merge pull request '关联里程碑和关联模块前端限制为必须传值' (#766) from otto/microservices:product_refact into product_refact
This commit is contained in:
commit
07dcaec093
|
|
@ -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