package cn.iocoder.yudao.module.energy.controller.admin.bill.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 账单调整行创建 Request VO")
@Data
public class EnergyBillAdjustmentSaveReqVO {
    @Schema(description = "账单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账单不能为空")
    private Long billId;
    @Schema(description = "关联明细ID")
    private Long detailId;
    @Schema(description = "调整类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "调整类型不能为空")
    private Integer adjustmentType;
    @Schema(description = "调整金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "调整金额不能为空")
    private BigDecimal amount;
    @Schema(description = "调整原因")
    private String reason;
    @Schema(description = "附件URL")
    private String attachmentUrls;
}
