api noti เพิ่มฟารอ่านข้อความ

This commit is contained in:
Kittapath 2024-01-18 13:29:38 +07:00
parent a1bd2ec4b8
commit 78b0ad7d1d
8 changed files with 17042 additions and 12 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,41 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class updatetablenotiaddDeleteDate : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "DeleteDate",
table: "Notifications",
type: "datetime(6)",
nullable: true,
comment: "วันที่ลบข้อมูล");
migrationBuilder.AddColumn<DateTime>(
name: "DeleteDate",
table: "Inboxes",
type: "datetime(6)",
nullable: true,
comment: "วันที่ลบข้อมูล");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DeleteDate",
table: "Notifications");
migrationBuilder.DropColumn(
name: "DeleteDate",
table: "Inboxes");
}
}
}

View file

@ -9083,6 +9083,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(101)
.HasComment("User Id ที่สร้างข้อมูล");
b.Property<DateTime?>("DeleteDate")
.HasColumnType("datetime(6)")
.HasComment("วันที่ลบข้อมูล");
b.Property<bool>("IsOpen")
.HasColumnType("tinyint(1)")
.HasComment("เปิดอ่านแล้วหรือยัง");
@ -9267,6 +9271,10 @@ namespace BMA.EHR.Infrastructure.Migrations
.HasColumnOrder(101)
.HasComment("User Id ที่สร้างข้อมูล");
b.Property<DateTime?>("DeleteDate")
.HasColumnType("datetime(6)")
.HasComment("วันที่ลบข้อมูล");
b.Property<bool>("IsOpen")
.HasColumnType("tinyint(1)")
.HasComment("เปิดอ่านแล้วหรือยัง");