package cn.iocoder.yudao.module.system.controller.admin.biz.vo.elderlyactivitytext;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

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

/**
 * 管理后台 - 楼层活动文字记录 Response VO
 *
 * @author 系统管理员
 */
@Schema(description = "管理后台 - 楼层活动文字记录 Response VO")
@Data
public class ElderlyBuildFloorActivityTextRespVO {

    @Schema(description = "id", example = "1")
    private Long id;

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

    @Schema(description = "第几周", example = "1")
    private Integer week;

    @Schema(description = "楼栋id", example = "1")
    private Long buidId;

    @Schema(description = "楼层id", example = "1")
    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 = "机构id", example = "1")
    private Long tenantId;

    @Schema(description = "明细")
    private List<ElderlyBuildFloorActivityTextItemRespVO> items;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "更新人")
    private String updater;
}
