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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xunhong.erp.turbo.base.dto.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "花销统计记录列表查询")
@EqualsAndHashCode(callSuper = true)
public class ExpenseRecordListQry extends Query {

	/**
	 * 开始时间
	 */
	@Schema(title = "开始日期", type = "string")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private LocalDate startDate;

	/**
	 * 结束时间
	 */
	@Schema(title = "结束日期", type = "string")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private LocalDate endDate;
}

