package com.ruoyi.interfaces.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * entity:PtHelpFile
 *
 * @author
 * @date 2022-1-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@JsonIgnoreProperties(value = {"handler", "hibernateLazyInitializer"})
public class PtHelpFile implements Serializable {
    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("CODE")
    private String code;
    @ApiModelProperty("关联id")
    private String relId;
    @ApiModelProperty("类型")
    private String type;
    @ApiModelProperty("文件保存路径")
    private String path;
    @ApiModelProperty("文件保存名称（默认=id）")
    private String saveName;
    @ApiModelProperty("文件名称")
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("添加文件时间")
    private Date intm;
    @ApiModelProperty("文件大小")
    private String size;
    @ApiModelProperty("状态")
    private String status;
    @ApiModelProperty("预览次数")
    private Long viewNum;
}
