Completato form attività e filtri
This commit is contained in:
32
Template.Shared/Core/Entity/StbActivityResult.cs
Normal file
32
Template.Shared/Core/Entity/StbActivityResult.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using SQLite;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Template.Shared.Core.Entity;
|
||||
|
||||
[Table("stb_activity_result")]
|
||||
public class StbActivityResult
|
||||
{
|
||||
[PrimaryKey, Column("activity_result_id"), JsonPropertyName("activityResultId")]
|
||||
public string ActivityResultId { get; set; }
|
||||
|
||||
[Column("path_icona"), JsonPropertyName("pathIcona")]
|
||||
public string? PathIcona { get; set; }
|
||||
|
||||
[Column("flag_save_rap_lav"), JsonPropertyName("flagSaveRapLav")]
|
||||
public string FlagSaveRapLav { get; set; } = "N";
|
||||
|
||||
[Column("flag_activity_result"), JsonPropertyName("flagActivityResult")]
|
||||
public int? FlagActivityResult { get; set; } = 1;
|
||||
|
||||
[Column("flag_insert_activity"), JsonPropertyName("flagInsertActivity")]
|
||||
public string FlagInsertActivity { get; set; } = "N";
|
||||
|
||||
[Column("flag_attivo"), JsonPropertyName("flagAttivo")]
|
||||
public string FlagAttivo { get; set; } = "S";
|
||||
|
||||
[Column("flag_invio_notifica"), JsonPropertyName("flagInvioNotifica")]
|
||||
public string FlagInvioNotifica { get; set; } = "N";
|
||||
|
||||
[Column("flag_stato_attivita"), JsonPropertyName("flagStatoAttivita")]
|
||||
public string FlagStatoAttivita { get; set; } = "N";
|
||||
}
|
||||
41
Template.Shared/Core/Entity/StbActivityType.cs
Normal file
41
Template.Shared/Core/Entity/StbActivityType.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using SQLite;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Template.Shared.Core.Entity;
|
||||
|
||||
[Table("stb_activity_type")]
|
||||
public class StbActivityType
|
||||
{
|
||||
[Column("activity_type_id"), JsonPropertyName("activityTypeId"), Indexed(Name = "ActivityTypePK", Order = 1, Unique = true)]
|
||||
public string ActivityTypeId { get; set; }
|
||||
|
||||
[Column("flag_tipologia"), JsonPropertyName("flagTipologia"), Indexed(Name = "ActivityTypePK", Order = 2, Unique = true)]
|
||||
public string FlagTipologia { get; set; }
|
||||
|
||||
[Column("estimated_duration"), JsonPropertyName("estimatedDuration")]
|
||||
public double? EstimatedDuration { get; set; } = 0;
|
||||
|
||||
[Column("link_gest"), JsonPropertyName("linkGest")]
|
||||
public string? LinkGest { get; set; }
|
||||
|
||||
[Column("cod_jfas"), JsonPropertyName("codJfas")]
|
||||
public string? CodJfas { get; set; }
|
||||
|
||||
[Column("user_name"), JsonPropertyName("userName")]
|
||||
public string? UserName { get; set; }
|
||||
|
||||
[Column("flag_sal"), JsonPropertyName("flagSal")]
|
||||
public string FlagSal { get; set; } = "N";
|
||||
|
||||
[Column("flag_set_alarm"), JsonPropertyName("flagSetAlarm")]
|
||||
public string FlagSetAlarm { get; set; } = "N";
|
||||
|
||||
[Column("flag_attiva"), JsonPropertyName("flagAttiva")]
|
||||
public string FlagAttiva { get; set; } = "S";
|
||||
|
||||
[Column("flag_generate_mov"), JsonPropertyName("flagGenerateMov")]
|
||||
public string FlagGenerateMov { get; set; } = "S";
|
||||
|
||||
[Column("flag_view_calendar"), JsonPropertyName("flagViewCalendar")]
|
||||
public bool FlagViewCalendar { get; set; }
|
||||
}
|
||||
14
Template.Shared/Core/Entity/StbUser.cs
Normal file
14
Template.Shared/Core/Entity/StbUser.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using SQLite;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Template.Shared.Core.Entity;
|
||||
|
||||
[Table("stb_user")]
|
||||
public class StbUser
|
||||
{
|
||||
[PrimaryKey, Column("user_name"), JsonPropertyName("userName")]
|
||||
public string UserName { get; set; }
|
||||
|
||||
[Column("full_name"), JsonPropertyName("fullName")]
|
||||
public string FullName { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user