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_nasal_feeding")
@KeySequence("elderly_nasal_feeding_seq")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyNasalFeedingDO extends BaseNoDeleteDO {

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

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

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

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

