Restructure TAble
This commit is contained in:
parent
717b0f0a8e
commit
1ba2f2eec1
37 changed files with 1107 additions and 527 deletions
|
|
@ -1,9 +1,10 @@
|
|||
using BMA.EHR.Application.Repositories;
|
||||
using BMA.EHR.Application.Repositories.BloodGroup;
|
||||
using BMA.EHR.Application.Repositories.Prefix;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace BMA.EHR.Application
|
||||
{
|
||||
public static class ApplicationServicesRegistration
|
||||
public static class ApplicationServicesRegistration
|
||||
{
|
||||
public static IServiceCollection AddApplication(this IServiceCollection services)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.5" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.8" />
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
|
|
@ -1,14 +1,23 @@
|
|||
using BMA.EHR.Domain.Entities.MetaData;
|
||||
using BMA.EHR.Domain.Entities.MetaData.BloodGroup;
|
||||
using BMA.EHR.Domain.Entities.MetaData.Prefix;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Application.Common.Interfaces
|
||||
{
|
||||
public interface IApplicationDBContext
|
||||
{
|
||||
DbSet<PrefixEntity> Prefixes { get; set; }
|
||||
public interface IApplicationDBContext
|
||||
{
|
||||
DbSet<PrefixEntity> MD_Prefixes { get; set; }
|
||||
|
||||
DbSet<BloodGroupEntity> BloodGroups { get; set; }
|
||||
DbSet<PrefixDraftEntity> MD_Prefix_Drafts { get; set; }
|
||||
|
||||
Task<int> SaveChangesAsync();
|
||||
DbSet<PrefixPublishHistoryEntity> MD_Prefix_Histories { get; set; }
|
||||
|
||||
DbSet<BloodGroupEntity> MD_BloodGroups { get; set; }
|
||||
|
||||
DbSet<BloodGroupDraftEntity> MD_BloodGroup_Drafts { get; set; }
|
||||
|
||||
DbSet<BloodGroupPublishHistoryEntity> MD_BloodGroup_Histories { get; set; }
|
||||
|
||||
Task<int> SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
namespace BMA.EHR.Application.Common.Interfaces
|
||||
using BMA.EHR.Domain.Common;
|
||||
|
||||
namespace BMA.EHR.Application.Common.Interfaces
|
||||
{
|
||||
public interface IGenericRepository<S,T> where T : class
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,26 @@
|
|||
using BMA.EHR.Application.Common.Interfaces;
|
||||
using BMA.EHR.Domain.Entities.MetaData.BloodGroup;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Application.Repositories.BloodGroup
|
||||
{
|
||||
public class BloodGroupRepository : IGenericRepository<Guid, BloodGroupEntity>
|
||||
{
|
||||
private readonly IApplicationDBContext _dbContext;
|
||||
|
||||
public BloodGroupRepository(IApplicationDBContext dbContext)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
}
|
||||
|
||||
public async Task<IReadOnlyList<BloodGroupEntity>> GetAllAsync()
|
||||
{
|
||||
return await _dbContext.MD_BloodGroups.ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<BloodGroupEntity?> GetByIdAsync(Guid id)
|
||||
{
|
||||
return await _dbContext.MD_BloodGroups.FirstOrDefaultAsync(x => x.Id == id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
using BMA.EHR.Application.Common.Interfaces;
|
||||
using BMA.EHR.Domain.Entities.MetaData;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Application.Repositories
|
||||
{
|
||||
public class BloodGroupRepository : IGenericRepository<Guid, BloodGroupEntity>
|
||||
{
|
||||
private readonly IApplicationDBContext _dbContext;
|
||||
|
||||
public BloodGroupRepository(IApplicationDBContext dbContext)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
}
|
||||
|
||||
public async Task<IReadOnlyList<BloodGroupEntity>> GetAllAsync()
|
||||
{
|
||||
return await _dbContext.BloodGroups.ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<BloodGroupEntity?> GetByIdAsync(Guid id)
|
||||
{
|
||||
return await _dbContext.BloodGroups.FirstOrDefaultAsync(x => x.Id == id);
|
||||
}
|
||||
}
|
||||
}
|
||||
26
BMA.EHR.Application/Repositories/Prefix/PrefixRepository.cs
Normal file
26
BMA.EHR.Application/Repositories/Prefix/PrefixRepository.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using BMA.EHR.Application.Common.Interfaces;
|
||||
using BMA.EHR.Domain.Entities.MetaData.Prefix;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Application.Repositories.Prefix
|
||||
{
|
||||
public class PrefixRepository : IGenericRepository<Guid, PrefixEntity>
|
||||
{
|
||||
private readonly IApplicationDBContext _dbContext;
|
||||
|
||||
public PrefixRepository(IApplicationDBContext dbContext)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
}
|
||||
|
||||
public async Task<IReadOnlyList<PrefixEntity>> GetAllAsync()
|
||||
{
|
||||
return await _dbContext.MD_Prefixes.ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<PrefixEntity?> GetByIdAsync(Guid id)
|
||||
{
|
||||
return await _dbContext.MD_Prefixes.FirstOrDefaultAsync(x => x.Id == id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
using BMA.EHR.Application.Common.Interfaces;
|
||||
using BMA.EHR.Domain.Entities.MetaData;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Application.Repositories
|
||||
{
|
||||
public class PrefixRepository : IGenericRepository<Guid, PrefixEntity>
|
||||
{
|
||||
private readonly IApplicationDBContext _dbContext;
|
||||
|
||||
public PrefixRepository(IApplicationDBContext dbContext)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
}
|
||||
|
||||
public async Task<IReadOnlyList<PrefixEntity>> GetAllAsync()
|
||||
{
|
||||
return await _dbContext.Prefixes.ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<PrefixEntity?> GetByIdAsync(Guid id)
|
||||
{
|
||||
return await _dbContext.Prefixes.FirstOrDefaultAsync(x => x.Id == id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="7.0.5" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="7.0.8" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
13
BMA.EHR.Domain/Common/BaseDataEntity.cs
Normal file
13
BMA.EHR.Domain/Common/BaseDataEntity.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common.Interfaces;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Common
|
||||
{
|
||||
public abstract class BaseDataEntity<T> : BaseEntity<T>, IActivableEntity
|
||||
{
|
||||
[Required, Column(Order = 990), Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
13
BMA.EHR.Domain/Common/BaseDraftEntity.cs
Normal file
13
BMA.EHR.Domain/Common/BaseDraftEntity.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common.Interfaces;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Common
|
||||
{
|
||||
public class BaseDraftEntity<T> : BaseDataEntity<T>, IPublishableEntity
|
||||
{
|
||||
[Required, Column(Order = 899), Comment("สถานะการเผยแพร่ข้อมูล")]
|
||||
public bool IsPublished { get; set; } = false;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,34 +1,36 @@
|
|||
using BMA.EHR.Domain.Common.Interfaces;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BMA.EHR.Domain.Common
|
||||
{
|
||||
public abstract class BaseEntity<T> : IActivableEntity, IAuditableEntity
|
||||
{
|
||||
[Key, Column(Order = 0), Comment("คีย์หลัก")]
|
||||
public virtual T Id { get; set; }
|
||||
public class BaseEntity<T> : IAuditableEntity
|
||||
{
|
||||
[Key, Column(Order = 0), Comment("คีย์หลัก")]
|
||||
public virtual T Id { get; set; }
|
||||
|
||||
[Required, Column(Order = 990), Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
[Required, Column(Order = 991), Comment("User Id ที่สร้างข้อมูล")]
|
||||
public Guid CreatedUserId { get; set; } = Guid.Empty;
|
||||
|
||||
[Required, Column(Order = 991), Comment("User Id ที่สร้างข้อมูล")]
|
||||
public Guid CreatedUserId { get; set; } = Guid.Empty;
|
||||
[Required, Column(Order = 992), Comment("ชื่อ User ที่สร้างข้อมูล")]
|
||||
public string CreatedUserFullName { get; set; } = string.Empty;
|
||||
|
||||
[Required, Column(Order = 992), Comment("ชื่อ User ที่สร้างข้อมูล")]
|
||||
public string CreatedUserFullName { get; set; } = string.Empty;
|
||||
[Required, Column(Order = 993), Comment("สร้างข้อมูลเมื่อ")]
|
||||
public DateTime CreatedDate { get; set; } = DateTime.Now;
|
||||
|
||||
[Required, Column(Order = 993), Comment("สร้างข้อมูลเมื่อ")]
|
||||
public DateTime CreatedDate { get; set; } = DateTime.Now;
|
||||
[Column(Order = 994), Comment("User Id ที่แก้ไขข้อมูล")]
|
||||
public Guid? ModifiedUserId { get; set; }
|
||||
|
||||
[Column(Order = 994), Comment("User Id ที่แก้ไขข้อมูล")]
|
||||
public Guid? ModifiedUserId { get; set; }
|
||||
[Column(Order = 995), Comment("ชื่อ User ที่แก้ไขข้อมูล")]
|
||||
public string? ModifiedUserFullName { get; set; }
|
||||
|
||||
[Column(Order = 995), Comment("ชื่อ User ที่แก้ไจข้อมูล")]
|
||||
public string? ModifiedUserFullName { get; set; }
|
||||
|
||||
[Column(Order = 996), Comment("แก้ไขข้อมูลเมื่อ")]
|
||||
public DateTime? ModifiedDate { get; set; }
|
||||
}
|
||||
[Column(Order = 996), Comment("แก้ไขข้อมูลเมื่อ")]
|
||||
public DateTime? ModifiedDate { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
13
BMA.EHR.Domain/Common/Interfaces/IPublishableEntity.cs
Normal file
13
BMA.EHR.Domain/Common/Interfaces/IPublishableEntity.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BMA.EHR.Domain.Common.Interfaces
|
||||
{
|
||||
public interface IPublishableEntity
|
||||
{
|
||||
bool IsPublished { get; set; }
|
||||
}
|
||||
}
|
||||
11
BMA.EHR.Domain/Common/ResponseObject.cs
Normal file
11
BMA.EHR.Domain/Common/ResponseObject.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
namespace BMA.EHR.Domain.Common
|
||||
{
|
||||
public class ResponseObject
|
||||
{
|
||||
public int Status { get; set; }
|
||||
|
||||
public string? Message { get; set; }
|
||||
|
||||
public object? Result { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.BloodGroup
|
||||
{
|
||||
public class BloodGroupDraftEntity : BaseDraftEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(2), Column(Order = 1), Comment("ชื่อหมู่โลหิต")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.BloodGroup
|
||||
{
|
||||
public class BloodGroupEntity : BaseDataEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(2), Column(Order = 1), Comment("ชื่อหมู่โลหิต")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.BloodGroup
|
||||
{
|
||||
public class BloodGroupPublishHistoryEntity : BaseEntity<Guid>
|
||||
{
|
||||
[Column(Order = 1), Comment("รายละเอียดการแก้ไข")]
|
||||
public string Detail { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 2), Comment("เก็บ Object ที่มีการอัพเดตในระบบ")]
|
||||
public string ObjectValue { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData
|
||||
{
|
||||
public class BloodGroupEntity : BaseEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(2), Column(Order = 1), Comment("ชื่อหมู่โลหิต")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
13
BMA.EHR.Domain/Entities/MetaData/Prefix/PrefixDraftEntity.cs
Normal file
13
BMA.EHR.Domain/Entities/MetaData/Prefix/PrefixDraftEntity.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.Prefix
|
||||
{
|
||||
public class PrefixDraftEntity : BaseDraftEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(100), Column(Order = 1), Comment("รายละเอียดคำนำหน้า")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
@ -3,9 +3,9 @@ using Microsoft.EntityFrameworkCore;
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.Prefix
|
||||
{
|
||||
public class PrefixEntity : BaseEntity<Guid>
|
||||
public class PrefixEntity : BaseDataEntity<Guid>
|
||||
{
|
||||
[Required, MaxLength(100), Column(Order = 1), Comment("รายละเอียดคำนำหน้า")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
using BMA.EHR.Domain.Common;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Entities.MetaData.Prefix
|
||||
{
|
||||
public class PrefixPublishHistoryEntity : BaseEntity<Guid>
|
||||
{
|
||||
[Column(Order = 1), Comment("รายละเอียดการแก้ไข")]
|
||||
public string Detail { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 2), Comment("เก็บ Object ที่มีการอัพเดตในระบบ")]
|
||||
public string ObjectValue { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
27
BMA.EHR.Domain/Shared/GlobalMessages.cs
Normal file
27
BMA.EHR.Domain/Shared/GlobalMessages.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
namespace BMA.EHR.Domain.Shared
|
||||
{
|
||||
public class GlobalMessages
|
||||
{
|
||||
public static readonly string Success = "สำเร็จ";
|
||||
|
||||
public static readonly string Error = "เกิดข้อผิดพลาด";
|
||||
|
||||
public static readonly string DataNotFound = "ไม่พบข้อมูลในระบบ";
|
||||
|
||||
#region " Meta Data "
|
||||
|
||||
public static readonly string DataExist5 = "เนื่องจากมีการกำหนดวันหยุดในการทำงาน 5 วันอยู่";
|
||||
|
||||
public static readonly string DataExist6 = "เนื่องจากมีการกำหนดวันหยุดในการทำงาน 6 วันอยู่";
|
||||
|
||||
public static readonly string NameDupicate = "ชื่อวันหยุดนี้มีอยู่ในระบบอยู่แล้ว";
|
||||
|
||||
public static readonly string HolidayOfYearNotFound = "ไม่พบข้อมูลวันหยุดในปีที่คุณระบุ";
|
||||
|
||||
public static readonly string HolidayOfYearNotCopy = "ไม่สามารถคัดลอกวันหยุดย้อนหลังได้";
|
||||
|
||||
public static readonly string DestinationHolidayIsExist = "ข้อมูลวันหยุดในปีที่ระบุมีอยู่แล้ว";
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -7,11 +7,11 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.5">
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.8">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.5">
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.8">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
|
|
|
|||
|
|
@ -19,5 +19,28 @@ namespace BMA.EHR.Infrastructure
|
|||
|
||||
return services;
|
||||
}
|
||||
|
||||
public static IServiceCollection AddEmailSender(this IServiceCollection services,
|
||||
IConfiguration configuration)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
public static IServiceCollection AddS3Storage(this IServiceCollection services,
|
||||
IConfiguration configuration)
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,142 +0,0 @@
|
|||
// <auto-generated />
|
||||
using System;
|
||||
using BMA.EHR.Infrastructure.Persistence;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Oracle.EntityFrameworkCore.Metadata;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
[DbContext(typeof(ApplicationDBContext))]
|
||||
[Migration("20230605123842_Initial Database")]
|
||||
partial class InitialDatabase
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.5")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||||
|
||||
OracleModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroupEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActivable")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไจข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(2)
|
||||
.HasColumnType("NVARCHAR2(2)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("ชื่อหมู่โลหิต");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("BloodGroups");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.PrefixEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActivable")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไจข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("NVARCHAR2(100)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดคำนำหน้า");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Prefixes");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class InitialDatabase : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "BloodGroups",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Name = table.Column<string>(type: "NVARCHAR2(2)", maxLength: 2, nullable: false, comment: "ชื่อหมู่โลหิต"),
|
||||
IsActivable = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการใช้งาน"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไจข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_BloodGroups", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "Prefixes",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Name = table.Column<string>(type: "NVARCHAR2(100)", maxLength: 100, nullable: false, comment: "รายละเอียดคำนำหน้า"),
|
||||
IsActivable = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการใช้งาน"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไจข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_Prefixes", x => x.Id);
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "BloodGroups");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "Prefixes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,142 +0,0 @@
|
|||
// <auto-generated />
|
||||
using System;
|
||||
using BMA.EHR.Infrastructure.Persistence;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Oracle.EntityFrameworkCore.Metadata;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
[DbContext(typeof(ApplicationDBContext))]
|
||||
[Migration("20230605131808_Change Field Name")]
|
||||
partial class ChangeFieldName
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.5")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||||
|
||||
OracleModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroupEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไจข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(2)
|
||||
.HasColumnType("NVARCHAR2(2)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("ชื่อหมู่โลหิต");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("BloodGroups");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.PrefixEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไจข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("NVARCHAR2(100)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดคำนำหน้า");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Prefixes");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ChangeFieldName : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "IsActivable",
|
||||
table: "Prefixes",
|
||||
newName: "IsActive");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "IsActivable",
|
||||
table: "BloodGroups",
|
||||
newName: "IsActive");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "IsActive",
|
||||
table: "Prefixes",
|
||||
newName: "IsActivable");
|
||||
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "IsActive",
|
||||
table: "BloodGroups",
|
||||
newName: "IsActivable");
|
||||
}
|
||||
}
|
||||
}
|
||||
376
BMA.EHR.Infrastructure/Migrations/20230625113156_Init Project.Designer.cs
generated
Normal file
376
BMA.EHR.Infrastructure/Migrations/20230625113156_Init Project.Designer.cs
generated
Normal file
|
|
@ -0,0 +1,376 @@
|
|||
// <auto-generated />
|
||||
using System;
|
||||
using BMA.EHR.Infrastructure.Persistence;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using Oracle.EntityFrameworkCore.Metadata;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
[DbContext(typeof(ApplicationDBContext))]
|
||||
[Migration("20230625113156_Init Project")]
|
||||
partial class InitProject
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.8")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||||
|
||||
OracleModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroup.BloodGroupDraftEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<bool>("IsPublished")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(899)
|
||||
.HasComment("สถานะการเผยแพร่ข้อมูล");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(2)
|
||||
.HasColumnType("NVARCHAR2(2)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("ชื่อหมู่โลหิต");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_BloodGroup_Drafts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroup.BloodGroupEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(2)
|
||||
.HasColumnType("NVARCHAR2(2)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("ชื่อหมู่โลหิต");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_BloodGroups");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroup.BloodGroupPublishHistoryEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("Detail")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดการแก้ไข");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("ObjectValue")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(2)
|
||||
.HasComment("เก็บ Object ที่มีการอัพเดตในระบบ");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_BloodGroup_Histories");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.Prefix.PrefixDraftEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<bool>("IsPublished")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(899)
|
||||
.HasComment("สถานะการเผยแพร่ข้อมูล");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("NVARCHAR2(100)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดคำนำหน้า");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_Prefix_Drafts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.Prefix.PrefixEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("NVARCHAR2(100)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดคำนำหน้า");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_Prefixes");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.Prefix.PrefixPublishHistoryEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("Detail")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดการแก้ไข");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("ObjectValue")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(2)
|
||||
.HasComment("เก็บ Object ที่มีการอัพเดตในระบบ");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_Prefix_Histories");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
153
BMA.EHR.Infrastructure/Migrations/20230625113156_Init Project.cs
Normal file
153
BMA.EHR.Infrastructure/Migrations/20230625113156_Init Project.cs
Normal file
|
|
@ -0,0 +1,153 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class InitProject : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "MD_BloodGroup_Drafts",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Name = table.Column<string>(type: "NVARCHAR2(2)", maxLength: 2, nullable: false, comment: "ชื่อหมู่โลหิต"),
|
||||
IsPublished = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการเผยแพร่ข้อมูล"),
|
||||
IsActive = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการใช้งาน"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_MD_BloodGroup_Drafts", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "MD_BloodGroup_Histories",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Detail = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "รายละเอียดการแก้ไข"),
|
||||
ObjectValue = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "เก็บ Object ที่มีการอัพเดตในระบบ"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_MD_BloodGroup_Histories", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "MD_BloodGroups",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Name = table.Column<string>(type: "NVARCHAR2(2)", maxLength: 2, nullable: false, comment: "ชื่อหมู่โลหิต"),
|
||||
IsActive = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการใช้งาน"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_MD_BloodGroups", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "MD_Prefix_Drafts",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Name = table.Column<string>(type: "NVARCHAR2(100)", maxLength: 100, nullable: false, comment: "รายละเอียดคำนำหน้า"),
|
||||
IsPublished = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการเผยแพร่ข้อมูล"),
|
||||
IsActive = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการใช้งาน"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_MD_Prefix_Drafts", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "MD_Prefix_Histories",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Detail = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "รายละเอียดการแก้ไข"),
|
||||
ObjectValue = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "เก็บ Object ที่มีการอัพเดตในระบบ"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_MD_Prefix_Histories", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "MD_Prefixes",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "คีย์หลัก"),
|
||||
Name = table.Column<string>(type: "NVARCHAR2(100)", maxLength: 100, nullable: false, comment: "รายละเอียดคำนำหน้า"),
|
||||
IsActive = table.Column<bool>(type: "NUMBER(1)", nullable: false, comment: "สถานะการใช้งาน"),
|
||||
CreatedUserId = table.Column<Guid>(type: "RAW(16)", nullable: false, comment: "User Id ที่สร้างข้อมูล"),
|
||||
CreatedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: false, comment: "ชื่อ User ที่สร้างข้อมูล"),
|
||||
CreatedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false, comment: "สร้างข้อมูลเมื่อ"),
|
||||
ModifiedUserId = table.Column<Guid>(type: "RAW(16)", nullable: true, comment: "User Id ที่แก้ไขข้อมูล"),
|
||||
ModifiedUserFullName = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูล"),
|
||||
ModifiedDate = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: true, comment: "แก้ไขข้อมูลเมื่อ")
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_MD_Prefixes", x => x.Id);
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "MD_BloodGroup_Drafts");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "MD_BloodGroup_Histories");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "MD_BloodGroups");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "MD_Prefix_Drafts");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "MD_Prefix_Histories");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "MD_Prefixes");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17,12 +17,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.5")
|
||||
.HasAnnotation("ProductVersion", "7.0.8")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||||
|
||||
OracleModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroupEntity", b =>
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroup.BloodGroupDraftEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
|
@ -51,6 +51,11 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<bool>("IsPublished")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(899)
|
||||
.HasComment("สถานะการเผยแพร่ข้อมูล");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
|
|
@ -59,7 +64,7 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไจข้อมูล");
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
|
|
@ -75,10 +80,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("BloodGroups");
|
||||
b.ToTable("MD_BloodGroup_Drafts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.PrefixEntity", b =>
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroup.BloodGroupEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
|
@ -115,7 +120,124 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไจข้อมูล");
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(2)
|
||||
.HasColumnType("NVARCHAR2(2)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("ชื่อหมู่โลหิต");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_BloodGroups");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.BloodGroup.BloodGroupPublishHistoryEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("Detail")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดการแก้ไข");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("ObjectValue")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(2)
|
||||
.HasComment("เก็บ Object ที่มีการอัพเดตในระบบ");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_BloodGroup_Histories");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.Prefix.PrefixDraftEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<bool>("IsPublished")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(899)
|
||||
.HasComment("สถานะการเผยแพร่ข้อมูล");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
|
|
@ -131,7 +253,119 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("Prefixes");
|
||||
b.ToTable("MD_Prefix_Drafts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.Prefix.PrefixEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("NUMBER(1)")
|
||||
.HasColumnOrder(990)
|
||||
.HasComment("สถานะการใช้งาน");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("NVARCHAR2(100)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดคำนำหน้า");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_Prefixes");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Entities.MetaData.Prefix.PrefixPublishHistoryEntity", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("คีย์หลัก");
|
||||
|
||||
b.Property<DateTime>("CreatedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(993)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedUserFullName")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(992)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<Guid>("CreatedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(991)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("Detail")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(1)
|
||||
.HasComment("รายละเอียดการแก้ไข");
|
||||
|
||||
b.Property<DateTime?>("ModifiedDate")
|
||||
.HasColumnType("TIMESTAMP(7)")
|
||||
.HasColumnOrder(996)
|
||||
.HasComment("แก้ไขข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("ModifiedUserFullName")
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(995)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<Guid?>("ModifiedUserId")
|
||||
.HasColumnType("RAW(16)")
|
||||
.HasColumnOrder(994)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูล");
|
||||
|
||||
b.Property<string>("ObjectValue")
|
||||
.IsRequired()
|
||||
.HasColumnType("NVARCHAR2(2000)")
|
||||
.HasColumnOrder(2)
|
||||
.HasComment("เก็บ Object ที่มีการอัพเดตในระบบ");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("MD_Prefix_Histories");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,38 @@
|
|||
using BMA.EHR.Application.Common.Interfaces;
|
||||
using BMA.EHR.Domain.Entities.MetaData;
|
||||
using BMA.EHR.Domain.Entities.MetaData.BloodGroup;
|
||||
using BMA.EHR.Domain.Entities.MetaData.Prefix;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Persistence
|
||||
{
|
||||
public class ApplicationDBContext : DbContext, IApplicationDBContext
|
||||
public class ApplicationDBContext : DbContext, IApplicationDBContext
|
||||
{
|
||||
public ApplicationDBContext(DbContextOptions<ApplicationDBContext> options)
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
|
||||
public DbSet<PrefixEntity> Prefixes { get; set; }
|
||||
public DbSet<BloodGroupEntity> BloodGroups { get; set; }
|
||||
#region " Prefix "
|
||||
|
||||
public Task<int> SaveChangesAsync()
|
||||
public DbSet<PrefixEntity> MD_Prefixes { get; set; }
|
||||
|
||||
public DbSet<PrefixDraftEntity> MD_Prefix_Drafts { get; set; }
|
||||
|
||||
public DbSet<PrefixPublishHistoryEntity> MD_Prefix_Histories { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region " BloodGroups "
|
||||
|
||||
public DbSet<BloodGroupEntity> MD_BloodGroups { get; set; }
|
||||
|
||||
public DbSet<BloodGroupDraftEntity> MD_BloodGroup_Drafts { get; set; }
|
||||
|
||||
public DbSet<BloodGroupPublishHistoryEntity> MD_BloodGroup_Histories { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
public Task<int> SaveChangesAsync()
|
||||
{
|
||||
return base.SaveChangesAsync();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,27 +14,27 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="BMA.EHR.Core" Version="1.0.0" />
|
||||
<PackageReference Include="BMA.EHR.Extensions" Version="1.0.1" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.5" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.5" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.5" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.5">
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="7.0.8" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.8">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.IdentityModel.Logging" Version="6.30.1" />
|
||||
<PackageReference Include="Microsoft.IdentityModel.Logging" Version="6.31.0" />
|
||||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.18.1" />
|
||||
<PackageReference Include="runtime.osx.10.10-x64.CoreCompat.System.Drawing" Version="6.0.5.128" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="6.1.0" />
|
||||
<PackageReference Include="Serilog.AspNetCore" Version="7.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
|
||||
<PackageReference Include="Sentry.AspNetCore" Version="3.24.0" />
|
||||
<PackageReference Include="Sentry.AspNetCore" Version="3.33.1" />
|
||||
<PackageReference Include="Serilog.Enrichers.Environment" Version="2.2.0" />
|
||||
<PackageReference Include="Serilog.Exceptions" Version="8.4.0" />
|
||||
<PackageReference Include="Serilog.Sinks.Debug" Version="2.0.0" />
|
||||
<PackageReference Include="Serilog.Sinks.Elasticsearch" Version="8.4.1" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.4.0" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
|
||||
<PackageReference Include="Serilog.Sinks.Elasticsearch" Version="9.0.3" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
using BMA.EHR.Application.Repositories;
|
||||
using BMA.EHR.Application.Repositories.Prefix;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace BMA.EHR.MetaData.Service.Controllers
|
||||
{
|
||||
[Route("api/prefix")]
|
||||
[Route("api/prefix")]
|
||||
[ApiController]
|
||||
public class PrefixController : ControllerBase
|
||||
{
|
||||
|
|
@ -19,6 +19,7 @@ namespace BMA.EHR.MetaData.Service.Controllers
|
|||
public async Task<IActionResult> GetAllAsync()
|
||||
{
|
||||
var data = await _prefixRepository.GetAllAsync();
|
||||
Console.WriteLine("Logic 1 Start");
|
||||
|
||||
return Ok(data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
using BMA.EHR.Application;
|
||||
using BMA.EHR.Infrastructure;
|
||||
using Microsoft.AspNetCore.Mvc.Versioning;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.IdentityModel.Logging;
|
||||
using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using System.Text;
|
||||
using Serilog.Sinks.Elasticsearch;
|
||||
using Serilog;
|
||||
using System.Reflection;
|
||||
using Serilog.Exceptions;
|
||||
using BMA.EHR.MetaData.Service;
|
||||
using Microsoft.AspNetCore.Mvc.ApiExplorer;
|
||||
using BMA.EHR.Infrastructure.Persistence;
|
||||
using BMA.EHR.MetaData.Service;
|
||||
using Microsoft.AspNetCore.Authentication.JwtBearer;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.AspNetCore.Mvc.ApiExplorer;
|
||||
using Microsoft.AspNetCore.Mvc.Versioning;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.IdentityModel.Logging;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using Serilog;
|
||||
using Serilog.Exceptions;
|
||||
using Serilog.Sinks.Elasticsearch;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
{
|
||||
|
|
@ -79,6 +79,8 @@ var builder = WebApplication.CreateBuilder(args);
|
|||
builder.Services.AddApplication();
|
||||
builder.Services.AddPersistence(builder.Configuration);
|
||||
|
||||
builder.Services.AddEmailSender(builder.Configuration);
|
||||
|
||||
builder.Services.AddControllers(options =>
|
||||
{
|
||||
options.SuppressAsyncSuffixInActionNames = false;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "User Id=system;Password=P@ssw0rd;Data Source=localhost:1521/ORCLCDB"
|
||||
"DefaultConnection": "User Id=sys;Password=P@ssw0rd;DBA Privilege=SYSDBA;Data Source=localhost:1521/ORCLCDB"
|
||||
},
|
||||
"Jwt": {
|
||||
"Key": "HP-FnQMUj9msHMSD3T9HtdEnphAKoCJLEl85CIqROFI",
|
||||
|
|
|
|||
|
|
@ -7,9 +7,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BMA.EHR.Domain", "BMA.EHR.D
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BMA.EHR.Application", "BMA.EHR.Application\BMA.EHR.Application.csproj", "{C9656B6D-D24B-40AD-929E-CDED3FE53DCE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BMA.EHR.Infrastructure", "BMA.EHR.Infrastructure\BMA.EHR.Infrastructure.csproj", "{F83D3633-4A7A-432A-9E47-29378F4D175F}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BMA.EHR.Infrastructure", "BMA.EHR.Infrastructure\BMA.EHR.Infrastructure.csproj", "{F83D3633-4A7A-432A-9E47-29378F4D175F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BMA.EHR.MetaData.Service", "BMA.EHR.MetaData.Service\BMA.EHR.MetaData.Service.csproj", "{939DD34A-C7AE-406E-B557-33F69AC64127}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BMA.EHR.MetaData.Service", "BMA.EHR.MetaData.Service\BMA.EHR.MetaData.Service.csproj", "{939DD34A-C7AE-406E-B557-33F69AC64127}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{F3C2F68F-8DC8-45A3-825B-24F17867D380}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "API", "API", "{FA618F0C-1AF5-49AB-AE13-C020B403B64F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
@ -37,6 +41,13 @@ Global
|
|||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{9CA80F00-2D6E-4A0B-9C4B-80CE3EDFAB96} = {F3C2F68F-8DC8-45A3-825B-24F17867D380}
|
||||
{C9656B6D-D24B-40AD-929E-CDED3FE53DCE} = {F3C2F68F-8DC8-45A3-825B-24F17867D380}
|
||||
{F83D3633-4A7A-432A-9E47-29378F4D175F} = {F3C2F68F-8DC8-45A3-825B-24F17867D380}
|
||||
{939DD34A-C7AE-406E-B557-33F69AC64127} = {FA618F0C-1AF5-49AB-AE13-C020B403B64F}
|
||||
{FA618F0C-1AF5-49AB-AE13-C020B403B64F} = {F3C2F68F-8DC8-45A3-825B-24F17867D380}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {3111A492-1818-4438-B718-75199D8E779A}
|
||||
EndGlobalSection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue