Browse Source

20250921

master
wxd 7 months ago
parent
commit
1d44f4c22d
  1. 3871
      src/Shentun.Peis.Application/CCTJExportDatas/CCTJExportDataAppService.cs
  2. 3
      src/Shentun.Peis.DbMigrator/appsettings.json
  3. 2
      src/Shentun.Peis.Domain/Asbitems/Asbitem.cs
  4. 6
      src/Shentun.Peis.Domain/CardRegisters/CardRegister.cs
  5. 2
      src/Shentun.Peis.Domain/CardTypes/CardType.cs
  6. 10
      src/Shentun.Peis.Domain/CustomerOrgs/CustomerOrg.cs
  7. 4
      src/Shentun.Peis.Domain/Diagnosises/Diagnosis.cs
  8. 4
      src/Shentun.Peis.Domain/ItemResultTemplates/ItemResultTemplate.cs
  9. 4
      src/Shentun.Peis.Domain/MedicalPackages/MedicalPackage.cs
  10. 16377
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918102742_update_asbitem_clinical_meaning_length.Designer.cs
  11. 41
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918102742_update_asbitem_clinical_meaning_length.cs
  12. 16377
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918103725_update_medical_package_display_name_length.Designer.cs
  13. 61
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918103725_update_medical_package_display_name_length.cs
  14. 16377
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918104847_update_diagnosis_display_name_length.Designer.cs
  15. 61
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918104847_update_diagnosis_display_name_length.cs
  16. 16377
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918121436_update_item_result_template_result_length.Designer.cs
  17. 63
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918121436_update_item_result_template_result_length.cs
  18. 16377
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918122736_update_customer_org_bank_length.Designer.cs
  19. 65
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918122736_update_customer_org_bank_length.cs
  20. 16377
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123256_update_customer_org_bank_length_2.Designer.cs
  21. 41
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123256_update_customer_org_bank_length_2.cs
  22. 16377
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123735_update_customer_org_bank_length_3.Designer.cs
  23. 67
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123735_update_customer_org_bank_length_3.cs
  24. 16376
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921092208_update_card_register_index.Designer.cs
  25. 34
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921092208_update_card_register_index.cs
  26. 16376
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921093213_update_card_register_remark_length.Designer.cs
  27. 41
      src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921093213_update_card_register_remark_length.cs
  28. 55
      src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs

3871
src/Shentun.Peis.Application/CCTJExportDatas/CCTJExportDataAppService.cs
File diff suppressed because it is too large
View File

3
src/Shentun.Peis.DbMigrator/appsettings.json

