fix Nulable for create userid and update userid
This commit is contained in:
parent
2267d1236a
commit
2b34d3f4ce
11 changed files with 30601 additions and 761 deletions
|
|
@ -15,18 +15,18 @@ namespace BMA.EHR.Domain.Models.Base
|
|||
public DateTime CreatedAt { get; set; } = DateTime.Now;
|
||||
|
||||
[Column(Order = 101), Comment("User Id ที่สร้างข้อมูล"), MaxLength(40)]
|
||||
public string CreatedUserId { get; set; } = string.Empty;
|
||||
public string? CreatedUserId { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 102), Comment("แก้ไขข้อมูลล่าสุดเมื่อ")]
|
||||
public DateTime? LastUpdatedAt { get; set; }
|
||||
|
||||
[Column(Order = 103), Comment("User Id ที่แก้ไขข้อมูลล่าสุด"), MaxLength(40)]
|
||||
public string LastUpdateUserId { get; set; } = string.Empty;
|
||||
public string? LastUpdateUserId { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 104), Comment("ชื่อ User ที่สร้างข้อมูล"), MaxLength(200)]
|
||||
public string CreatedFullName { get; set; } = string.Empty;
|
||||
public string? CreatedFullName { get; set; } = string.Empty;
|
||||
|
||||
[Column(Order = 105), Comment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด"), MaxLength(200)]
|
||||
public string LastUpdateFullName { get; set; } = string.Empty;
|
||||
public string? LastUpdateFullName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1083
BMA.EHR.Infrastructure/Migrations/20240503075336_Change userid to Nullable.Designer.cs
generated
Normal file
1083
BMA.EHR.Infrastructure/Migrations/20240503075336_Change userid to Nullable.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,954 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ChangeuseridtoNullable : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: true,
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "UserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "UserDutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "UserCalendars",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "ProcessUserTimeStamps",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "LeaveTypes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "LeaveRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "LeaveDocuments",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "DutyTimes",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateUserId",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LastUpdateFullName",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedUserId",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(40)",
|
||||
maxLength: 40,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "User Id ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(40)",
|
||||
oldMaxLength: 40,
|
||||
oldNullable: true,
|
||||
oldComment: "User Id ที่สร้างข้อมูล");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CreatedFullName",
|
||||
table: "AdditionalCheckRequests",
|
||||
type: "NVARCHAR2(200)",
|
||||
maxLength: 200,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "ชื่อ User ที่สร้างข้อมูล",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "NVARCHAR2(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
||||
}
|
||||
}
|
||||
}
|
||||
17302
BMA.EHR.Infrastructure/Migrations/ApplicationDB/20240503075419_Change userid to Nullable.Designer.cs
generated
Normal file
17302
BMA.EHR.Infrastructure/Migrations/ApplicationDB/20240503075419_Change userid to Nullable.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
2900
BMA.EHR.Infrastructure/Migrations/DisciplineDb/20240503075512_Change userid to Nullable.Designer.cs
generated
Normal file
2900
BMA.EHR.Infrastructure/Migrations/DisciplineDb/20240503075512_Change userid to Nullable.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -49,14 +49,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -79,14 +77,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("รายละเอียดของเรื่องร้องเรียน");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -161,14 +157,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -183,14 +177,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("ชื่อ-นามสกุลผู้อุทธรณ์/ร้องทุกข์");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -251,14 +243,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -271,14 +261,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -313,14 +301,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -330,14 +316,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -375,28 +359,24 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -432,14 +412,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -452,14 +430,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -499,14 +475,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -532,14 +506,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("นามสกุล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -600,14 +572,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -628,14 +598,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("นามสกุล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -696,14 +664,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -841,14 +807,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สถานะหรือผลการสืบสวน (NOT_SPECIFIED คือ ยังไม่ระบุ, HAVE_CAUSE คือ มีมูล, NO_CAUSE คือ ไม่มีมูล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -940,14 +904,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -969,14 +931,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1021,14 +981,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1045,14 +1003,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("หน้าที่");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1087,14 +1043,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1107,14 +1061,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1149,14 +1101,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1169,14 +1119,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1211,14 +1159,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1231,14 +1177,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1273,14 +1217,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1293,14 +1235,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1335,14 +1275,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1355,14 +1293,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1397,14 +1333,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1417,14 +1351,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1459,14 +1391,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1479,14 +1409,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1521,14 +1449,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1541,14 +1467,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1583,14 +1507,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1603,14 +1525,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1658,14 +1578,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1699,14 +1617,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("นามสกุล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1787,14 +1703,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1856,14 +1770,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สถานะหรือผลการสืบสวน (not_specified คือ ยังไม่ระบุ, have_cause คือ มีมูล, no_cause คือ ไม่มีมูล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1931,14 +1843,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1960,14 +1870,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -2008,14 +1916,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -2028,14 +1934,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -2074,14 +1978,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -2098,14 +2000,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("หน้าที่");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -2140,14 +2040,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -2160,14 +2058,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -2202,14 +2098,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -2222,14 +2116,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -2269,14 +2161,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -2310,14 +2200,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("นามสกุล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -2387,14 +2275,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -2432,14 +2318,12 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasComment("นามสกุล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
|
|||
|
|
@ -76,28 +76,24 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -137,14 +133,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -154,14 +148,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -260,14 +252,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -284,14 +274,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("RAW(16)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -509,14 +497,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -532,14 +518,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("รหัส User ของ Keycloak ที่ร้องขอ");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -575,14 +559,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -612,14 +594,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สถานะว่ารอบใดเป็นค่า Default ของข้าราชการ (สำหรับทุกคนที่ยังไม่ได้ทำการเลือกรอบ)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -729,14 +709,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -767,14 +745,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("รหัส User ของ Keycloak");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -810,28 +786,24 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -866,14 +838,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -892,14 +862,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("ทำการประมวลผลแล้วหรือยัง");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
@ -1000,14 +968,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(101)
|
||||
|
|
@ -1030,14 +996,12 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("รหัส User ของ Keycloak");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("NVARCHAR2(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("NVARCHAR2(40)")
|
||||
.HasColumnOrder(103)
|
||||
|
|
|
|||
|
|
@ -119,7 +119,8 @@ var builder = WebApplication.CreateBuilder(args);
|
|||
PrepareSchemaIfNecessary = true,
|
||||
DashboardJobListLimit = 50000,
|
||||
TransactionTimeout = TimeSpan.FromMinutes(1),
|
||||
SchemaName = "HANGFIRE"
|
||||
SchemaName = "SYS",
|
||||
|
||||
})));
|
||||
builder.Services.AddHangfireServer();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue