package com.propertyManagement.business.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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_live_bill
 *
 * @author liushuai
 * @date 2025-05-26
 */
@Data
@ExcelIgnoreUnannotated
public class WxLiveBillVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 账单ID
     */
    private Long billId;

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

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

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

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

    /**
     * 业主电话
     */
    @ExcelProperty(value = "业主电话")
    private String proprietorPhone;

    /**
     * 业主房间
     */
    @ExcelProperty(value = "业主房间")
    private String room;

    /**
     * 房间面积
     */
    @ExcelProperty(value = "房间面积")
    private BigDecimal sqm;

    /**
     * 车位ID
     */
    private Long carportId;

    /**
     * 车位号
     */
    @ExcelProperty(value = "车位号")
    private String carportNumber;

    /**
     * 登记车牌
     */
    @ExcelProperty(value = "登记车牌")
    private String plateNumber;

    /**
     * 项目名称
     */
    @ExcelProperty(value = "项目名称")
    private String projectName;

    /**
     * 项目描述
     */
    @ExcelProperty(value = "项目描述")
    private String projectInfo;

    /**
     *  缴费时长（月）
     */
    @ExcelProperty(value = " 缴费时长（月）")
    private Integer duration;

    /**
     * 缴费月份
     */
    @ExcelProperty(value = "缴费月份")
    private Date month;

    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    private BigDecimal price;

    /**
     * 金额
     */
    @ExcelProperty(value = "金额")
    private BigDecimal money;

    /**
     * 类型（1电费 2水费 3物业费 4车位管理费 5车位出租费 6储藏室出租 7其他费用）
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_live_bill_type")
    private Integer type;

    /**
     * 状态（1待缴纳 2已缴纳）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_live_bill_state")
    private Integer state;

    /**
     * 创建类型（1.小程序 2.PC端）
     */
    @ExcelProperty(value = "创建类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=.小程序,2=.PC端")
    private Integer createType;


}
