package com.matrix.system.app.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.matrix.core.tools.DateUtil; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotBlank; 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; @ApiModelProperty(value = "床位ID") private Long bedId; @NotNull(message = "请选择预约时间") @JsonFormat(pattern = DateUtil.DATE_FORMAT_MM, timezone = "GMT+8") @ApiModelProperty(value = "预约时间") private Date yyTime; @ApiModelProperty(value = "选择的项目") private List projItems; @ApiModelProperty(value = "总时长") private Integer totalTime; @ApiModelProperty(value = "备注") private String remark; @ApiModelProperty(value = "资金密码") private String password; public Long getBedId() { return bedId; } public void setBedId(Long bedId) { this.bedId = bedId; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } 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 getProjItems() { return projItems; } public void setProjItems(List projItems) { this.projItems = projItems; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public Integer getTotalTime() { return totalTime; } public void setTotalTime(Integer totalTime) { this.totalTime = totalTime; } }