18 lines
671 B
C#
18 lines
671 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Marco.Pms.Model.Utilities
|
|
{
|
|
public class FileUploadModel
|
|
{
|
|
public string FileName { get; set; } // Name of the file (e.g., "image1.png")
|
|
public string Base64Data { get; set; } // Base64-encoded string of the file
|
|
public string ContentType { get; set; } // MIME type (e.g., "image/png", "application/pdf")
|
|
public long FileSize { get; set; } // File size in bytes
|
|
public string Description { get; set; } // Optional: Description or purpose of the file
|
|
}
|
|
}
|