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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 门店流水新增/修改 Request VO")
@Data
public class CarteenMoneySaveReqVO {

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

    @Schema(description = "门店id", requiredMode = Schema.RequiredMode.REQUIRED, example = "927")
    @NotNull(message = "门店id不能为空")
    private Long carteenId;

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

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

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

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

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

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

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

}