25 lines
1.1 KiB
C#
25 lines
1.1 KiB
C#
using AyCode.Core.Serializers.Attributes;
|
|
using AyCode.Core.Serializers.Toons;
|
|
using FruitBank.Common.Interfaces;
|
|
using LinqToDB.Mapping;
|
|
using Mango.Nop.Core.Entities;
|
|
|
|
namespace FruitBank.Common.Entities;
|
|
|
|
[AcBinarySerializable(false, true, false, true, false, false)]
|
|
[ToonDescription("Uploaded file with extracted text content", Purpose = "A centralized repository for all uploaded binary content and metadata, featuring a 'RawText' field that stores OCR-extracted information for full-text search and automated data validation across the system")]
|
|
[Table(Name = FruitBankConstClient.FilesDbTableName)]
|
|
[System.ComponentModel.DataAnnotations.Schema.Table(FruitBankConstClient.FilesDbTableName)]
|
|
public class Files : MgEntityBase, IFiles
|
|
{
|
|
public string FileName { get; set; }
|
|
public string FileSubPath { get; set; }
|
|
public string FileExtension { get; set; }
|
|
public string RawText { get; set; }
|
|
public string FileHash { get; set; }
|
|
public bool IsCompressed { get; set; }
|
|
|
|
[SkipValuesOnUpdate]
|
|
public DateTime Created { get; set; }
|
|
public DateTime Modified { get; set; }
|
|
} |