package com.xinelu.manage.dto.projectresult;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @description: 项目检测统计查询传输对象
 * @author: haown
 * @create: 2024-03-06 13:09
 **/
@ApiModel("项目检测统计查询传输对象")
@Data
public class ProjectResultStatisticDto {

	@ApiModelProperty("患者id")
	private Long patientId;

	/**
	 * 分组编码
	 */
	@ApiModelProperty("分组编码，血压：bp,血糖:bg,运动：sport")
	private String groupCode;

	/**
	 * 分组id
	 */
	@ApiModelProperty("分组id")
	private Long groupId;
	/**
	 * 项目编码
	 */
	@ApiModelProperty("项目编码")
	private String projectCode;

	/**
	 * 项目id
	 */
	@ApiModelProperty("项目id")
	private Long projectId;

	/**
	 * 检测时间开始
	 */
	@ApiModelProperty("检测时间开始")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate measureTimeStart;

	/**
	 * 检测时间结束
	 */
	@ApiModelProperty("检测时间结束")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate measureTimeEnd;

}
