Morska.Import.Standard refactored

This commit is contained in:
Michał Zieliński
2025-06-06 20:23:36 +02:00
parent a4d8622ace
commit b73adb4b17
12 changed files with 354 additions and 70 deletions

View File

@@ -45,7 +45,7 @@ public class Record
public double? Value32 { get; set; }
//Description fields
[StringLength(10000)]
public string? Desc1 { get; init; }
public string? Desc1 { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime ModifiedAt { get; set; }
public bool IsDeleted { get; init; }

View File

@@ -4,6 +4,7 @@ using System.Text.RegularExpressions;
using DiunaBI.Core.Models;
namespace DiunaBI.Core.Services;
public static class ProcessHelper
{
public static void SetValue(Record record, int number, double? value)
@@ -184,7 +185,6 @@ public static class ProcessHelper
}
return null;
}
public static string GetSheetName(int month, int year)
{
if (month < 1 || month > 12)