guohongjin
2024-05-15 5b7639f0bd9e056738ec15100ed0532e965c6cd5
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
package cn.stylefeng.guns.modular.business.dto.request;
 
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
@ApiModel("咨询订单创建DTO")
@Data
public class CreateCounsellingOrderRequest implements Serializable {
 
 
 
    @ApiModelProperty(value = "用户id")
    private Long userId;
 
    @ApiModelProperty(value = "咨询师id")
    private Long counsellingInfoId;
 
    @ApiModelProperty(value = "订单类型 1-首次咨询,2-咨询疗程,3-课程续费")
    private Integer orderType;
 
    @ApiModelProperty(value = "咨询套餐id,首次咨询不用传值")
    private Long counsellingSetMealId;
 
    @ApiModelProperty("是否后台创建 true-是,false-否")
    private Boolean isBack;
 
    @ApiModelProperty(value = "支付方式,1微信,2支付宝")
    @ChineseDescription("支付方式,1微信,2支付宝")
    private String payType;
 
    /**
     * 订单金额
     */
    @ApiModelProperty(value = "订单金额")
    @ChineseDescription("订单金额")
    private BigDecimal orderAmount;
    /**
     * 支付金额
     */
    @ApiModelProperty(value = "支付金额")
    @ChineseDescription("支付金额")
    private BigDecimal payAmount;
 
 
    @ApiModelProperty("首次咨询预约日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date firstAppointmentDate;
 
    @ApiModelProperty("首次预约时间点 10:00-11:00")
    private String firstAppointmentTimes;
 
    @ApiModelProperty("用户信息对象")
    private CustomerUpdateRequest customerUpdateRequest;
}