|
| 1 | +/* |
| 2 | + * Copyright 2023-2033 WanSen AI Team, Inc. All Rights Reserved. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance |
| 5 | + * with the License. A copy of the License is located at |
| 6 | + * |
| 7 | + * http://opensource.wansenai.com/apache2.0/ |
| 8 | + * |
| 9 | + * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES |
| 10 | + * OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions |
| 11 | + * and limitations under the License. |
| 12 | + */ |
| 13 | +package com.wansenai.vo.receipt; |
| 14 | + |
| 15 | +import com.fasterxml.jackson.annotation.JsonFormat; |
| 16 | +import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| 17 | +import com.wansenai.bo.BigDecimalSerializerBO; |
| 18 | +import com.wansenai.bo.FileDataBO; |
| 19 | +import com.wansenai.bo.ShipmentsDataBO; |
| 20 | +import lombok.Builder; |
| 21 | +import lombok.Data; |
| 22 | + |
| 23 | +import java.math.BigDecimal; |
| 24 | +import java.time.LocalDateTime; |
| 25 | +import java.util.List; |
| 26 | + |
| 27 | +@Data |
| 28 | +@Builder |
| 29 | +public class RetailRefundDetailVO { |
| 30 | + |
| 31 | + @JsonFormat(shape = JsonFormat.Shape.STRING) |
| 32 | + private Long memberId; |
| 33 | + |
| 34 | + @JsonFormat(shape = JsonFormat.Shape.STRING) |
| 35 | + private Long accountId; |
| 36 | + |
| 37 | + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| 38 | + private LocalDateTime receiptDate; |
| 39 | + |
| 40 | + private String receiptNumber; |
| 41 | + |
| 42 | + private String otherReceipt; |
| 43 | + |
| 44 | + @JsonSerialize(using = BigDecimalSerializerBO.class) |
| 45 | + private BigDecimal paymentAmount; |
| 46 | + |
| 47 | + @JsonSerialize(using = BigDecimalSerializerBO.class) |
| 48 | + private BigDecimal receiptAmount; |
| 49 | + |
| 50 | + @JsonSerialize(using = BigDecimalSerializerBO.class) |
| 51 | + private BigDecimal backAmount; |
| 52 | + |
| 53 | + private String remark; |
| 54 | + |
| 55 | + private List<ShipmentsDataBO> tableData; |
| 56 | + |
| 57 | + private List<FileDataBO> files; |
| 58 | +} |
0 commit comments