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_protocol
 *
 * @author liushuai
 * @date 2025-05-24
 */
@Data
@ExcelIgnoreUnannotated
public class WxProtocolVo implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 协议名称
     */
    @ExcelProperty(value = "协议名称")
    private String name;

    /**
     * 协议内容
     */
    @ExcelProperty(value = "协议内容")
    private String content;

    /**
     * 协议类型(1用户协议 2隐私协议)
     */
    @ExcelProperty(value = "协议类型(1用户协议 2隐私协议)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_protocol_type")
    private Integer type;

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


}
