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

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseNoDeleteDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 长者特殊护理计划执行日志 DO
 */
@TableName("elderly_special_nursing_log")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlySpecialNursingLogDO extends BaseNoDeleteDO {

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

    @Schema(description = "特殊护理计划明细id")
    private Long specialPlanItemId;

    @Schema(description = "长者id")
    private Long elderId;

    @Schema(description = "完成时间")
    private LocalDateTime finishTime;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "图片")
    private String imageUrl;

    @Schema(description = "状态，0：完成，1：撤销")
    private Integer status;

    @Schema(description = "租户ID")
    private Long tenantId;
}

