parent
cb0f4a8344
commit
aa7cd23e83
|
@ -5,7 +5,6 @@ import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.data.annotation.Id;
|
|
||||||
import org.springframework.data.relational.core.mapping.Table;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
@ -15,12 +14,10 @@ import java.io.Serializable;
|
||||||
@Data
|
@Data
|
||||||
public class TestPlanFollow implements Serializable {
|
public class TestPlanFollow implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@Id
|
|
||||||
@NotBlank(message = "{test_plan_follow.test_plan_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{test_plan_follow.test_plan_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "测试计划ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "测试计划ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String testPlanId;
|
private String testPlanId;
|
||||||
|
|
||||||
@Id
|
|
||||||
@NotBlank(message = "{test_plan_follow.user_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{test_plan_follow.user_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String userId;
|
private String userId;
|
||||||
|
|
|
@ -5,7 +5,6 @@ import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.data.annotation.Id;
|
|
||||||
import org.springframework.data.relational.core.mapping.Table;
|
import org.springframework.data.relational.core.mapping.Table;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
@ -15,12 +14,10 @@ import java.io.Serializable;
|
||||||
@Data
|
@Data
|
||||||
public class TestPlanPrincipal implements Serializable {
|
public class TestPlanPrincipal implements Serializable {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
@Id
|
|
||||||
@NotBlank(message = "{test_plan_principal.test_plan_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{test_plan_principal.test_plan_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "测试计划ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "测试计划ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String testPlanId;
|
private String testPlanId;
|
||||||
|
|
||||||
@Id
|
|
||||||
@NotBlank(message = "{test_plan_principal.user_id.not_blank}", groups = {Updated.class})
|
@NotBlank(message = "{test_plan_principal.user_id.not_blank}", groups = {Updated.class})
|
||||||
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
@ApiModelProperty(name = "用户ID", required = true, allowableValues = "range[1, 50]")
|
||||||
private String userId;
|
private String userId;
|
||||||
|
|
Loading…
Reference in New Issue