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

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseNoDeleteDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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;
import java.time.LocalDateTime;

@TableName("elderly_extra_physical_exam_report")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyExtraPhysicalExamReportDO extends BaseNoDeleteDO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "长者id")
    private Long elderId;
    @Schema(description = "记录人")
    private String recorder;
    @Schema(description = "记录日期")
    private LocalDate recordDate;
    @Schema(description = "内容")
    private String content;
    @Schema(description = "机构id")
    private Long tenantId;

    @Schema(description = "长者姓名")
    @TableField(exist = false)
    private String elderName;
    @Schema(description = "床位号")
    @TableField(exist = false)
    private String bedNumber;
}
