package com.starry.admin.modules.custom.module.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.starry.admin.common.conf.StringTypeHandler;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;

/**
 * 顾客留言查询返回对象
 *
 * @author admin
 * @since 2024/5/7 16:29
 **/
@Data
@ApiModel(value = "顾客留言返回数据", description = "顾客留言信息的返回数据")
public class PlayCustomLeaveMsgReturnVo {

    /**
     * UUID
     */
    @ApiModelProperty(value = "留言ID", example = "1")
    private String id;

    /**
     * 留言内容
     */
    @ApiModelProperty(value = "留言内容", example = "服务很好，希望以后再次合作")
    private String content;

    /**
     * 图片
     */
    @ApiModelProperty(value = "留言图片", example = "[\"https://example.com/image1.jpg\",\"https://example.com/image2.jpg\"]")
    @TableField(typeHandler = StringTypeHandler.class)
    private List<String> images;

    /**
     * 留言时间
     */
    @ApiModelProperty(value = "留言时间", example = "2024-01-01 12:00:00")
    private Date msgTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", example = "重要留言")
    private String remark;

    /**
     * 顾客Id
     */
    @ApiModelProperty(value = "顾客ID", example = "1")
    private String customId;

    /**
     * 顾客昵称
     */
    @ApiModelProperty(value = "顾客头像", example = "https://example.com/avatar.jpg")
    private String customAvatar;

    /**
     * 头像
     */
    @ApiModelProperty(value = "顾客昵称", example = "张三")
    private String customNickname;
}
