ProvinciaIstat
This commit is contained in:
@ -4,6 +4,6 @@ namespace StandManager.Domain.Entita;
|
|||||||
|
|
||||||
public class ProvinciaIstat : EntitaBase
|
public class ProvinciaIstat : EntitaBase
|
||||||
{
|
{
|
||||||
public string Istat { get; set; }
|
public string Sigla { get; set; }
|
||||||
public string Comune { get; set; }
|
public string Provincia { get; set; }
|
||||||
}
|
}
|
||||||
@ -12,8 +12,8 @@ using StandManager.Infrastructure.DAL.Context;
|
|||||||
namespace StandManager.Infrastructure.Migrations
|
namespace StandManager.Infrastructure.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(StandManagerDbContext))]
|
[DbContext(typeof(StandManagerDbContext))]
|
||||||
[Migration("20251222141858_Province")]
|
[Migration("20251222142449_ProvinciaIstat")]
|
||||||
partial class Province
|
partial class ProvinciaIstat
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||||
@ -535,10 +535,6 @@ namespace StandManager.Infrastructure.Migrations
|
|||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<string>("Comune")
|
|
||||||
.IsRequired()
|
|
||||||
.HasColumnType("nvarchar(max)");
|
|
||||||
|
|
||||||
b.Property<DateTime>("DataCreazione")
|
b.Property<DateTime>("DataCreazione")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
@ -554,7 +550,11 @@ namespace StandManager.Infrastructure.Migrations
|
|||||||
b.Property<Guid?>("IdUtenteModifica")
|
b.Property<Guid?>("IdUtenteModifica")
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<string>("Istat")
|
b.Property<string>("Provincia")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
|
b.Property<string>("Sigla")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
|||||||
namespace StandManager.Infrastructure.Migrations
|
namespace StandManager.Infrastructure.Migrations
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public partial class Province : Migration
|
public partial class ProvinciaIstat : Migration
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
@ -16,8 +16,8 @@ namespace StandManager.Infrastructure.Migrations
|
|||||||
columns: table => new
|
columns: table => new
|
||||||
{
|
{
|
||||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||||
Istat = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
Sigla = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||||
Comune = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
Provincia = table.Column<string>(type: "nvarchar(max)", nullable: false),
|
||||||
DataCreazione = table.Column<DateTime>(type: "datetime2", nullable: false),
|
DataCreazione = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||||
DataModifica = table.Column<DateTime>(type: "datetime2", nullable: true),
|
DataModifica = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||||
Eliminato = table.Column<bool>(type: "bit", nullable: false),
|
Eliminato = table.Column<bool>(type: "bit", nullable: false),
|
||||||
@ -532,10 +532,6 @@ namespace StandManager.Infrastructure.Migrations
|
|||||||
.ValueGeneratedOnAdd()
|
.ValueGeneratedOnAdd()
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<string>("Comune")
|
|
||||||
.IsRequired()
|
|
||||||
.HasColumnType("nvarchar(max)");
|
|
||||||
|
|
||||||
b.Property<DateTime>("DataCreazione")
|
b.Property<DateTime>("DataCreazione")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
@ -551,7 +547,11 @@ namespace StandManager.Infrastructure.Migrations
|
|||||||
b.Property<Guid?>("IdUtenteModifica")
|
b.Property<Guid?>("IdUtenteModifica")
|
||||||
.HasColumnType("uniqueidentifier");
|
.HasColumnType("uniqueidentifier");
|
||||||
|
|
||||||
b.Property<string>("Istat")
|
b.Property<string>("Provincia")
|
||||||
|
.IsRequired()
|
||||||
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
|
b.Property<string>("Sigla")
|
||||||
.IsRequired()
|
.IsRequired()
|
||||||
.HasColumnType("nvarchar(max)");
|
.HasColumnType("nvarchar(max)");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user