package com.m2pool.manage.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description 文档返回对象
 * @Date 2025/5/22 17:18
 * @Author yyb
 */
@Builder
@Data
@ApiModel(value = "ManageDocumentDto", description = "文档返回对象")
public class ManageDocumentDto {
    @ApiModelProperty(value = "id",example = "1")
    private Long id;

    @ApiModelProperty(value = "标题(中文或英文)",example = "文档标题")
    private String title;

    @ApiModelProperty(value = "副标题(中文或英文)",example = "文档副标题")
    private String subTitle;

    @ApiModelProperty(value = "内容(中文或英文)",example = "文档内容")
    private String content;

    @ApiModelProperty(value = "文档创建者",example = "文档创建者")
    private String createUser;

    @ApiModelProperty(value = "最后一次修改，修改人",example = "146555@qq.com")
    private String updateUser;

    @ApiModelProperty(value = "修改时间",example = "2025-05-22 14:22:13")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间",example = "2025-05-22 14:22:13")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "文档类型",example = "1.挖矿教程 2.常见问题 3.公告中心 0.其他")
    private Integer type;

    @ApiModelProperty(value = "文档子类型",example = "0没有 1服务条款、2费率、3API文档")
    private Integer childType;

    @ApiModelProperty(value = "文档标题链接",example = "https://www.m2pool.com")
    private String titleUrl;

    @ApiModelProperty(value = "文档内容链接",example = "https://www.m2pool.com")
    private String articleUrl;

    @ApiModelProperty(value = "币种",example = "rxd")
    private String coin;



}
