package cn.iocoder.yudao.module.system.dal.dataobject.elderly;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseNoDeleteDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;

/**
 * 长者护理记录 DO
 */
@TableName("elderly_nursing_log")
@KeySequence("elderly_nursing_log_seq")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyNursingLogDO {

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 护理计划项目id */
    private Long nursingPlanItemId;

    /** 长者id */
    private Long elderId;

    /** 护理员 */
    private String nurse;

    /** 图片 */
    private String image;

    /** 备注 */
    private String remark;

    /** 护理日期 */
    private LocalDate nurseDate;

    /** 机构id */
    private Long tenantId;
}
