FangJianJun_branch
方建军 10 months ago
parent 6099d4e75d
commit cc0e4b6b63

@ -0,0 +1,67 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;
/**
* `MyOrderDto`DTO
* 便
* 使便
* @author lanhai
*/
@Data
@Schema(description = "我的订单")
public class MyOrderDto {
/**
* `orderItemDtos` `MyOrderItemDto`
* SKU
* 便
* 退使
* `@Schema` `required = true`
* 便
*/
@Schema(description = "订单项", required = true)
private List<MyOrderItemDto> orderItemDtos;
/**
* `orderNumber`
*
* 退
* `@Schema` 便
*/
@Schema(description = "订单号", required = true)
private String orderNumber;
/**
* `actualTotal` `Double`
* 使
*
* `@Schema`
* 便
*/
@Schema(description = "总价", required = true)
private Double actualTotal;
/**
* `status`
* `0` `1` `2` `3`
*
*
* `@Schema` 便
*/
@Schema(description = "订单状态", required = true)
private Integer status;
}

@ -0,0 +1,76 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* `MyOrderItemDto`DTO
* 便
* 使
* @author lanhai
*/
@Schema(description = "我的订单-订单项")
@Data
public class MyOrderItemDto {
/**
* `pic`访
* 使URL
* `pic`
* `@JsonSerialize(using = ImgJsonSerializer.class)` JSON
* 使使
* `@Schema` `required = true`
* 便
*/
@Schema(description = "商品图片", required = true)
@JsonSerialize(using = ImgJsonSerializer.class)
private String pic;
/**
* `prodName`P50
*
* `@Schema`
* 便
*/
@Schema(description = "商品名称", required = true)
private String prodName;
/**
* `prodCount`
* 退
* `@Schema` 便
*/
@Schema(description = "商品数量", required = true)
private Integer prodCount;
/**
* `price` `Double`
*
* `@Schema`
* 便
*/
@Schema(description = "商品价格", required = true)
private Double price;
/**
* `skuName`SKUStock Keeping Unit
* SKU8GB + 256GB +
* SKU便
* `@Schema` skuName便
*/
@Schema(description = "skuName", required = true)
private String skuName;
}
Loading…
Cancel
Save