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

import com.xunhong.erp.turbo.api.biz.dto.common.ExpenseCost;
import com.xunhong.erp.turbo.api.biz.dto.common.ExpenseProvision;
import com.xunhong.erp.turbo.base.dto.Command;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.List;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "花销统计记录创建")
@EqualsAndHashCode(callSuper = true)
public class ExpenseRecordCreateCmd extends Command {

	/**
	 * 记录日期（YYYY-MM-DD）
	 */
	@Schema(title = "记录日期（YYYY-MM-DD）")
	private LocalDate recordDate;

	/**
	 * 花销费用明细
	 */
	@Schema(title = "花销费用明细")
	private List<ExpenseCost> expenseCostList;

	/**
	 * 花销计提明细
	 */
	@Schema(title = "花销计提明细")
	private List<ExpenseProvision> expenseProvisionList;

}