@ -1,9 +1,10 @@
{
"ConnectionStrings": {
"Default": "Host=140.143.162.39;Port=5432;Database=ShentunPeis240701;User ID=postgres;Password=shentun123;"
//"Default": "Host=140.143.162.39;Port=5432;Database=ShentunPeis240701;User ID=postgres;Password=shentun123;",
//"Default": "Host=192.168.2.67;Port=5432;Database=ShentunPeis;User ID=postgres;Password=st123;"
//"Default": "Host=localhost;Port=5432;Database=ShentunPeis1218;User ID=postgres;Password=wxd123;"
//"Default": "Host=10.1.12.140;Port=5432;Database=ShentunPeis0508;User ID=postgres;Password=st123;"
"Default": "Host=192.168.0.188;Port=5432;Database=ShentunPeis;User ID=postgres;Password=St123456;"
},
"OpenIddict": {
"Applications": {

2
src/Shentun.Peis.Domain/Asbitems/Asbitem.cs

@ -97,7 +97,7 @@ namespace Shentun.Peis.Models
/// 临床意义
/// </summary>
[Column("clinical_meaning")]
[StringLength(100)]
[StringLength(500)]
public string ClinicalMeaning { get; set; }
/// <summary>
/// 默认结果

6
src/Shentun.Peis.Domain/CardRegisters/CardRegister.cs

@ -12,7 +12,7 @@ namespace Shentun.Peis.Models
/// 会员卡登记
/// </summary>
[Table("card_register")]
[Index(nameof(CardNo), nameof(IsActive), Name = "ix_card_register", IsUnique = true)]
[Index(nameof(CardNo), nameof(IsActive), Name = "ix_card_register")]
public class CardRegister : AuditedEntity<Guid>, IHasConcurrencyStamp
{
public CardRegister()
@ -20,7 +20,7 @@ namespace Shentun.Peis.Models
CardBills = new HashSet<CardBill>();
}
internal CardRegister(Guid id) : base(id)
public CardRegister(Guid id) : base(id)
{
}
@ -89,7 +89,7 @@ namespace Shentun.Peis.Models
/// 备注
/// </summary>
[Column("remark")]
[StringLength(50)]
[StringLength(200)]
public string? Remark { get; set; }
/// <summary>

2
src/Shentun.Peis.Domain/CardTypes/CardType.cs

@ -18,7 +18,7 @@ namespace Shentun.Peis.Models
{
CardRegisters = new HashSet<CardRegister>();
}
internal CardType(Guid id
public CardType(Guid id
) : base(id)
{

10
src/Shentun.Peis.Domain/CustomerOrgs/CustomerOrg.cs

@ -40,7 +40,7 @@ namespace Shentun.Peis.Models
/// 简称
/// </summary>
[Column("short_name")]
[StringLength(20)]
[StringLength(50)]
public string? ShortName { get; set; }
/// <summary>
/// 开票名称
@ -76,25 +76,25 @@ namespace Shentun.Peis.Models
/// 邮政编码
/// </summary>
[Column("postal_code")]
[StringLength(10)]
[StringLength(30)]
public string? PostalCode { get; set; }
/// <summary>
/// 联系地址
/// </summary>
[Column("address")]
[StringLength(50)]
[StringLength(100)]
public string? Address { get; set; }
/// <summary>
/// 业务银行
/// </summary>
[Column("bank")]
[StringLength(20)]
[StringLength(100)]
public string? Bank { get; set; }
/// <summary>
/// 银行帐号
/// </summary>
[Column("accounts")]
[StringLength(30)]
[StringLength(100)]
public string? Accounts { get; set; }
/// <summary>
/// 单位性质

4
src/Shentun.Peis.Domain/Diagnosises/Diagnosis.cs

@ -31,7 +31,7 @@ namespace Shentun.Peis.Models
/// 名称
/// </summary>
[Column("display_name")]
[StringLength(100)]
[StringLength(300)]
public string DisplayName { get; set; } = null!;
/// <summary>
/// 项目类别
@ -68,7 +68,7 @@ namespace Shentun.Peis.Models
[Column("diagnosis_level_id")]
public short DiagnosisLevelId { get; set; }
[Column("simple_code")]
[StringLength(100)]
[StringLength(300)]
public string SimpleCode { get; set; } = null!;
[Column("display_order")]
public int DisplayOrder { get; set; }

4
src/Shentun.Peis.Domain/ItemResultTemplates/ItemResultTemplate.cs

@ -27,7 +27,7 @@ namespace Shentun.Peis.Models
/// 结果
/// </summary>
[Column("result")]
[StringLength(200)]
[StringLength(500)]
public string Result { get; set; } = null!;
/// <summary>
/// 诊断编号
@ -63,7 +63,7 @@ namespace Shentun.Peis.Models
/// 拼音简码
/// </summary>
[Column("simple_code")]
[StringLength(200)]
[StringLength(500)]
public string SimpleCode { get; set; } = null!;
/// <summary>
/// 显示顺序

4
src/Shentun.Peis.Domain/MedicalPackages/MedicalPackage.cs

@ -27,7 +27,7 @@ namespace Shentun.Peis.Models
/// 名称
/// </summary>
[Column("display_name")]
[StringLength(20)]
[StringLength(50)]
[Required]
public string DisplayName { get; set; }
/// <summary>
@ -68,7 +68,7 @@ namespace Shentun.Peis.Models
[Column("display_order")]
public int DisplayOrder { get; set; }
[Column("simple_code")]
[StringLength(20)]
[StringLength(50)]
public string SimpleCode { get; set; } = null!;
/// <summary>

16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918102742_update_asbitem_clinical_meaning_length.Designer.cs
File diff suppressed because it is too large
View File

41
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918102742_update_asbitem_clinical_meaning_length.cs

@ -0,0 +1,41 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_asbitem_clinical_meaning_length : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "clinical_meaning",
table: "asbitem",
type: "character varying(500)",
maxLength: 500,
nullable: true,
comment: "临床意义",
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldNullable: true,
oldComment: "临床意义");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "clinical_meaning",
table: "asbitem",
type: "character varying(100)",
maxLength: 100,
nullable: true,
comment: "临床意义",
oldClrType: typeof(string),
oldType: "character varying(500)",
oldMaxLength: 500,
oldNullable: true,
oldComment: "临床意义");
}
}
}

