package com.ruoyi.base.protocol.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.filepathsplicing.FilePathRich;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 协议管理视图对象 tb_protocol
 *
 * @author xiechao
 * @date 2023-12-21
 */
@Data
@ApiModel("协议管理视图对象")
@ExcelIgnoreUnannotated
public class ProtocolVo {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    @ApiModelProperty("ID")
    private Integer id;

    /**
     * 协议code
     *      用户协议：user_protocol
     *      服务协议：service_protocol
     */
    @ExcelProperty(value = "协议code 用户协议：user_protocol 服务协议：service_protocol")
    @ApiModelProperty("协议code 用户协议：user_protocol 服务协议：service_protocol")
    private String protocolCode;

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

}
