更新 Admin.NET/Admin.NET.Core/Service/File/Dto/FileInput.cs

文件管理功能添加是否公开附件功能
This commit is contained in:
362270511 2024-08-13 17:07:13 +08:00
parent b899c47e5c
commit 61b5bef016

View File

@ -18,6 +18,12 @@ public class FileInput : BaseIdInput
/// </summary> /// </summary>
public string FileType { get; set; } public string FileType { get; set; }
/// <summary>
/// 是否公开
/// 如果设置true所有人都可以查看默认只有自己或有权限的人可以查看
/// </summary>
public bool IsPublic { get; set; }
/// <summary> /// <summary>
/// 文件Url /// 文件Url
/// </summary> /// </summary>
@ -72,6 +78,12 @@ public class UploadFileFromBase64Input
/// 文件类型 /// 文件类型
/// </summary> /// </summary>
public string FileType { get; set; } public string FileType { get; set; }
/// <summary>
/// 是否公开
/// 如果设置true所有人都可以查看默认只有自己或有权限的人可以查看
/// </summary>
public bool IsPublic { get; set; }
} }
/// <summary> /// <summary>
@ -90,6 +102,12 @@ public class FileUploadInput
/// </summary> /// </summary>
public string FileType { get; set; } public string FileType { get; set; }
/// <summary>
/// 是否公开
/// 如果设置true所有人都可以查看默认只有自己或有权限的人可以查看
/// </summary>
public bool IsPublic { get; set; }
/// <summary> /// <summary>
/// 文件路径 /// 文件路径
/// </summary> /// </summary>
@ -168,6 +186,12 @@ public class FileOutput
/// </summary> /// </summary>
public string FileType { get; set; } public string FileType { get; set; }
/// <summary>
/// 是否公开
/// 如果设置true所有人都可以查看默认只有自己或有权限的人可以查看
/// </summary>
public bool IsPublic { get; set; }
/// <summary> /// <summary>
/// 上传人 /// 上传人
/// </summary> /// </summary>