package com.propertyManagement.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.propertyManagement.common.annotation.ExcelDictFormat;
import com.propertyManagement.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 家庭成员视图对象 wx_family_member
 *
 * @author liushuai
 * @date 2025-05-14
 */
@Data
@ExcelIgnoreUnannotated
public class WxFamilyMemberVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 户主ID
     */
    private Long proprietorId;

    /**
     * 业主姓名
     */
    @ExcelProperty(value = "业主姓名")
    private String proprietorName;

    /**
     * 小区ID
     */
    private Long communityId;

    /**
     * 小区名称
     */
    @ExcelProperty(value = "小区名称")
    private String communityName;

    /**
     * 户号
     */
    @ExcelProperty(value = "户号")
    private String room;

    /**
     * 头像
     */
    @ExcelProperty(value = "头像")
    private String avatar;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;

    /**
     * 电话
     */
    @ExcelProperty(value = "电话")
    private String phone;

    /**
     * 关系
     */
    @ExcelProperty(value = "关系", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_family_member_relation")
    private Integer relation;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_family_member_state")
    private Integer state;


}
