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_account
 *
 * @author liushuai
 * @date 2025-05-22
 */
@Data
@ExcelIgnoreUnannotated
public class WxAccountVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long accountId;

    /**
     * 小区主键
     */
    @ExcelProperty(value = "小区主键")
    private Long communityId;

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

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

    /**
     * 账号
     */
    @ExcelProperty(value = "账号")
    private String account;

    /**
     * 密码
     */
    @ExcelProperty(value = "密码")
    private String possword;

    /**
     * 手机号码
     */
    @ExcelProperty(value = "手机号码")
    private String mobile;

    /**
     * 性别（0男 1女 2未知）
     */
    @ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private Integer sex;

    /**
     * 账号类型（1保洁 2保安 3维修人员）
     */
    @ExcelProperty(value = "账号类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "account_type")
    private Integer type;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
