package com.xunhong.erp.turbo.api.biz.dto.common;

import com.alibaba.cola.dto.Command;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "花销计提明细")
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ExpenseProvision extends Command {

    /**
     * 明细ID
     */
	@Schema(title = "明细ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long expenseProvisionId;

    /**
     * 花销统计记录ID
     */
	@Schema(title = "花销统计记录ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long expenseRecordId;

    /**
     * 经销商名称
     */
	@Schema(title = "经销商名称", type = "string")
    private String dealerName;

    /**
     * 车次号
     */
	@Schema(title = "车次号", type = "string")
    private String vehicleNo;

    /**
     * 计提金额
     */
	@Schema(title = "计提金额", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal provisionAmount;

    /**
     * 采购单ID
     */
	@Schema(title = "采购单ID", type = "string")
    private Long orderId;
}

