20180824104550_intial.Designer.cs 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. // <auto-generated />
  2. using Microsoft.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore.Infrastructure;
  4. using Microsoft.EntityFrameworkCore.Migrations;
  5. using System;
  6. namespace CZFW.CMS.Web.Migrations
  7. {
  8. [DbContext(typeof(DbGen))]
  9. [Migration("20180824104550_intial")]
  10. partial class intial
  11. {
  12. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  13. {
  14. #pragma warning disable 612, 618
  15. modelBuilder
  16. .HasAnnotation("ProductVersion", "2.0.3-rtm-10026");
  17. modelBuilder.Entity("CZFW.Framework.Entity.ClientEntity", b =>
  18. {
  19. b.Property<string>("Id")
  20. .ValueGeneratedOnAdd()
  21. .HasMaxLength(36);
  22. b.Property<string>("CompanyId");
  23. b.Property<string>("CreatedBy");
  24. b.Property<DateTime>("CreatedTime");
  25. b.Property<string>("Name");
  26. b.HasKey("Id");
  27. b.ToTable("czfw_client");
  28. });
  29. modelBuilder.Entity("CZFW.Framework.Entity.SiteEntity", b =>
  30. {
  31. b.Property<string>("Id")
  32. .ValueGeneratedOnAdd()
  33. .HasMaxLength(36);
  34. b.Property<string>("ClientId")
  35. .IsRequired()
  36. .HasMaxLength(36);
  37. b.Property<string>("ContactId")
  38. .IsRequired()
  39. .HasMaxLength(36);
  40. b.Property<string>("CreatedBy")
  41. .IsRequired()
  42. .HasMaxLength(36);
  43. b.Property<DateTime>("CreatedTime");
  44. b.Property<bool>("Deleted");
  45. b.Property<string>("DeletedBy");
  46. b.Property<DateTime?>("DeletedTime");
  47. b.Property<string>("Description");
  48. b.Property<string>("Domain")
  49. .IsRequired()
  50. .HasMaxLength(1024);
  51. b.Property<DateTime?>("FirstOnlineTime");
  52. b.Property<string>("ManagerId")
  53. .IsRequired()
  54. .HasMaxLength(36);
  55. b.Property<string>("Name")
  56. .IsRequired()
  57. .HasMaxLength(128);
  58. b.Property<int>("OpenLevel");
  59. b.Property<int>("PayState");
  60. b.Property<DateTime?>("SiteExpires");
  61. b.Property<string>("SiteId")
  62. .IsRequired()
  63. .HasMaxLength(128);
  64. b.Property<int>("Stage");
  65. b.Property<string>("TestUrl")
  66. .HasMaxLength(1024);
  67. b.Property<string>("TplName");
  68. b.HasKey("Id");
  69. b.ToTable("czcms_site");
  70. });
  71. modelBuilder.Entity("CZFW.Framework.Entity.SiteManager", b =>
  72. {
  73. b.Property<string>("Id")
  74. .ValueGeneratedOnAdd()
  75. .HasMaxLength(36);
  76. b.Property<int>("AccessLevel");
  77. b.Property<string>("ClientId")
  78. .IsRequired()
  79. .HasMaxLength(36);
  80. b.Property<string>("ContactId")
  81. .IsRequired()
  82. .HasMaxLength(36);
  83. b.Property<string>("CreatedBy")
  84. .IsRequired()
  85. .HasMaxLength(36);
  86. b.Property<DateTime>("CreatedTime");
  87. b.Property<string>("SiteId")
  88. .IsRequired()
  89. .HasMaxLength(36);
  90. b.HasKey("Id");
  91. b.ToTable("czfw_site_manager");
  92. });
  93. modelBuilder.Entity("CZFW.Framework.Entity.SysUserEntity", b =>
  94. {
  95. b.Property<string>("Id")
  96. .ValueGeneratedOnAdd()
  97. .HasMaxLength(36);
  98. b.Property<string>("Account")
  99. .IsRequired()
  100. .HasMaxLength(128);
  101. b.Property<int>("AccountState");
  102. b.Property<DateTime?>("Birthday");
  103. b.Property<string>("ClientId");
  104. b.Property<DateTime?>("DeleteTime");
  105. b.Property<string>("DeleteUserId")
  106. .HasMaxLength(36);
  107. b.Property<bool?>("Deleted");
  108. b.Property<string>("DepartmentId")
  109. .HasMaxLength(36);
  110. b.Property<string>("Description");
  111. b.Property<string>("DutyId")
  112. .HasMaxLength(128);
  113. b.Property<string>("Email")
  114. .HasMaxLength(128);
  115. b.Property<int?>("Gender");
  116. b.Property<string>("HeadIcon")
  117. .HasMaxLength(512);
  118. b.Property<bool?>("IsAdministrator");
  119. b.Property<string>("ManagerId")
  120. .HasMaxLength(36);
  121. b.Property<string>("MobilePhone")
  122. .HasMaxLength(128);
  123. b.Property<string>("NickName")
  124. .HasMaxLength(128);
  125. b.Property<string>("OrganizeId")
  126. .HasMaxLength(128);
  127. b.Property<string>("Password")
  128. .HasMaxLength(64);
  129. b.Property<string>("RoleId")
  130. .HasMaxLength(128);
  131. b.Property<int?>("SecurityLevel");
  132. b.Property<string>("Signature")
  133. .HasMaxLength(128);
  134. b.Property<string>("WeChat")
  135. .HasMaxLength(128);
  136. b.HasKey("Id");
  137. b.ToTable("czfw_sysuser");
  138. });
  139. modelBuilder.Entity("CZFW.Framework.Entity.TemplateEntity", b =>
  140. {
  141. b.Property<string>("Id")
  142. .ValueGeneratedOnAdd()
  143. .HasMaxLength(36);
  144. b.Property<string>("CopyFromTplName")
  145. .HasMaxLength(128);
  146. b.Property<string>("CreatedBy")
  147. .HasMaxLength(36);
  148. b.Property<DateTime>("CreatedTime");
  149. b.Property<string>("Description");
  150. b.Property<decimal>("DiscountedPrice");
  151. b.Property<string>("DisplayName")
  152. .IsRequired()
  153. .HasMaxLength(128);
  154. b.Property<string>("Icon")
  155. .HasMaxLength(1024);
  156. b.Property<string>("Name")
  157. .HasMaxLength(128);
  158. b.Property<decimal>("Price");
  159. b.Property<int>("State");
  160. b.Property<string>("TypeId")
  161. .HasMaxLength(36);
  162. b.Property<string>("ViewPath")
  163. .HasMaxLength(128);
  164. b.HasKey("Id");
  165. b.ToTable("czcms_template");
  166. });
  167. #pragma warning restore 612, 618
  168. }
  169. }
  170. }