package com.matrix.system.app.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.Min;
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author wzy
|
* @date 2020-12-25
|
**/
|
@ApiModel(value = "CreateServiceOrderItemDto", description = "创建服务单参数接收类")
|
public class CreateServiceOrderItemDto {
|
|
@NotNull(message = "请选择项目")
|
@ApiModelProperty(value = "项目ID")
|
private Long puseId;
|
|
@NotNull(message = "请输入数量")
|
@Min(1)
|
@ApiModelProperty(value = "数量")
|
private Integer count;
|
|
|
public Long getPuseId() {
|
return puseId;
|
}
|
|
public void setPuseId(Long puseId) {
|
this.puseId = puseId;
|
}
|
|
public Integer getCount() {
|
return count;
|
}
|
|
public void setCount(Integer count) {
|
this.count = count;
|
}
|
}
|