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 com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 楼层活动图片记录 DO
 *
 * @author 系统管理员
 */
@TableName("elderly_build_floor_activity_image")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ElderlyBuildFloorActivityImageDO{

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 记录月
     */
    @Schema(description = "记录月")
    private String recordMonth;

    /**
     * 第几周
     */
    @Schema(description = "第几周")
    private Integer week;

    /**
     * 楼栋id
     */
    @Schema(description = "楼栋id")
    private Long buildId;

    /**
     * 楼层id
     */
    @Schema(description = "楼层id")
    private Long floorId;

    /**
     * 长者姓名
     */
    @Schema(description = "长者姓名")
    private String elderName;

    /**
     * 记录时间
     */
    @Schema(description = "记录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND, timezone = "GMT+8")
    private Date recordTime;

    /**
     * 所属楼层
     */
    @Schema(description = "所属楼层")
    private String belongFloor;

    /**
     * 活动日期
     */
    @Schema(description = "活动日期")
    private String activityDate;

    /**
     * 活动内容
     */
    @Schema(description = "活动内容")
    private String activityContent;

    /**
     * 活动图片
     */
    @Schema(description = "活动图片")
    private String activityImage;

    /**
     * 图片备注
     */
    @Schema(description = "图片备注")
    private String activityImageRemark;

    /**
     * 机构id
     */
    @Schema(description = "机构id")
    private Long tenantId;
}






