102 lines
2.0 KiB
Java
102 lines
2.0 KiB
Java
|
|
package com.linhelp.express;
|
||
|
|
|
||
|
|
import javax.validation.constraints.Min;
|
||
|
|
import javax.validation.constraints.NotBlank;
|
||
|
|
import javax.validation.constraints.NotNull;
|
||
|
|
|
||
|
|
public class ExpressOrderRequest {
|
||
|
|
private Long tenantId;
|
||
|
|
private Long communityId;
|
||
|
|
|
||
|
|
@NotNull
|
||
|
|
private Long addressId;
|
||
|
|
|
||
|
|
@NotBlank
|
||
|
|
private String expressCompany;
|
||
|
|
|
||
|
|
@NotBlank
|
||
|
|
private String pickupCode;
|
||
|
|
|
||
|
|
@NotBlank
|
||
|
|
private String pickupAddress;
|
||
|
|
|
||
|
|
private String receiverPhone;
|
||
|
|
|
||
|
|
@Min(1)
|
||
|
|
private int packageCount = 1;
|
||
|
|
|
||
|
|
private String remark;
|
||
|
|
|
||
|
|
public Long getTenantId() {
|
||
|
|
return tenantId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTenantId(Long tenantId) {
|
||
|
|
this.tenantId = tenantId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Long getCommunityId() {
|
||
|
|
return communityId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCommunityId(Long communityId) {
|
||
|
|
this.communityId = communityId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Long getAddressId() {
|
||
|
|
return addressId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAddressId(Long addressId) {
|
||
|
|
this.addressId = addressId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getExpressCompany() {
|
||
|
|
return expressCompany;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setExpressCompany(String expressCompany) {
|
||
|
|
this.expressCompany = expressCompany;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getPickupCode() {
|
||
|
|
return pickupCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPickupCode(String pickupCode) {
|
||
|
|
this.pickupCode = pickupCode;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getPickupAddress() {
|
||
|
|
return pickupAddress;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPickupAddress(String pickupAddress) {
|
||
|
|
this.pickupAddress = pickupAddress;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getReceiverPhone() {
|
||
|
|
return receiverPhone;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setReceiverPhone(String receiverPhone) {
|
||
|
|
this.receiverPhone = receiverPhone;
|
||
|
|
}
|
||
|
|
|
||
|
|
public int getPackageCount() {
|
||
|
|
return packageCount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPackageCount(int packageCount) {
|
||
|
|
this.packageCount = packageCount;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getRemark() {
|
||
|
|
return remark;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setRemark(String remark) {
|
||
|
|
this.remark = remark;
|
||
|
|
}
|
||
|
|
}
|