package com.xinelu.manage.dto.poserInfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinelu.manage.domain.poserInfo.PoserInfo;
import com.xinelu.manage.vo.poserInfo.PosterPictureUrlVO;
import com.xinelu.manage.vo.poserInfo.PosterVideoUrlVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


/**
 * @author ljh
 * @version 1.0
 * Create by 2023/2/13 10:25
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PoserInfoDTO extends PoserInfo implements Serializable {
    private static final long serialVersionUID = 4525244334532050701L;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    /**
     * 图片集合
     */
    @Valid
    private List<PosterPictureUrlVO> posterPictureUrlLists;

    /**
     * 视频集合
     */
    private List<PosterVideoUrlVO> posterVideoUrlLists;

    /**
     * 护理站名称
     */
    private String nurseStationName;

    /**
     * 护理项目名称
     */
    private String nurseItemName;
}
