MailingSaveDTO.java
2.16 KB
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
package com.sl.ms.oms.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@ApiModel(value = "下单参数")
@Data
public class MailingSaveDTO {
@ApiModelProperty("发件方地址簿id")
private Long sendAddress;
@ApiModelProperty("发件方地址经纬度")
private String sendLocation;
@ApiModelProperty("收件方地址簿id")
private Long receiptAddress;
@ApiModelProperty("收件方地址经纬度")
private String receiptLocation;
@ApiModelProperty("取件时间")
private LocalDateTime pickUpTime;
@ApiModelProperty("取件方式")
private Integer pickupType;
@ApiModelProperty("付款方式,1.预结2到付")
private Integer payMethod;
@ApiModelProperty("物品类型")
private String goodsType;
@ApiModelProperty("物品名称")
private String goodsName;
@ApiModelProperty("物品数量")
private Integer goodNum;
/**
* 货品总体积 m^3
*/
@ApiModelProperty("货品总体积")
private BigDecimal totalVolume;
/**
* 货品总重量 kg
*/
@ApiModelProperty("货品总重量")
private BigDecimal totalWeight;
/**
* 长,单位cm
*/
@ApiModelProperty(value = "长,单位cm")
@Min(value = 1, message = "长度最小为1")
@Max(value = 999, message = "长度最大为999")
private Integer measureLong;
/**
* 宽,单位cm
*/
@ApiModelProperty(value = "宽,单位cm")
@Min(value = 1, message = "宽度最小为1")
@Max(value = 999, message = "宽度最大为999")
private Integer measureWidth;
/**
* 高,单位cm
*/
@ApiModelProperty(value = "高,单位cm")
@Min(value = 1, message = "高度最小为1")
@Max(value = 999, message = "高度最大为999")
private Integer measureHigh;
/**
* 备注
*/
@ApiModelProperty("备注")
private String mark;
/**
* 客户id
*/
@ApiModelProperty("客户id")
private Long memberId;
}