package cn.iocoder.yudao.module.member.controller.admin.carteenmoney.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 门店流水 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CarteenMoneyRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14879")
    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "门店id", requiredMode = Schema.RequiredMode.REQUIRED, example = "927")
    private Long carteenId;

    @Schema(description = "门店名称", example = "王五")
    @ExcelProperty("门店名称")
    private String carteenName;

    @Schema(description = "成交金额")
    @ExcelProperty("成交金额")
    private BigDecimal successMoney;

    @Schema(description = "退款金额")
    @ExcelProperty("退款金额")
    private BigDecimal errorMoney;

    @Schema(description = "平台预留金额")
    @ExcelProperty("平台预留金额")
    private BigDecimal estimateMoney;

    @Schema(description = "总收入")
    @ExcelProperty("总收入")
    private BigDecimal sumMoney;

    @Schema(description = "总成本")
    @ExcelProperty("总成本")
    private BigDecimal totalCost;

    @Schema(description = "总利润")
    @ExcelProperty("总利润")
    private BigDecimal totalProfit;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}