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 lombok.*;

import java.time.LocalDate;

/**
 * 生活助理巡视 DO
 */
@TableName("elderly_life_assistant_inspection")
@KeySequence("elderly_life_assistant_inspection_seq")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyLifeAssistantInspectionDO extends BaseNoDeleteDO {

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

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

    /** 记录日期 */
    private LocalDate recordDate;

    /** 防护重点 */
    private String protectionKey;

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