16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918103725_update_medical_package_display_name_length.Designer.cs
File diff suppressed because it is too large
View File

61
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918103725_update_medical_package_display_name_length.cs

@ -0,0 +1,61 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_medical_package_display_name_length : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "simple_code",
table: "medical_package",
type: "character varying(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(20)",
oldMaxLength: 20,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "display_name",
table: "medical_package",
type: "character varying(50)",
maxLength: 50,
nullable: false,
comment: "名称",
oldClrType: typeof(string),
oldType: "character varying(20)",
oldMaxLength: 20,
oldComment: "名称");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "simple_code",
table: "medical_package",
type: "character varying(20)",
maxLength: 20,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(50)",
oldMaxLength: 50,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "display_name",
table: "medical_package",
type: "character varying(20)",
maxLength: 20,
nullable: false,
comment: "名称",
oldClrType: typeof(string),
oldType: "character varying(50)",
oldMaxLength: 50,
oldComment: "名称");
}
}
}

16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918104847_update_diagnosis_display_name_length.Designer.cs
File diff suppressed because it is too large
View File

61
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918104847_update_diagnosis_display_name_length.cs

@ -0,0 +1,61 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_diagnosis_display_name_length : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "simple_code",
table: "diagnosis",
type: "character varying(300)",
maxLength: 300,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "display_name",
table: "diagnosis",
type: "character varying(300)",
maxLength: 300,
nullable: false,
comment: "名称",
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldComment: "名称");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "simple_code",
table: "diagnosis",
type: "character varying(100)",
maxLength: 100,
nullable: true,
oldClrType: typeof(string),
oldType: "character varying(300)",
oldMaxLength: 300,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "display_name",
table: "diagnosis",
type: "character varying(100)",
maxLength: 100,
nullable: false,
comment: "名称",
oldClrType: typeof(string),
oldType: "character varying(300)",
oldMaxLength: 300,
oldComment: "名称");
}
}
}

16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918121436_update_item_result_template_result_length.Designer.cs
File diff suppressed because it is too large
View File

63
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918121436_update_item_result_template_result_length.cs

@ -0,0 +1,63 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_item_result_template_result_length : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "simple_code",
table: "item_result_template",
type: "character varying(500)",
maxLength: 500,
nullable: false,
comment: "拼音简码",
oldClrType: typeof(string),
oldType: "character varying(200)",
oldMaxLength: 200,
oldComment: "拼音简码");
migrationBuilder.AlterColumn<string>(
name: "result",
table: "item_result_template",
type: "character varying(500)",
maxLength: 500,
nullable: false,
comment: "结果",
oldClrType: typeof(string),
oldType: "character varying(200)",
oldMaxLength: 200,
oldComment: "结果");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "simple_code",
table: "item_result_template",
type: "character varying(200)",
maxLength: 200,
nullable: false,
comment: "拼音简码",
oldClrType: typeof(string),
oldType: "character varying(500)",
oldMaxLength: 500,
oldComment: "拼音简码");
migrationBuilder.AlterColumn<string>(
name: "result",
table: "item_result_template",
type: "character varying(200)",
maxLength: 200,
nullable: false,
comment: "结果",
oldClrType: typeof(string),
oldType: "character varying(500)",
oldMaxLength: 500,
oldComment: "结果");
}
}
}

16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918122736_update_customer_org_bank_length.Designer.cs
File diff suppressed because it is too large
View File

65
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918122736_update_customer_org_bank_length.cs

