package org.dromara.im.domain.vo;

import org.dromara.common.translation.annotation.Translation;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.common.translation.constant.TransConstant;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.im.domain.ImFriend;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 好友视图对象 im_friend
 *
 * @author Luo.J
 * @date 2025-05-15
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ImFriend.class)
public class ImFriendVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 好友id
     */
    @ExcelProperty(value = "好友id")
    private Long friendId;

    /**
     * 好友昵称
     */
    @ExcelProperty(value = "好友昵称")
    private String friendNickName;

    /**
     * 好友头像
     */
    @ExcelProperty(value = "好友头像")
    private String friendHeadImage;

    /**
     * 好友头像Url
     */
    private String friendHeadImageUrl;
    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    /**
     * 删除标识  0：否   1：是
     */
    @ExcelProperty(value = "删除标识  0：否   1：是")
    private String deleted;


}
