package com.hotwj.platform.config.systemAgreement.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.config.systemAgreement.domain.HotSystemAgreement;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;


/**
 * 用户隐私政策视图对象 hot_system_agreement
 *
 * @author shihongwei
 * @date 2026-01-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotSystemAgreement.class)
public class HotSystemAgreementVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 制度内容（富文本，附件优先展示）
     */
    @ExcelProperty(value = "制度内容", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "富=文本，附件优先展示")
    private String content;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
