BusinessExtMigrationDbContextModelSnapshot.cs 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. // <auto-generated />
  2. using System;
  3. using Business.EntityFrameworkCore;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  7. using Volo.Abp.EntityFrameworkCore;
  8. #nullable disable
  9. namespace Business.Migrations.BusinessExtMigrationDb
  10. {
  11. [DbContext(typeof(BusinessExtMigrationDbContext))]
  12. partial class BusinessExtMigrationDbContextModelSnapshot : ModelSnapshot
  13. {
  14. protected override void BuildModel(ModelBuilder modelBuilder)
  15. {
  16. #pragma warning disable 612, 618
  17. modelBuilder
  18. .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
  19. .HasAnnotation("ProductVersion", "6.0.5")
  20. .HasAnnotation("Relational:MaxIdentifierLength", 64);
  21. modelBuilder.Entity("Bussiness.Model.MES.IC.ic_bom", b =>
  22. {
  23. b.Property<long>("Id")
  24. .ValueGeneratedOnAdd()
  25. .HasColumnType("bigint");
  26. b.Property<bool>("IsDeleted")
  27. .ValueGeneratedOnAdd()
  28. .HasColumnType("tinyint(1)")
  29. .HasDefaultValue(false)
  30. .HasColumnName("IsDeleted")
  31. .HasComment("删除标识");
  32. b.Property<DateTime?>("begin_day")
  33. .HasColumnType("datetime(6)")
  34. .HasComment("生效日期");
  35. b.Property<string>("biller")
  36. .HasMaxLength(80)
  37. .HasColumnType("varchar(80)")
  38. .HasComment("图片");
  39. b.Property<int>("bom_num")
  40. .HasColumnType("int")
  41. .HasComment("序号");
  42. b.Property<string>("bom_number")
  43. .HasMaxLength(20)
  44. .HasColumnType("varchar(20)")
  45. .HasComment("bom单编号");
  46. b.Property<string>("chartnumber")
  47. .HasMaxLength(80)
  48. .HasColumnType("varchar(80)")
  49. .HasComment("图表编号");
  50. b.Property<DateTime?>("check_date")
  51. .HasColumnType("datetime(6)")
  52. .HasComment("检验时间");
  53. b.Property<string>("checker")
  54. .HasMaxLength(80)
  55. .HasColumnType("varchar(80)")
  56. .HasComment("检验人");
  57. b.Property<long?>("create_by")
  58. .HasColumnType("bigint")
  59. .HasComment("创建人id");
  60. b.Property<string>("create_by_name")
  61. .HasMaxLength(50)
  62. .HasColumnType("varchar(50)")
  63. .HasComment("创建人名称");
  64. b.Property<DateTime?>("create_time")
  65. .HasColumnType("datetime(6)")
  66. .HasComment("创建时间");
  67. b.Property<DateTime?>("end_day")
  68. .HasColumnType("datetime(6)")
  69. .HasComment("失效日期");
  70. b.Property<long?>("factory_id")
  71. .HasColumnType("bigint")
  72. .HasComment("工厂ID");
  73. b.Property<int>("fse_status")
  74. .HasColumnType("int")
  75. .HasComment("使用状态");
  76. b.Property<long>("icitem_id")
  77. .HasColumnType("bigint")
  78. .HasComment("物料id");
  79. b.Property<string>("item_name")
  80. .HasMaxLength(200)
  81. .HasColumnType("varchar(200)")
  82. .HasComment("物料名称");
  83. b.Property<string>("item_number")
  84. .HasMaxLength(80)
  85. .HasColumnType("varchar(80)")
  86. .HasComment("物料代码");
  87. b.Property<long?>("org_id")
  88. .HasColumnType("bigint")
  89. .HasComment("组织ID");
  90. b.Property<string>("product_designer")
  91. .HasMaxLength(80)
  92. .HasColumnType("varchar(80)")
  93. .HasComment("产品设计员");
  94. b.Property<string>("product_principal")
  95. .HasMaxLength(80)
  96. .HasColumnType("varchar(80)")
  97. .HasComment("生产负责人");
  98. b.Property<long>("tech_id")
  99. .HasColumnType("bigint")
  100. .HasComment("工艺主键");
  101. b.Property<string>("tech_name")
  102. .HasMaxLength(20)
  103. .HasColumnType("varchar(20)")
  104. .HasComment("工艺名称");
  105. b.Property<long>("tenant_id")
  106. .HasColumnType("bigint")
  107. .HasComment("企业ID");
  108. b.Property<string>("unit")
  109. .HasMaxLength(20)
  110. .HasColumnType("varchar(20)")
  111. .HasComment("单位");
  112. b.Property<long?>("update_by")
  113. .HasColumnType("bigint")
  114. .HasComment("修改人");
  115. b.Property<string>("update_by_name")
  116. .HasMaxLength(50)
  117. .HasColumnType("varchar(50)")
  118. .HasComment("修改人名称");
  119. b.Property<DateTime?>("update_time")
  120. .HasColumnType("datetime(6)")
  121. .HasComment("修改时间");
  122. b.Property<DateTime?>("use_date")
  123. .HasColumnType("datetime(6)")
  124. .HasComment("bom创建时间");
  125. b.Property<string>("user")
  126. .HasMaxLength(20)
  127. .HasColumnType("varchar(20)")
  128. .HasComment("bom创建人");
  129. b.Property<string>("version")
  130. .HasMaxLength(80)
  131. .HasColumnType("varchar(80)")
  132. .HasComment("版本");
  133. b.HasKey("Id");
  134. b.ToTable("ic_bom", (string)null);
  135. b.HasComment("物料BOM");
  136. });
  137. #pragma warning restore 612, 618
  138. }
  139. }
  140. }