mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-21 17:13:09 +08:00
17 lines
470 B
C#
17 lines
470 B
C#
namespace System.Application.Models
|
|
{
|
|
public class UploadFileSource : IUploadFileSource
|
|
{
|
|
public string FilePath { get; set; } = string.Empty;
|
|
|
|
public string MIME { get; set; } = string.Empty;
|
|
|
|
public bool IsCompressed { get; set; }
|
|
|
|
public bool IsCache { get; set; }
|
|
|
|
public UploadFileType UploadFileType { get; set; }
|
|
|
|
bool IExplicitHasValue.ExplicitHasValue() => !string.IsNullOrWhiteSpace(FilePath);
|
|
}
|
|
} |