Browse Source

预约

master
wxd 1 year ago
parent
commit
dc08d2a924
  1. 7
      src/Shentun.Peis.Domain/ThirdBookings/ThirdBooking.cs
  2. 15964
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20241011023740_update_third_booking_source_channel.Designer.cs
  3. 26
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20241011023740_update_third_booking_source_channel.cs
  4. 5
      src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

7
src/Shentun.Peis.Domain/ThirdBookings/ThirdBooking.cs

@ -112,6 +112,13 @@ namespace Shentun.Peis.Models
[Column("icode")]
public string ICode { get; set; }
/// <summary>
/// 来源渠道 0 测试环境 1 正式环境
/// </summary>
[Column("source_channel")]
[StringLength(1)]
public string SourceChannel { get; set; }
[Column("concurrency_stamp")]
public string ConcurrencyStamp { get; set; }

15964
src/Shentun.Peis.EntityFrameworkCore/Migrations/20241011023740_update_third_booking_source_channel.Designer.cs
File diff suppressed because it is too large
View File

26
src/Shentun.Peis.EntityFrameworkCore/Migrations/20241011023740_update_third_booking_source_channel.cs

@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_third_booking_source_channel : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "source_channel",
table: "third_booking",
type: "character varying(1)",
maxLength: 1,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "source_channel",
table: "third_booking");
}
}
}

5
src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

@ -11740,6 +11740,11 @@ namespace Shentun.Peis.Migrations
.HasColumnName("sex_name")
.HasComment("性别");
b.Property<string>("SourceChannel")
.HasMaxLength(1)
.HasColumnType("character varying(1)")
.HasColumnName("source_channel");
b.Property<string>("ThirdMedicalCenterId")
.HasMaxLength(50)
.HasColumnType("character varying(50)")

Loading…
Cancel
Save