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

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 NursingPlanItemWithElderVO {

    private Long elderId;
    private String elderName;

    private Long id;
    private Long nursingPlanId;
    private Long nurseItemId;
    private String nurseItemName;
    private BigDecimal frequency;
    private Integer frequencyType;
    private String frequencyCategory;
    private Integer frequencyCategoryType;
    private String operatingMode;
    private Integer isDelete;
    private Integer isExtra;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime beginTime;

    private Date createdTime;
    private String createdBy;
}
