FlTrainingFileDbEntity.cs 1.05 KB
using SqlSugar;

namespace FoodLabeling.Application.Services.DbModels;

[SugarTable("fl_training_file")]
public class FlTrainingFileDbEntity
{
    [SugarColumn(IsPrimaryKey = true)]
    public string Id { get; set; } = string.Empty;

    public string CategoryId { get; set; } = string.Empty;

    public string FileName { get; set; } = string.Empty;

    public string FileUrl { get; set; } = string.Empty;

    /// <summary>image / doc / other</summary>
    public string FileType { get; set; } = "other";

    public long FileSize { get; set; }

    public int OrderNum { get; set; }

    public string AppliedPartnerType { get; set; } = "ALL";

    public string AppliedRegionType { get; set; } = "ALL";

    public string AvailabilityType { get; set; } = "ALL";

    public bool IsDeleted { get; set; }

    public DateTime CreationTime { get; set; }

    public string? CreatorId { get; set; }

    public DateTime? LastModificationTime { get; set; }

    public string? LastModifierId { get; set; }

    public string ConcurrencyStamp { get; set; } = string.Empty;
}