- 集成 lombok

This commit is contained in:
sin 2019-04-06 23:29:12 +08:00
parent 207342187b
commit 934937613f
29 changed files with 110 additions and 2250 deletions

View File

@ -2,6 +2,8 @@ package cn.iocoder.mall.order.application.po;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
@ -13,6 +15,8 @@ import java.util.List;
* @author Sin * @author Sin
* @time 2019-04-05 16:55 * @time 2019-04-05 16:55
*/ */
@Data
@Accessors(chain = true)
@ApiModel(description = "订单发货PO") @ApiModel(description = "订单发货PO")
public class OrderDeliverPO implements Serializable { public class OrderDeliverPO implements Serializable {
@ -40,50 +44,4 @@ public class OrderDeliverPO implements Serializable {
@ApiModelProperty("订单items") @ApiModelProperty("订单items")
@NotNull(message = "没有选择发货的商品") @NotNull(message = "没有选择发货的商品")
private List<Integer> orderItemIds; private List<Integer> orderItemIds;
@Override
public String toString() {
return "OrderDeliverPO{" +
"orderId=" + orderId +
", logistics=" + logistics +
", logisticsNo='" + logisticsNo + '\'' +
", orderItemIds=" + orderItemIds +
'}';
}
public Integer getOrderId() {
return orderId;
}
public OrderDeliverPO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public Integer getLogistics() {
return logistics;
}
public OrderDeliverPO setLogistics(Integer logistics) {
this.logistics = logistics;
return this;
}
public String getLogisticsNo() {
return logisticsNo;
}
public OrderDeliverPO setLogisticsNo(String logisticsNo) {
this.logisticsNo = logisticsNo;
return this;
}
public List<Integer> getOrderItemIds() {
return orderItemIds;
}
public OrderDeliverPO setOrderItemIds(List<Integer> orderItemIds) {
this.orderItemIds = orderItemIds;
return this;
}
} }

View File

@ -2,6 +2,8 @@ package cn.iocoder.mall.order.application.po;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size; import javax.validation.constraints.Size;
@ -13,6 +15,8 @@ import java.io.Serializable;
* @author Sin * @author Sin
* @time 2019-03-24 11:16 * @time 2019-03-24 11:16
*/ */
@Data
@Accessors(chain = true)
@ApiModel("订单item更新") @ApiModel("订单item更新")
public class OrderItemUpdatePO implements Serializable { public class OrderItemUpdatePO implements Serializable {
@ -42,50 +46,4 @@ public class OrderItemUpdatePO implements Serializable {
@Size(max = 99999999, min = 0, message = "商品金额 0 ~ 99999999") @Size(max = 99999999, min = 0, message = "商品金额 0 ~ 99999999")
@ApiModelProperty("商品金额") @ApiModelProperty("商品金额")
private Integer price; private Integer price;
@Override
public String toString() {
return "OrderItemUpdateVO{" +
"id=" + id +
", skuId=" + skuId +
", quantity=" + quantity +
", price=" + price +
'}';
}
public Integer getId() {
return id;
}
public OrderItemUpdatePO setId(Integer id) {
this.id = id;
return this;
}
public Integer getSkuId() {
return skuId;
}
public OrderItemUpdatePO setSkuId(Integer skuId) {
this.skuId = skuId;
return this;
}
public Integer getQuantity() {
return quantity;
}
public OrderItemUpdatePO setQuantity(Integer quantity) {
this.quantity = quantity;
return this;
}
public Integer getPrice() {
return price;
}
public OrderItemUpdatePO setPrice(Integer price) {
this.price = price;
return this;
}
} }

View File

@ -2,6 +2,8 @@ package cn.iocoder.mall.order.application.po;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size; import javax.validation.constraints.Size;
@ -13,6 +15,8 @@ import java.io.Serializable;
* @author Sin * @author Sin
* @time 2019-03-24 11:01 * @time 2019-03-24 11:01
*/ */
@Data
@Accessors(chain = true)
@ApiModel("订单物流信息") @ApiModel("订单物流信息")
public class OrderLogisticsPO implements Serializable { public class OrderLogisticsPO implements Serializable {
@ -54,69 +58,4 @@ public class OrderLogisticsPO implements Serializable {
@ApiModelProperty("物流订号") @ApiModelProperty("物流订号")
private String logisticsNo; private String logisticsNo;
@Override
public String toString() {
return "OrderLogisticsVO{" +
"id=" + id +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", address='" + address + '\'' +
", logisticsNo='" + logisticsNo + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderLogisticsPO setId(Integer id) {
this.id = id;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderLogisticsPO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderLogisticsPO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderLogisticsPO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getAddress() {
return address;
}
public OrderLogisticsPO setAddress(String address) {
this.address = address;
return this;
}
public String getLogisticsNo() {
return logisticsNo;
}
public OrderLogisticsPO setLogisticsNo(String logisticsNo) {
this.logisticsNo = logisticsNo;
return this;
}
} }

View File

@ -3,6 +3,8 @@ package cn.iocoder.mall.order.application.po;
import cn.iocoder.mall.order.api.bo.OrderBO; import cn.iocoder.mall.order.api.bo.OrderBO;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
@ -13,6 +15,8 @@ import java.util.List;
* @author Sin * @author Sin
* @time 2019-03-27 21:23 * @time 2019-03-27 21:23
*/ */
@Data
@Accessors(chain = true)
@ApiModel("订单VO") @ApiModel("订单VO")
public class OrderPagePO implements Serializable { public class OrderPagePO implements Serializable {
@ -31,40 +35,4 @@ public class OrderPagePO implements Serializable {
*/ */
@ApiModelProperty("订单信息") @ApiModelProperty("订单信息")
private List<OrderBO> orders; private List<OrderBO> orders;
@Override
public String toString() {
return "OrderPageVO{" +
"pageNo=" + pageNo +
", total=" + total +
", orders=" + orders +
'}';
}
public Integer getPageNo() {
return pageNo;
}
public OrderPagePO setPageNo(Integer pageNo) {
this.pageNo = pageNo;
return this;
}
public Integer getTotal() {
return total;
}
public OrderPagePO setTotal(Integer total) {
this.total = total;
return this;
}
public List<OrderBO> getOrders() {
return orders;
}
public OrderPagePO setOrders(List<OrderBO> orders) {
this.orders = orders;
return this;
}
} }

View File

@ -2,6 +2,8 @@ package cn.iocoder.mall.order.application.po;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable; import java.io.Serializable;
@ -13,6 +15,8 @@ import java.util.Date;
* @author Sin * @author Sin
* @time 2019-03-24 10:40 * @time 2019-03-24 10:40
*/ */
@Data
@Accessors(chain = true)
@ApiModel("订单查询") @ApiModel("订单查询")
public class OrderPageQueryPO implements Serializable { public class OrderPageQueryPO implements Serializable {
@ -67,140 +71,4 @@ public class OrderPageQueryPO implements Serializable {
private Integer pageNo; private Integer pageNo;
@ApiModelProperty("每页大小") @ApiModelProperty("每页大小")
private Integer pageSize; private Integer pageSize;
@Override
public String toString() {
return "OrderPageQueryVO{" +
"id=" + id +
", orderNo='" + orderNo + '\'' +
", userId=" + userId +
", startPaymentTime=" + startPaymentTime +
", endPaymentTime=" + endPaymentTime +
", startCreateTime=" + startCreateTime +
", endCreateTime=" + endCreateTime +
", startClosingTime=" + startClosingTime +
", endClosingTime=" + endClosingTime +
", status=" + status +
", deleted=" + deleted +
", pageNo=" + pageNo +
", pageSize=" + pageSize +
'}';
}
public Integer getId() {
return id;
}
public OrderPageQueryPO setId(Integer id) {
this.id = id;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderPageQueryPO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getUserId() {
return userId;
}
public OrderPageQueryPO setUserId(Integer userId) {
this.userId = userId;
return this;
}
public Date getStartPaymentTime() {
return startPaymentTime;
}
public OrderPageQueryPO setStartPaymentTime(Date startPaymentTime) {
this.startPaymentTime = startPaymentTime;
return this;
}
public Date getEndPaymentTime() {
return endPaymentTime;
}
public OrderPageQueryPO setEndPaymentTime(Date endPaymentTime) {
this.endPaymentTime = endPaymentTime;
return this;
}
public Date getStartCreateTime() {
return startCreateTime;
}
public OrderPageQueryPO setStartCreateTime(Date startCreateTime) {
this.startCreateTime = startCreateTime;
return this;
}
public Date getEndCreateTime() {
return endCreateTime;
}
public OrderPageQueryPO setEndCreateTime(Date endCreateTime) {
this.endCreateTime = endCreateTime;
return this;
}
public Date getStartClosingTime() {
return startClosingTime;
}
public OrderPageQueryPO setStartClosingTime(Date startClosingTime) {
this.startClosingTime = startClosingTime;
return this;
}
public Date getEndClosingTime() {
return endClosingTime;
}
public OrderPageQueryPO setEndClosingTime(Date endClosingTime) {
this.endClosingTime = endClosingTime;
return this;
}
public Integer getStatus() {
return status;
}
public OrderPageQueryPO setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getDeleted() {
return deleted;
}
public OrderPageQueryPO setDeleted(Integer deleted) {
this.deleted = deleted;
return this;
}
public Integer getPageNo() {
return pageNo;
}
public OrderPageQueryPO setPageNo(Integer pageNo) {
this.pageNo = pageNo;
return this;
}
public Integer getPageSize() {
return pageSize;
}
public OrderPageQueryPO setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
} }

View File

@ -11,16 +11,25 @@
<artifactId>order-service-api</artifactId> <artifactId>order-service-api</artifactId>
<properties>
<org.projectlombok.version>1.16.14</org.projectlombok.version>
</properties>
<dependencies> <dependencies>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency> <dependency>
<groupId>cn.iocoder.mall</groupId> <groupId>cn.iocoder.mall</groupId>
<artifactId>common-framework</artifactId> <artifactId>common-framework</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,5 +1,8 @@
package cn.iocoder.mall.order.api.bo; package cn.iocoder.mall.order.api.bo;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
@ -10,6 +13,8 @@ import java.util.List;
* @author Sin * @author Sin
* @time 2019-03-23 14:30 * @time 2019-03-23 14:30
*/ */
@Data
@Accessors(chain = true)
public class OrderBO implements Serializable { public class OrderBO implements Serializable {
/** /**
@ -91,150 +96,4 @@ public class OrderBO implements Serializable {
* 订单物流信息 * 订单物流信息
*/ */
private OrderRecipientBO orderRecipient; private OrderRecipientBO orderRecipient;
@Override
public String toString() {
return "OrderBO{" +
"id=" + id +
", userId=" + userId +
", orderLogisticsId=" + orderLogisticsId +
", orderNo='" + orderNo + '\'' +
", payAmount=" + payAmount +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", hasReturnExchange=" + hasReturnExchange +
", status=" + status +
", remark='" + remark + '\'' +
", orderItems=" + orderItems +
", orderRecipient=" + orderRecipient +
'}';
}
public Integer getId() {
return id;
}
public OrderBO setId(Integer id) {
this.id = id;
return this;
}
public Integer getUserId() {
return userId;
}
public OrderBO setUserId(Integer userId) {
this.userId = userId;
return this;
}
public Integer getOrderLogisticsId() {
return orderLogisticsId;
}
public OrderBO setOrderLogisticsId(Integer orderLogisticsId) {
this.orderLogisticsId = orderLogisticsId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderBO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getPayAmount() {
return payAmount;
}
public OrderBO setPayAmount(Integer payAmount) {
this.payAmount = payAmount;
return this;
}
public Date getPaymentTime() {
return paymentTime;
}
public OrderBO setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
return this;
}
public Date getDeliveryTime() {
return deliveryTime;
}
public OrderBO setDeliveryTime(Date deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderBO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderBO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getHasReturnExchange() {
return hasReturnExchange;
}
public OrderBO setHasReturnExchange(Integer hasReturnExchange) {
this.hasReturnExchange = hasReturnExchange;
return this;
}
public Integer getStatus() {
return status;
}
public OrderBO setStatus(Integer status) {
this.status = status;
return this;
}
public String getRemark() {
return remark;
}
public OrderBO setRemark(String remark) {
this.remark = remark;
return this;
}
public List<OrderItemBO> getOrderItems() {
return orderItems;
}
public OrderBO setOrderItems(List<OrderItemBO> orderItems) {
this.orderItems = orderItems;
return this;
}
public OrderRecipientBO getOrderRecipient() {
return orderRecipient;
}
public OrderBO setOrderRecipient(OrderRecipientBO orderRecipient) {
this.orderRecipient = orderRecipient;
return this;
}
} }

View File

@ -1,5 +1,8 @@
package cn.iocoder.mall.order.api.bo; package cn.iocoder.mall.order.api.bo;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -8,6 +11,8 @@ import java.io.Serializable;
* @author Sin * @author Sin
* @time 2019-03-16 14:38 * @time 2019-03-16 14:38
*/ */
@Data
@Accessors(chain = true)
public class OrderCreateBO implements Serializable { public class OrderCreateBO implements Serializable {
/** /**
@ -22,40 +27,4 @@ public class OrderCreateBO implements Serializable {
* 订单金额 * 订单金额
*/ */
private Integer payAmount; private Integer payAmount;
@Override
public String toString() {
return "OrderCreateBO{" +
"id=" + id +
", orderNo='" + orderNo + '\'' +
", payAmount=" + payAmount +
'}';
}
public Integer getId() {
return id;
}
public OrderCreateBO setId(Integer id) {
this.id = id;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderCreateBO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getPayAmount() {
return payAmount;
}
public OrderCreateBO setPayAmount(Integer payAmount) {
this.payAmount = payAmount;
return this;
}
} }

View File

@ -1,5 +1,8 @@
package cn.iocoder.mall.order.api.bo; package cn.iocoder.mall.order.api.bo;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
@ -9,6 +12,8 @@ import java.util.Date;
* @author Sin * @author Sin
* @time 2019-03-28 21:11 * @time 2019-03-28 21:11
*/ */
@Data
@Accessors(chain = true)
public class OrderItemBO implements Serializable { public class OrderItemBO implements Serializable {
/** /**
@ -112,200 +117,4 @@ public class OrderItemBO implements Serializable {
* 删除状态 * 删除状态
*/ */
private Integer deleted; private Integer deleted;
@Override
public String toString() {
return "OrderItemBO{" +
"id=" + id +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", skuId=" + skuId +
", skuName='" + skuName + '\'' +
", skuImage='" + skuImage + '\'' +
", quantity=" + quantity +
", price=" + price +
", payAmount=" + payAmount +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", hasReturnExchange=" + hasReturnExchange +
", deliveryType=" + deliveryType +
", status=" + status +
", createTime=" + createTime +
", updateTime=" + updateTime +
", deleted=" + deleted +
'}';
}
public Integer getId() {
return id;
}
public OrderItemBO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderItemBO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderItemBO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getSkuId() {
return skuId;
}
public OrderItemBO setSkuId(Integer skuId) {
this.skuId = skuId;
return this;
}
public String getSkuName() {
return skuName;
}
public OrderItemBO setSkuName(String skuName) {
this.skuName = skuName;
return this;
}
public String getSkuImage() {
return skuImage;
}
public OrderItemBO setSkuImage(String skuImage) {
this.skuImage = skuImage;
return this;
}
public Integer getQuantity() {
return quantity;
}
public OrderItemBO setQuantity(Integer quantity) {
this.quantity = quantity;
return this;
}
public Integer getPrice() {
return price;
}
public OrderItemBO setPrice(Integer price) {
this.price = price;
return this;
}
public Integer getPayAmount() {
return payAmount;
}
public OrderItemBO setPayAmount(Integer payAmount) {
this.payAmount = payAmount;
return this;
}
public Date getPaymentTime() {
return paymentTime;
}
public OrderItemBO setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
return this;
}
public Date getDeliveryTime() {
return deliveryTime;
}
public OrderItemBO setDeliveryTime(Date deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderItemBO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderItemBO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getHasReturnExchange() {
return hasReturnExchange;
}
public OrderItemBO setHasReturnExchange(Integer hasReturnExchange) {
this.hasReturnExchange = hasReturnExchange;
return this;
}
public Integer getDeliveryType() {
return deliveryType;
}
public OrderItemBO setDeliveryType(Integer deliveryType) {
this.deliveryType = deliveryType;
return this;
}
public Integer getStatus() {
return status;
}
public OrderItemBO setStatus(Integer status) {
this.status = status;
return this;
}
public Date getCreateTime() {
return createTime;
}
public OrderItemBO setCreateTime(Date createTime) {
this.createTime = createTime;
return this;
}
public Date getUpdateTime() {
return updateTime;
}
public OrderItemBO setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
return this;
}
public Integer getDeleted() {
return deleted;
}
public OrderItemBO setDeleted(Integer deleted) {
this.deleted = deleted;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.api.bo; package cn.iocoder.mall.order.api.bo;
import cn.iocoder.common.framework.dataobject.BaseDO; import cn.iocoder.common.framework.dataobject.BaseDO;
import lombok.Data;
import lombok.experimental.Accessors;
/** /**
* 订单物流信息 * 订单物流信息
@ -8,6 +10,8 @@ import cn.iocoder.common.framework.dataobject.BaseDO;
* @author Sin * @author Sin
* @time 2019-03-19 20:47 * @time 2019-03-19 20:47
*/ */
@Data
@Accessors(chain = true)
public class OrderLogisticsBO extends BaseDO { public class OrderLogisticsBO extends BaseDO {
/** /**
@ -34,70 +38,4 @@ public class OrderLogisticsBO extends BaseDO {
* 物流编号 * 物流编号
*/ */
private String logisticsNo; private String logisticsNo;
@Override
public String toString() {
return "OrderLogisticsDO{" +
"id=" + id +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", address='" + address + '\'' +
", logisticsNo='" + logisticsNo + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderLogisticsBO setId(Integer id) {
this.id = id;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderLogisticsBO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderLogisticsBO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderLogisticsBO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getAddress() {
return address;
}
public OrderLogisticsBO setAddress(String address) {
this.address = address;
return this;
}
public String getLogisticsNo() {
return logisticsNo;
}
public OrderLogisticsBO setLogisticsNo(String logisticsNo) {
this.logisticsNo = logisticsNo;
return this;
}
} }

View File

@ -1,5 +1,8 @@
package cn.iocoder.mall.order.api.bo; package cn.iocoder.mall.order.api.bo;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable; import java.io.Serializable;
import java.util.List; import java.util.List;
@ -9,6 +12,8 @@ import java.util.List;
* @author Sin * @author Sin
* @time 2019-03-27 21:27 * @time 2019-03-27 21:27
*/ */
@Data
@Accessors(chain = true)
public class OrderPageBO implements Serializable { public class OrderPageBO implements Serializable {
/** /**
@ -20,29 +25,4 @@ public class OrderPageBO implements Serializable {
*/ */
private List<OrderBO> orders; private List<OrderBO> orders;
@Override
public String toString() {
return "OrderPageBO{" +
"total=" + total +
", orders=" + orders +
'}';
}
public Integer getTotal() {
return total;
}
public OrderPageBO setTotal(Integer total) {
this.total = total;
return this;
}
public List<OrderBO> getOrders() {
return orders;
}
public OrderPageBO setOrders(List<OrderBO> orders) {
this.orders = orders;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.api.bo; package cn.iocoder.mall.order.api.bo;
import cn.iocoder.common.framework.dataobject.BaseDO; import cn.iocoder.common.framework.dataobject.BaseDO;
import lombok.Data;
import lombok.experimental.Accessors;
/** /**
* 订单收件人信息 order_recipient * 订单收件人信息 order_recipient
@ -8,6 +10,8 @@ import cn.iocoder.common.framework.dataobject.BaseDO;
* @author Sin * @author Sin
* @time 2019-03-31 11:37 * @time 2019-03-31 11:37
*/ */
@Data
@Accessors(chain = true)
public class OrderRecipientBO extends BaseDO { public class OrderRecipientBO extends BaseDO {
/** /**
@ -38,80 +42,4 @@ public class OrderRecipientBO extends BaseDO {
* 收件详细地址 * 收件详细地址
*/ */
private String address; private String address;
@Override
public String toString() {
return "OrderRecipientBO{" +
"id=" + id +
", orderId=" + orderId +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", type=" + type +
", address='" + address + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderRecipientBO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderRecipientBO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderRecipientBO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderRecipientBO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderRecipientBO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public Integer getType() {
return type;
}
public OrderRecipientBO setType(Integer type) {
this.type = type;
return this;
}
public String getAddress() {
return address;
}
public OrderRecipientBO setAddress(String address) {
this.address = address;
return this;
}
} }

View File

@ -1,5 +1,8 @@
package cn.iocoder.mall.order.api.dto; package cn.iocoder.mall.order.api.dto;
import lombok.Data;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size; import javax.validation.constraints.Size;
import java.io.Serializable; import java.io.Serializable;
@ -11,6 +14,8 @@ import java.util.List;
* @author Sin * @author Sin
* @time 2019-03-16 14:42 * @time 2019-03-16 14:42
*/ */
@Data
@Accessors(chain = true)
public class OrderCreateDTO implements Serializable { public class OrderCreateDTO implements Serializable {
/** /**
@ -48,80 +53,4 @@ public class OrderCreateDTO implements Serializable {
@NotNull @NotNull
@Size(max = 1000, min = 1) @Size(max = 1000, min = 1)
private List<OrderCreateItemDTO> orderItems; private List<OrderCreateItemDTO> orderItems;
@Override
public String toString() {
return "OrderCreateDTO{" +
"userId=" + userId +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", address='" + address + '\'' +
", remark='" + remark + '\'' +
", orderItems=" + orderItems +
'}';
}
public Integer getUserId() {
return userId;
}
public OrderCreateDTO setUserId(Integer userId) {
this.userId = userId;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderCreateDTO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderCreateDTO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderCreateDTO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getAddress() {
return address;
}
public OrderCreateDTO setAddress(String address) {
this.address = address;
return this;
}
public String getRemark() {
return remark;
}
public OrderCreateDTO setRemark(String remark) {
this.remark = remark;
return this;
}
public List<OrderCreateItemDTO> getOrderItems() {
return orderItems;
}
public OrderCreateDTO setOrderItems(List<OrderCreateItemDTO> orderItems) {
this.orderItems = orderItems;
return this;
}
} }

View File

@ -21,29 +21,4 @@ public class OrderCreateItemDTO {
@Max(value = 1000) @Max(value = 1000)
private Integer quantity; private Integer quantity;
@Override
public String toString() {
return "OrderCreateItemDTO{" +
"skuId='" + skuId + '\'' +
", quantity=" + quantity +
'}';
}
public Integer getSkuId() {
return skuId;
}
public OrderCreateItemDTO setSkuId(Integer skuId) {
this.skuId = skuId;
return this;
}
public Integer getQuantity() {
return quantity;
}
public OrderCreateItemDTO setQuantity(Integer quantity) {
this.quantity = quantity;
return this;
}
} }

View File

@ -31,50 +31,4 @@ public class OrderDeliveryDTO implements Serializable {
* 订单 orderItemId * 订单 orderItemId
*/ */
private List<Integer> orderItemIds; private List<Integer> orderItemIds;
@Override
public String toString() {
return "OrderDeliveryDTO{" +
"orderId=" + orderId +
", logistics=" + logistics +
", logisticsNo='" + logisticsNo + '\'' +
", orderItemIds=" + orderItemIds +
'}';
}
public Integer getOrderId() {
return orderId;
}
public OrderDeliveryDTO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public Integer getLogistics() {
return logistics;
}
public OrderDeliveryDTO setLogistics(Integer logistics) {
this.logistics = logistics;
return this;
}
public String getLogisticsNo() {
return logisticsNo;
}
public OrderDeliveryDTO setLogisticsNo(String logisticsNo) {
this.logisticsNo = logisticsNo;
return this;
}
public List<Integer> getOrderItemIds() {
return orderItemIds;
}
public OrderDeliveryDTO setOrderItemIds(List<Integer> orderItemIds) {
this.orderItemIds = orderItemIds;
return this;
}
} }

View File

@ -17,30 +17,4 @@ public class OrderItemDeletedDTO implements Serializable {
* 订单item id * 订单item id
*/ */
private List<Integer> orderItemIds; private List<Integer> orderItemIds;
@Override
public String toString() {
return "OrderItemDeletedDTO{" +
"orderId=" + orderId +
", orderItemIds=" + orderItemIds +
'}';
}
public Integer getOrderId() {
return orderId;
}
public OrderItemDeletedDTO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public List<Integer> getOrderItemIds() {
return orderItemIds;
}
public OrderItemDeletedDTO setOrderItemIds(List<Integer> orderItemIds) {
this.orderItemIds = orderItemIds;
return this;
}
} }

View File

@ -32,49 +32,4 @@ public class OrderItemUpdateDTO implements Serializable {
@NotNull @NotNull
private Integer price; private Integer price;
@Override
public String toString() {
return "OrderItemUpdateDTO{" +
"id=" + id +
", skuId=" + skuId +
", quantity=" + quantity +
", price=" + price +
'}';
}
public Integer getId() {
return id;
}
public OrderItemUpdateDTO setId(Integer id) {
this.id = id;
return this;
}
public Integer getSkuId() {
return skuId;
}
public OrderItemUpdateDTO setSkuId(Integer skuId) {
this.skuId = skuId;
return this;
}
public Integer getQuantity() {
return quantity;
}
public OrderItemUpdateDTO setQuantity(Integer quantity) {
this.quantity = quantity;
return this;
}
public Integer getPrice() {
return price;
}
public OrderItemUpdateDTO setPrice(Integer price) {
this.price = price;
return this;
}
} }

View File

@ -43,70 +43,4 @@ public class OrderLogisticsUpdateDTO implements Serializable {
* 物流编号 * 物流编号
*/ */
private String logisticsNo; private String logisticsNo;
@Override
public String toString() {
return "OrderLogisticsDTO{" +
"id=" + id +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", address='" + address + '\'' +
", logisticsNo='" + logisticsNo + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderLogisticsUpdateDTO setId(Integer id) {
this.id = id;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderLogisticsUpdateDTO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderLogisticsUpdateDTO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderLogisticsUpdateDTO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getAddress() {
return address;
}
public OrderLogisticsUpdateDTO setAddress(String address) {
this.address = address;
return this;
}
public String getLogisticsNo() {
return logisticsNo;
}
public OrderLogisticsUpdateDTO setLogisticsNo(String logisticsNo) {
this.logisticsNo = logisticsNo;
return this;
}
} }

View File

@ -1,6 +1,5 @@
package cn.iocoder.mall.order.api.dto; package cn.iocoder.mall.order.api.dto;
import javax.validation.constraints.NotNull;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
@ -52,140 +51,4 @@ public class OrderQueryDTO implements Serializable {
private Integer status; private Integer status;
private Integer pageNo; private Integer pageNo;
private Integer pageSize; private Integer pageSize;
@Override
public String toString() {
return "OrderQueryDTO{" +
"id=" + id +
", orderNo='" + orderNo + '\'' +
", userId=" + userId +
", orderLogisticsId=" + orderLogisticsId +
", hasReturnExchange=" + hasReturnExchange +
", startPaymentTime=" + startPaymentTime +
", endPaymentTime=" + endPaymentTime +
", startCreateTime=" + startCreateTime +
", endCreateTime=" + endCreateTime +
", deleted=" + deleted +
", status=" + status +
", pageNo=" + pageNo +
", pageSize=" + pageSize +
'}';
}
public Integer getId() {
return id;
}
public OrderQueryDTO setId(Integer id) {
this.id = id;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderQueryDTO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getUserId() {
return userId;
}
public OrderQueryDTO setUserId(Integer userId) {
this.userId = userId;
return this;
}
public Integer getOrderLogisticsId() {
return orderLogisticsId;
}
public OrderQueryDTO setOrderLogisticsId(Integer orderLogisticsId) {
this.orderLogisticsId = orderLogisticsId;
return this;
}
public Integer getHasReturnExchange() {
return hasReturnExchange;
}
public OrderQueryDTO setHasReturnExchange(Integer hasReturnExchange) {
this.hasReturnExchange = hasReturnExchange;
return this;
}
public Date getStartPaymentTime() {
return startPaymentTime;
}
public OrderQueryDTO setStartPaymentTime(Date startPaymentTime) {
this.startPaymentTime = startPaymentTime;
return this;
}
public Date getEndPaymentTime() {
return endPaymentTime;
}
public OrderQueryDTO setEndPaymentTime(Date endPaymentTime) {
this.endPaymentTime = endPaymentTime;
return this;
}
public Date getStartCreateTime() {
return startCreateTime;
}
public OrderQueryDTO setStartCreateTime(Date startCreateTime) {
this.startCreateTime = startCreateTime;
return this;
}
public Date getEndCreateTime() {
return endCreateTime;
}
public OrderQueryDTO setEndCreateTime(Date endCreateTime) {
this.endCreateTime = endCreateTime;
return this;
}
public Integer getDeleted() {
return deleted;
}
public OrderQueryDTO setDeleted(Integer deleted) {
this.deleted = deleted;
return this;
}
public Integer getStatus() {
return status;
}
public OrderQueryDTO setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getPageNo() {
return pageNo;
}
public OrderQueryDTO setPageNo(Integer pageNo) {
this.pageNo = pageNo;
return this;
}
public Integer getPageSize() {
return pageSize;
}
public OrderQueryDTO setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
} }

View File

@ -1,7 +1,6 @@
package cn.iocoder.mall.order.api.dto; package cn.iocoder.mall.order.api.dto;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date;
/** /**
* 订单退货 - 创建 * 订单退货 - 创建
@ -34,60 +33,4 @@ public class OrderReturnCreateDTO implements Serializable {
* - 1 OrderItem 订单 对订单某一个商品退货 * - 1 OrderItem 订单 对订单某一个商品退货
*/ */
private Integer orderType; private Integer orderType;
@Override
public String toString() {
return "OrderReturnCreateDTO{" +
"orderId=" + orderId +
", orderItemId=" + orderItemId +
", orderReason=" + orderReason +
", otherReasons='" + otherReasons + '\'' +
", orderType=" + orderType +
'}';
}
public Integer getOrderId() {
return orderId;
}
public OrderReturnCreateDTO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public Integer getOrderItemId() {
return orderItemId;
}
public OrderReturnCreateDTO setOrderItemId(Integer orderItemId) {
this.orderItemId = orderItemId;
return this;
}
public Integer getOrderReason() {
return orderReason;
}
public OrderReturnCreateDTO setOrderReason(Integer orderReason) {
this.orderReason = orderReason;
return this;
}
public String getOtherReasons() {
return otherReasons;
}
public OrderReturnCreateDTO setOtherReasons(String otherReasons) {
this.otherReasons = otherReasons;
return this;
}
public Integer getOrderType() {
return orderType;
}
public OrderReturnCreateDTO setOrderType(Integer orderType) {
this.orderType = orderType;
return this;
}
} }

View File

@ -13,6 +13,7 @@
<properties> <properties>
<org.mapstruct.version>1.3.0.Final</org.mapstruct.version> <org.mapstruct.version>1.3.0.Final</org.mapstruct.version>
<org.projectlombok.version>1.16.14</org.projectlombok.version>
</properties> </properties>
<dependencies> <dependencies>
@ -58,6 +59,12 @@
<version>${org.mapstruct.version}</version> <version>${org.mapstruct.version}</version>
</dependency> </dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
</dependency>
<dependency> <dependency>
<groupId>com.google.guava</groupId> <groupId>com.google.guava</groupId>
<artifactId>guava</artifactId> <artifactId>guava</artifactId>
@ -119,6 +126,11 @@
<artifactId>mapstruct-processor</artifactId> <artifactId>mapstruct-processor</artifactId>
<version>${org.mapstruct.version}</version> <version>${org.mapstruct.version}</version>
</path> </path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${org.projectlombok.version}</version>
</path>
</annotationProcessorPaths> </annotationProcessorPaths>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.BaseDO; import cn.iocoder.common.framework.dataobject.BaseDO;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable; import java.io.Serializable;
@ -14,6 +16,8 @@ import java.io.Serializable;
* @author Sin * @author Sin
* @time 2019-03-30 16:20 * @time 2019-03-30 16:20
*/ */
@Data
@Accessors(chain = true)
public class OrderCancelDO extends BaseDO { public class OrderCancelDO extends BaseDO {
/** /**
@ -36,60 +40,4 @@ public class OrderCancelDO extends BaseDO {
* 原因如果选择其他原因保存在这 * 原因如果选择其他原因保存在这
*/ */
private String otherReason; private String otherReason;
@Override
public String toString() {
return "OrderCancelDO{" +
"id=" + id +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", reason=" + reason +
", otherReason='" + otherReason + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderCancelDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderCancelDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderCancelDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getReason() {
return reason;
}
public OrderCancelDO setReason(Integer reason) {
this.reason = reason;
return this;
}
public String getOtherReason() {
return otherReason;
}
public OrderCancelDO setOtherReason(String otherReason) {
this.otherReason = otherReason;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.DeletableDO; import cn.iocoder.common.framework.dataobject.DeletableDO;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date; import java.util.Date;
@ -10,6 +12,8 @@ import java.util.Date;
* @author Sin * @author Sin
* @time 2019-03-16 13:49 * @time 2019-03-16 13:49
*/ */
@Data
@Accessors(chain = true)
public class OrderDO extends DeletableDO { public class OrderDO extends DeletableDO {
/** /**
@ -76,119 +80,4 @@ public class OrderDO extends DeletableDO {
*/ */
private String remark; private String remark;
@Override
public String toString() {
return "OrderDO{" +
"id=" + id +
", userId=" + userId +
", orderNo='" + orderNo + '\'' +
", payAmount=" + payAmount +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", hasReturnExchange=" + hasReturnExchange +
", status=" + status +
", remark='" + remark + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getUserId() {
return userId;
}
public OrderDO setUserId(Integer userId) {
this.userId = userId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getPayAmount() {
return payAmount;
}
public OrderDO setPayAmount(Integer payAmount) {
this.payAmount = payAmount;
return this;
}
public Date getPaymentTime() {
return paymentTime;
}
public OrderDO setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
return this;
}
public Date getDeliveryTime() {
return deliveryTime;
}
public OrderDO setDeliveryTime(Date deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderDO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getHasReturnExchange() {
return hasReturnExchange;
}
public OrderDO setHasReturnExchange(Integer hasReturnExchange) {
this.hasReturnExchange = hasReturnExchange;
return this;
}
public Integer getStatus() {
return status;
}
public OrderDO setStatus(Integer status) {
this.status = status;
return this;
}
public String getRemark() {
return remark;
}
public OrderDO setRemark(String remark) {
this.remark = remark;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.DeletableDO; import cn.iocoder.common.framework.dataobject.DeletableDO;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date; import java.util.Date;
@ -10,6 +12,8 @@ import java.util.Date;
* @author Sin * @author Sin
* @time 2019-03-19 19:48 * @time 2019-03-19 19:48
*/ */
@Data
@Accessors(chain = true)
public class OrderExchangeDO extends DeletableDO { public class OrderExchangeDO extends DeletableDO {
/** /**
@ -107,169 +111,4 @@ public class OrderExchangeDO extends DeletableDO {
*/ */
private Integer status; private Integer status;
@Override
public String toString() {
return "OrderExchangeDO{" +
"id=" + id +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", orderItemId=" + orderItemId +
", skuId='" + skuId + '\'' +
", exchangeSkuId='" + exchangeSkuId + '\'' +
", exchangeOrderLogisticsId=" + exchangeOrderLogisticsId +
", receiverOrderLogisticsId=" + receiverOrderLogisticsId +
", orderReasonId=" + orderReasonId +
", reason='" + reason + '\'' +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", orderType=" + orderType +
", status=" + status +
'}';
}
public Integer getId() {
return id;
}
public OrderExchangeDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderExchangeDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderExchangeDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getOrderItemId() {
return orderItemId;
}
public OrderExchangeDO setOrderItemId(Integer orderItemId) {
this.orderItemId = orderItemId;
return this;
}
public String getSkuId() {
return skuId;
}
public OrderExchangeDO setSkuId(String skuId) {
this.skuId = skuId;
return this;
}
public String getExchangeSkuId() {
return exchangeSkuId;
}
public OrderExchangeDO setExchangeSkuId(String exchangeSkuId) {
this.exchangeSkuId = exchangeSkuId;
return this;
}
public Integer getExchangeOrderLogisticsId() {
return exchangeOrderLogisticsId;
}
public OrderExchangeDO setExchangeOrderLogisticsId(Integer exchangeOrderLogisticsId) {
this.exchangeOrderLogisticsId = exchangeOrderLogisticsId;
return this;
}
public Integer getReceiverOrderLogisticsId() {
return receiverOrderLogisticsId;
}
public OrderExchangeDO setReceiverOrderLogisticsId(Integer receiverOrderLogisticsId) {
this.receiverOrderLogisticsId = receiverOrderLogisticsId;
return this;
}
public Integer getOrderReasonId() {
return orderReasonId;
}
public OrderExchangeDO setOrderReasonId(Integer orderReasonId) {
this.orderReasonId = orderReasonId;
return this;
}
public String getReason() {
return reason;
}
public OrderExchangeDO setReason(String reason) {
this.reason = reason;
return this;
}
public Date getPaymentTime() {
return paymentTime;
}
public OrderExchangeDO setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
return this;
}
public Date getDeliveryTime() {
return deliveryTime;
}
public OrderExchangeDO setDeliveryTime(Date deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderExchangeDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderExchangeDO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getOrderType() {
return orderType;
}
public OrderExchangeDO setOrderType(Integer orderType) {
this.orderType = orderType;
return this;
}
public Integer getStatus() {
return status;
}
public OrderExchangeDO setStatus(Integer status) {
this.status = status;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.DeletableDO; import cn.iocoder.common.framework.dataobject.DeletableDO;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date; import java.util.Date;
@ -10,6 +12,8 @@ import java.util.Date;
* @author Sin * @author Sin
* @time 2019-03-16 14:03 * @time 2019-03-16 14:03
*/ */
@Data
@Accessors(chain = true)
public class OrderItemDO extends DeletableDO { public class OrderItemDO extends DeletableDO {
/** /**
@ -105,179 +109,4 @@ public class OrderItemDO extends DeletableDO {
*/ */
private Integer status; private Integer status;
@Override
public String toString() {
return "OrderItemDO{" +
"id=" + id +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", skuId=" + skuId +
", skuName='" + skuName + '\'' +
", skuImage='" + skuImage + '\'' +
", quantity=" + quantity +
", price=" + price +
", payAmount=" + payAmount +
", orderLogisticsId=" + orderLogisticsId +
", paymentTime=" + paymentTime +
", deliveryTime=" + deliveryTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", hasReturnExchange=" + hasReturnExchange +
", deliveryType=" + deliveryType +
", status=" + status +
'}';
}
public Integer getId() {
return id;
}
public OrderItemDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderItemDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderItemDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getSkuId() {
return skuId;
}
public OrderItemDO setSkuId(Integer skuId) {
this.skuId = skuId;
return this;
}
public String getSkuName() {
return skuName;
}
public OrderItemDO setSkuName(String skuName) {
this.skuName = skuName;
return this;
}
public String getSkuImage() {
return skuImage;
}
public OrderItemDO setSkuImage(String skuImage) {
this.skuImage = skuImage;
return this;
}
public Integer getQuantity() {
return quantity;
}
public OrderItemDO setQuantity(Integer quantity) {
this.quantity = quantity;
return this;
}
public Integer getPrice() {
return price;
}
public OrderItemDO setPrice(Integer price) {
this.price = price;
return this;
}
public Integer getPayAmount() {
return payAmount;
}
public OrderItemDO setPayAmount(Integer payAmount) {
this.payAmount = payAmount;
return this;
}
public Integer getOrderLogisticsId() {
return orderLogisticsId;
}
public OrderItemDO setOrderLogisticsId(Integer orderLogisticsId) {
this.orderLogisticsId = orderLogisticsId;
return this;
}
public Date getPaymentTime() {
return paymentTime;
}
public OrderItemDO setPaymentTime(Date paymentTime) {
this.paymentTime = paymentTime;
return this;
}
public Date getDeliveryTime() {
return deliveryTime;
}
public OrderItemDO setDeliveryTime(Date deliveryTime) {
this.deliveryTime = deliveryTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderItemDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderItemDO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getHasReturnExchange() {
return hasReturnExchange;
}
public OrderItemDO setHasReturnExchange(Integer hasReturnExchange) {
this.hasReturnExchange = hasReturnExchange;
return this;
}
public Integer getDeliveryType() {
return deliveryType;
}
public OrderItemDO setDeliveryType(Integer deliveryType) {
this.deliveryType = deliveryType;
return this;
}
public Integer getStatus() {
return status;
}
public OrderItemDO setStatus(Integer status) {
this.status = status;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.BaseDO; import cn.iocoder.common.framework.dataobject.BaseDO;
import lombok.Data;
import lombok.experimental.Accessors;
/** /**
* 订单物流信息 * 订单物流信息
@ -8,6 +10,8 @@ import cn.iocoder.common.framework.dataobject.BaseDO;
* @author Sin * @author Sin
* @time 2019-03-19 20:47 * @time 2019-03-19 20:47
*/ */
@Data
@Accessors(chain = true)
public class OrderLogisticsDO extends BaseDO { public class OrderLogisticsDO extends BaseDO {
/** /**
@ -43,89 +47,4 @@ public class OrderLogisticsDO extends BaseDO {
*/ */
private String logisticsNo; private String logisticsNo;
@Override
public String toString() {
return "OrderLogisticsDO{" +
"id=" + id +
", orderId=" + orderId +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", address='" + address + '\'' +
", logistics=" + logistics +
", logisticsNo='" + logisticsNo + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderLogisticsDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderLogisticsDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderLogisticsDO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderLogisticsDO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderLogisticsDO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public String getAddress() {
return address;
}
public OrderLogisticsDO setAddress(String address) {
this.address = address;
return this;
}
public Integer getLogistics() {
return logistics;
}
public OrderLogisticsDO setLogistics(Integer logistics) {
this.logistics = logistics;
return this;
}
public String getLogisticsNo() {
return logisticsNo;
}
public OrderLogisticsDO setLogisticsNo(String logisticsNo) {
this.logisticsNo = logisticsNo;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.DeletableDO; import cn.iocoder.common.framework.dataobject.DeletableDO;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date; import java.util.Date;
@ -12,6 +14,8 @@ import java.util.Date;
* @author Sin * @author Sin
* @time 2019-03-19 20:48 * @time 2019-03-19 20:48
*/ */
@Data
@Accessors(chain = true)
public class OrderLogisticsDetailDO extends DeletableDO { public class OrderLogisticsDetailDO extends DeletableDO {
/** /**
@ -30,50 +34,4 @@ public class OrderLogisticsDetailDO extends DeletableDO {
* 物流信息 * 物流信息
*/ */
private String logisticsInformation; private String logisticsInformation;
@Override
public String toString() {
return "OrderLogisticsDetailDO{" +
"id=" + id +
", orderLogisticsId=" + orderLogisticsId +
", logisticsTime=" + logisticsTime +
", logisticsInformation='" + logisticsInformation + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderLogisticsDetailDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderLogisticsId() {
return orderLogisticsId;
}
public OrderLogisticsDetailDO setOrderLogisticsId(Integer orderLogisticsId) {
this.orderLogisticsId = orderLogisticsId;
return this;
}
public Date getLogisticsTime() {
return logisticsTime;
}
public OrderLogisticsDetailDO setLogisticsTime(Date logisticsTime) {
this.logisticsTime = logisticsTime;
return this;
}
public String getLogisticsInformation() {
return logisticsInformation;
}
public OrderLogisticsDetailDO setLogisticsInformation(String logisticsInformation) {
this.logisticsInformation = logisticsInformation;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.BaseDO; import cn.iocoder.common.framework.dataobject.BaseDO;
import lombok.Data;
import lombok.experimental.Accessors;
/** /**
* 订单收件人信息 order_recipient (配送信息) * 订单收件人信息 order_recipient (配送信息)
@ -8,6 +10,8 @@ import cn.iocoder.common.framework.dataobject.BaseDO;
* @author Sin * @author Sin
* @time 2019-03-31 11:37 * @time 2019-03-31 11:37
*/ */
@Data
@Accessors(chain = true)
public class OrderRecipientDO extends BaseDO { public class OrderRecipientDO extends BaseDO {
/** /**
@ -41,79 +45,4 @@ public class OrderRecipientDO extends BaseDO {
*/ */
private String address; private String address;
@Override
public String toString() {
return "OrderRecipientDO{" +
"id=" + id +
", orderId=" + orderId +
", areaNo='" + areaNo + '\'' +
", name='" + name + '\'' +
", mobile='" + mobile + '\'' +
", type=" + type +
", address='" + address + '\'' +
'}';
}
public Integer getId() {
return id;
}
public OrderRecipientDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderRecipientDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getAreaNo() {
return areaNo;
}
public OrderRecipientDO setAreaNo(String areaNo) {
this.areaNo = areaNo;
return this;
}
public String getName() {
return name;
}
public OrderRecipientDO setName(String name) {
this.name = name;
return this;
}
public String getMobile() {
return mobile;
}
public OrderRecipientDO setMobile(String mobile) {
this.mobile = mobile;
return this;
}
public Integer getType() {
return type;
}
public OrderRecipientDO setType(Integer type) {
this.type = type;
return this;
}
public String getAddress() {
return address;
}
public OrderRecipientDO setAddress(String address) {
this.address = address;
return this;
}
} }

View File

@ -1,6 +1,8 @@
package cn.iocoder.mall.order.biz.dataobject; package cn.iocoder.mall.order.biz.dataobject;
import cn.iocoder.common.framework.dataobject.DeletableDO; import cn.iocoder.common.framework.dataobject.DeletableDO;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date; import java.util.Date;
@ -10,6 +12,8 @@ import java.util.Date;
* @author Sin * @author Sin
* @time 2019-03-19 19:48 * @time 2019-03-19 19:48
*/ */
@Data
@Accessors(chain = true)
public class OrderReturnDO extends DeletableDO { public class OrderReturnDO extends DeletableDO {
/** /**
@ -106,181 +110,4 @@ public class OrderReturnDO extends DeletableDO {
*/ */
private Integer status; private Integer status;
@Override
public String toString() {
return "OrderReturnDO{" +
"id=" + id +
", orderId=" + orderId +
", orderNo='" + orderNo + '\'' +
", orderItemId=" + orderItemId +
", skuId=" + skuId +
", skuName='" + skuName + '\'' +
", skuImage='" + skuImage + '\'' +
", orderLogisticsId=" + orderLogisticsId +
", orderReason=" + orderReason +
", otherReasons='" + otherReasons + '\'' +
", createTime=" + createTime +
", approvalTime=" + approvalTime +
", logisticsTime=" + logisticsTime +
", receiverTime=" + receiverTime +
", closingTime=" + closingTime +
", orderType=" + orderType +
", status=" + status +
'}';
}
public Integer getId() {
return id;
}
public OrderReturnDO setId(Integer id) {
this.id = id;
return this;
}
public Integer getOrderId() {
return orderId;
}
public OrderReturnDO setOrderId(Integer orderId) {
this.orderId = orderId;
return this;
}
public String getOrderNo() {
return orderNo;
}
public OrderReturnDO setOrderNo(String orderNo) {
this.orderNo = orderNo;
return this;
}
public Integer getOrderItemId() {
return orderItemId;
}
public OrderReturnDO setOrderItemId(Integer orderItemId) {
this.orderItemId = orderItemId;
return this;
}
public Integer getSkuId() {
return skuId;
}
public OrderReturnDO setSkuId(Integer skuId) {
this.skuId = skuId;
return this;
}
public String getSkuName() {
return skuName;
}
public OrderReturnDO setSkuName(String skuName) {
this.skuName = skuName;
return this;
}
public String getSkuImage() {
return skuImage;
}
public OrderReturnDO setSkuImage(String skuImage) {
this.skuImage = skuImage;
return this;
}
public Integer getOrderLogisticsId() {
return orderLogisticsId;
}
public OrderReturnDO setOrderLogisticsId(Integer orderLogisticsId) {
this.orderLogisticsId = orderLogisticsId;
return this;
}
public Integer getOrderReason() {
return orderReason;
}
public OrderReturnDO setOrderReason(Integer orderReason) {
this.orderReason = orderReason;
return this;
}
public String getOtherReasons() {
return otherReasons;
}
public OrderReturnDO setOtherReasons(String otherReasons) {
this.otherReasons = otherReasons;
return this;
}
@Override
public Date getCreateTime() {
return createTime;
}
@Override
public OrderReturnDO setCreateTime(Date createTime) {
this.createTime = createTime;
return this;
}
public Date getApprovalTime() {
return approvalTime;
}
public OrderReturnDO setApprovalTime(Date approvalTime) {
this.approvalTime = approvalTime;
return this;
}
public Date getLogisticsTime() {
return logisticsTime;
}
public OrderReturnDO setLogisticsTime(Date logisticsTime) {
this.logisticsTime = logisticsTime;
return this;
}
public Date getReceiverTime() {
return receiverTime;
}
public OrderReturnDO setReceiverTime(Date receiverTime) {
this.receiverTime = receiverTime;
return this;
}
public Date getClosingTime() {
return closingTime;
}
public OrderReturnDO setClosingTime(Date closingTime) {
this.closingTime = closingTime;
return this;
}
public Integer getOrderType() {
return orderType;
}
public OrderReturnDO setOrderType(Integer orderType) {
this.orderType = orderType;
return this;
}
public Integer getStatus() {
return status;
}
public OrderReturnDO setStatus(Integer status) {
this.status = status;
return this;
}
} }