Helius
2020-12-25 9baa9caf5913861e5a81da7c262d9eb87e42db57
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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.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 = "请选择预约时间")
    @JsonFormat(pattern = DateUtil.DATE_FORMAT_MM, timezone = "GMT+8")
    @ApiModelProperty(value = "预约时间")
    private Date yyTime;
 
    @ApiModelProperty(value = "选择的项目")
    private List<CreateServiceOrderItemDto> projItems;
 
    @ApiModelProperty(value = "总时长")
    private Integer totalTime;
 
    @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;
    }
 
    public Integer getTotalTime() {
        return totalTime;
    }
 
    public void setTotalTime(Integer totalTime) {
        this.totalTime = totalTime;
    }
}