@ -0,0 +1,65 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_customer_org_bank_length : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "short_name",
table: "customer_org",
type: "character varying(50)",
maxLength: 50,
nullable: false,
comment: "简称",
oldClrType: typeof(string),
oldType: "character varying(20)",
oldMaxLength: 20,
oldComment: "简称");
migrationBuilder.AlterColumn<string>(
name: "bank",
table: "customer_org",
type: "character varying(100)",
maxLength: 100,
nullable: true,
comment: "业务银行",
oldClrType: typeof(string),
oldType: "character varying(20)",
oldMaxLength: 20,
oldNullable: true,
oldComment: "业务银行");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "short_name",
table: "customer_org",
type: "character varying(20)",
maxLength: 20,
nullable: false,
comment: "简称",
oldClrType: typeof(string),
oldType: "character varying(50)",
oldMaxLength: 50,
oldComment: "简称");
migrationBuilder.AlterColumn<string>(
name: "bank",
table: "customer_org",
type: "character varying(20)",
maxLength: 20,
nullable: true,
comment: "业务银行",
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldNullable: true,
oldComment: "业务银行");
}
}
}

16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123256_update_customer_org_bank_length_2.Designer.cs
File diff suppressed because it is too large
View File

41
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123256_update_customer_org_bank_length_2.cs

@ -0,0 +1,41 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_customer_org_bank_length_2 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "accounts",
table: "customer_org",
type: "character varying(100)",
maxLength: 100,
nullable: true,
comment: "银行帐号",
oldClrType: typeof(string),
oldType: "character varying(30)",
oldMaxLength: 30,
oldNullable: true,
oldComment: "银行帐号");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "accounts",
table: "customer_org",
type: "character varying(30)",
maxLength: 30,
nullable: true,
comment: "银行帐号",
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldNullable: true,
oldComment: "银行帐号");
}
}
}

16377
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123735_update_customer_org_bank_length_3.Designer.cs
File diff suppressed because it is too large
View File

67
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250918123735_update_customer_org_bank_length_3.cs

@ -0,0 +1,67 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_customer_org_bank_length_3 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "postal_code",
table: "customer_org",
type: "character varying(30)",
maxLength: 30,
nullable: true,
comment: "邮政编码",
oldClrType: typeof(string),
oldType: "character varying(10)",
oldMaxLength: 10,
oldNullable: true,
oldComment: "邮政编码");
migrationBuilder.AlterColumn<string>(
name: "address",
table: "customer_org",
type: "character varying(100)",
maxLength: 100,
nullable: true,
comment: "联系地址",
oldClrType: typeof(string),
oldType: "character varying(50)",
oldMaxLength: 50,
oldNullable: true,
oldComment: "联系地址");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "postal_code",
table: "customer_org",
type: "character varying(10)",
maxLength: 10,
nullable: true,
comment: "邮政编码",
oldClrType: typeof(string),
oldType: "character varying(30)",
oldMaxLength: 30,
oldNullable: true,
oldComment: "邮政编码");
migrationBuilder.AlterColumn<string>(
name: "address",
table: "customer_org",
type: "character varying(50)",
maxLength: 50,
nullable: true,
comment: "联系地址",
oldClrType: typeof(string),
oldType: "character varying(100)",
oldMaxLength: 100,
oldNullable: true,
oldComment: "联系地址");
}
}
}

16376
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921092208_update_card_register_index.Designer.cs
File diff suppressed because it is too large
View File

34
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921092208_update_card_register_index.cs

@ -0,0 +1,34 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_card_register_index : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "ix_card_register",
table: "card_register");
migrationBuilder.CreateIndex(
name: "ix_card_register",
table: "card_register",
columns: new[] { "card_no", "is_active" });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "ix_card_register",
table: "card_register");
migrationBuilder.CreateIndex(
name: "ix_card_register",
table: "card_register",
columns: new[] { "card_no", "is_active" },
unique: true);
}
}
}

16376
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921093213_update_card_register_remark_length.Designer.cs
File diff suppressed because it is too large
View File

41
src/Shentun.Peis.EntityFrameworkCore/Migrations/20250921093213_update_card_register_remark_length.cs

@ -0,0 +1,41 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class update_card_register_remark_length : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "remark",
table: "card_register",
type: "character varying(200)",
maxLength: 200,
nullable: true,
comment: "备注",
oldClrType: typeof(string),
oldType: "character varying(50)",
oldMaxLength: 50,
oldNullable: true,
oldComment: "备注");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "remark",
table: "card_register",
type: "character varying(50)",
maxLength: 50,
nullable: true,
comment: "备注",
oldClrType: typeof(string),
oldType: "character varying(200)",
oldMaxLength: 200,
oldNullable: true,
oldComment: "备注");
}
}
}

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

