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 ExpenseCost extends Command {

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

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

    /**
     * 费用类型ID
     */
	@Schema(title = "费用类型ID", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
    private Long costId;

    /**
     * 费用类型名称
     */
	@Schema(title = "费用类型名称", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
    private String costName;

    /**
     * 花销金额
     */
	@Schema(title = "花销金额", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
    private BigDecimal expenseAmount;

    /**
     * 备注（可填员工、事由等）
     */
	@Schema(title = "备注（可填员工、事由等）", type = "string")
    private String remark;
}

