| | |
| | | package com.dy.pipIrrGlobal.voSe; |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.dy.common.po.BaseEntity; |
| | | import com.fasterxml.jackson.annotation.JsonPropertyOrder; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | |
| | |
| | | * @author ZhuBaoMin |
| | | * @date 2024-01-24 17:00 |
| | | * @LastEditTime 2024-01-24 17:00 |
| | | * @Description |
| | | * @Description 2024-08-22 朱宝民增加总额字段 |
| | | */ |
| | | |
| | | @Data |
| | | @JsonPropertyOrder({ "generalId", "cashierId", "cashierName", "tradeAmount", "gift", "refundAmount", "totalAmount", "operateDate", "auditStatus"}) |
| | | @Schema(title = "财务对账之总账视图对象") |
| | | public class VoGeneral implements BaseEntity { |
| | | private static final long serialVersionUID = 202401241706001L; |
| | | |
| | | @Schema(title = "总账ID") |
| | | private String generalId; |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long generalId; |
| | | |
| | | @Schema(title = "收银员ID") |
| | | private String cashierId; |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | private Long cashierId; |
| | | |
| | | @Schema(title = "收银员姓名") |
| | | private String cashierName; |
| | |
| | | @Schema(title = "返还金额") |
| | | private Float refundAmount; |
| | | |
| | | /** |
| | | * 总额 = 实收金额 + 赠送金额 + 返还金额 |
| | | */ |
| | | @Schema(title = "总额") |
| | | private Float totalAmount; |
| | | |
| | | @Schema(title = "交易日期") |
| | | private String operateDate; |
| | | |