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_rule
 *
 * @author liushuai
 * @date 2025-05-14
 */
@Data
@ExcelIgnoreUnannotated
public class WxRuleVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long ruleId;

    /**
     * 小区主键
     */
    private Long communityId;

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

    /**
     * 规则内容
     */
    @ExcelProperty(value = "规则内容")
    private String ruleContent;

    /**
     * 规则类型
     */
    @ExcelProperty(value = "规则类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_rule_type")
    private Integer ruleType;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_is_enable")
    private Integer isEnable;


}