@ -435,8 +435,8 @@ namespace Shentun.Peis.Migrations
.HasComment("条码模式");
b.Property<string>("ClinicalMeaning")
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasMaxLength(500)
.HasColumnType("character varying(500)")
.HasColumnName("clinical_meaning")
.HasComment("临床意义");
@ -1322,8 +1322,8 @@ namespace Shentun.Peis.Migrations
.HasComment("手机");
b.Property<string>("Remark")
.HasMaxLength(50)
.HasColumnType("character varying(50)")
.HasMaxLength(200)
.HasColumnType("character varying(200)")
.HasColumnName("remark")
.HasComment("备注");
@ -1337,8 +1337,7 @@ namespace Shentun.Peis.Migrations
b.HasIndex("CardTypeId");
b.HasIndex(new[] { "CardNo", "IsActive" }, "ix_card_register")
.IsUnique();
b.HasIndex(new[] { "CardNo", "IsActive" }, "ix_card_register");
b.ToTable("card_register");
@ -2727,20 +2726,20 @@ namespace Shentun.Peis.Migrations
.HasComment("单位ID");
b.Property<string>("Accounts")
.HasMaxLength(30)
.HasColumnType("character varying(30)")
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasColumnName("accounts")
.HasComment("银行帐号");
b.Property<string>("Address")
.HasMaxLength(50)
.HasColumnType("character varying(50)")
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasColumnName("address")
.HasComment("联系地址");
b.Property<string>("Bank")
.HasMaxLength(20)
.HasColumnType("character varying(20)")
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasColumnName("bank")
.HasComment("业务银行");
@ -2846,8 +2845,8 @@ namespace Shentun.Peis.Migrations
.HasComment("路径编码");
b.Property<string>("PostalCode")
.HasMaxLength(10)
.HasColumnType("character varying(10)")
.HasMaxLength(30)
.HasColumnType("character varying(30)")
.HasColumnName("postal_code")
.HasComment("邮政编码");
@ -2871,8 +2870,8 @@ namespace Shentun.Peis.Migrations
b.Property<string>("ShortName")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("character varying(20)")
.HasMaxLength(50)
.HasColumnType("character varying(50)")
.HasColumnName("short_name")
.HasComment("简称");
@ -3696,8 +3695,8 @@ namespace Shentun.Peis.Migrations
b.Property<string>("DisplayName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasMaxLength(300)
.HasColumnType("character varying(300)")
.HasColumnName("display_name")
.HasComment("名称");
@ -3752,8 +3751,8 @@ namespace Shentun.Peis.Migrations
.HasColumnName("last_modifier_id");
b.Property<string>("SimpleCode")
.HasMaxLength(100)
.HasColumnType("character varying(100)")
.HasMaxLength(300)
.HasColumnType("character varying(300)")
.HasColumnName("simple_code");
b.Property<string>("SuggestionName")
@ -5584,8 +5583,8 @@ namespace Shentun.Peis.Migrations
b.Property<string>("Result")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("character varying(200)")
.HasMaxLength(500)
.HasColumnType("character varying(500)")
.HasColumnName("result")
.HasComment("结果");
@ -5598,8 +5597,8 @@ namespace Shentun.Peis.Migrations
b.Property<string>("SimpleCode")
.IsRequired()
.HasMaxLength(200)
.HasColumnType("character varying(200)")
.HasMaxLength(500)
.HasColumnType("character varying(500)")
.HasColumnName("simple_code")
.HasComment("拼音简码");
@ -6223,8 +6222,8 @@ namespace Shentun.Peis.Migrations
b.Property<string>("DisplayName")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("character varying(20)")
.HasMaxLength(50)
.HasColumnType("character varying(50)")
.HasColumnName("display_name")
.HasComment("名称");
@ -6296,8 +6295,8 @@ namespace Shentun.Peis.Migrations
.HasComment("备注");
b.Property<string>("SimpleCode")
.HasMaxLength(20)
.HasColumnType("character varying(20)")
.HasMaxLength(50)
.HasColumnType("character varying(50)")
.HasColumnName("simple_code");
b.HasKey("Id");

Loading…
Cancel
Save