package com.matrix.system.app.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotNull;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author wzy
|
* @date 2020-12-25
|
**/
|
@ApiModel(value = "CreateServiceOrderDto", description = "创建服务单接口接收参数类")
|
public class CreateServiceOrderDto {
|
|
@NotNull(message = "请选择会员")
|
@ApiModelProperty(value = "会员ID")
|
private Long vipId;
|
|
@NotNull(message = "请选择美疗师")
|
@ApiModelProperty(value = "美疗师ID")
|
private Long beautyId;
|
|
@NotNull(message = "请选择预约时间")
|
@ApiModelProperty(value = "预约时间")
|
private Date yyTime;
|
|
@ApiModelProperty(value = "选择的项目")
|
private List<CreateServiceOrderItemDto> projItems;
|
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
public Long getVipId() {
|
return vipId;
|
}
|
|
public void setVipId(Long vipId) {
|
this.vipId = vipId;
|
}
|
|
public Long getBeautyId() {
|
return beautyId;
|
}
|
|
public void setBeautyId(Long beautyId) {
|
this.beautyId = beautyId;
|
}
|
|
public Date getYyTime() {
|
return yyTime;
|
}
|
|
public void setYyTime(Date yyTime) {
|
this.yyTime = yyTime;
|
}
|
|
public List<CreateServiceOrderItemDto> getProjItems() {
|
return projItems;
|
}
|
|
public void setProjItems(List<CreateServiceOrderItemDto> projItems) {
|
this.projItems = projItems;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
}
|