package cn.iocoder.yudao.module.system.controller.admin.nursing.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Data
public class NursingPlanItemRespVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "护理计划ID")
    private Long nursingPlanId;

    @Schema(description = "护理项目ID")
    private Long nurseItemId;

    @Schema(description = "护理项目名称")
    private String nurseItemName;

    @Schema(description = "频次")
    private BigDecimal frequency;

    @Schema(description = "频次单位")
    private Integer frequencyType;

    @Schema(description = "频次类别")
    private String frequencyCategory;

    @Schema(description = "频次类型，1：高频，2：中/低频")
    private Integer frequencyCategoryType;

    @Schema(description = "操作方式")
    private String operatingMode;

    @Schema(description = "是否删除，0：正常 1：删除")
    private Integer isDelete;

    @Schema(description = "是否是额外护理项目")
    private Integer isExtra;

    @Schema(description = "护理开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime beginTime;

    @Schema(description = "创建时间")
    private Date createdTime;

    @Schema(description = "创建人")
    private String createdBy;

    @Schema(description = "护理分类名称")
    private String categoryName;
}
