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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDate;

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

/**
 * 护理计划配置项 VO
 *
 * @author 系统管理员
 */
@Data
public class NursingPlanItemVO {

    /**
     * 主键ID
     */
    private Long id;
    /**
     * 护理计划ID
     */
    @Schema(description = "护理计划ID")
    private Long nursingPlanId;
    /**
     * 护理项目ID
     */
    @Schema(description = "护理项目ID")
    private Long nurseItemId;
    /**
     * 护理项目名称
     */
    @Schema(description = "护理项目名称")
    private String nurseItemName;
    /**
     * 频次
     */
    @Schema(description = "频次")
    private BigDecimal frequency;
    /**
     * 频次单位
     */
    @Schema(description = "频次单位")
    private String frequencyTypeUnit;
    /**
     * 操作方式
     */
    @Schema(description = "操作方式")
    private String operatingMode;


    @Schema(description = "护理时间")
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate date;

}
