20250212045952_Init.Designer.cs 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285
  1. // <auto-generated />
  2. using System;
  3. using DW5S.Repostory;
  4. using Microsoft.EntityFrameworkCore;
  5. using Microsoft.EntityFrameworkCore.Infrastructure;
  6. using Microsoft.EntityFrameworkCore.Migrations;
  7. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  8. using Oracle.EntityFrameworkCore.Metadata;
  9. #nullable disable
  10. namespace _04.DW5S.Repostory.Migrations
  11. {
  12. [DbContext(typeof(OracleContext))]
  13. [Migration("20250212045952_Init")]
  14. partial class Init
  15. {
  16. /// <inheritdoc />
  17. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  18. {
  19. #pragma warning disable 612, 618
  20. modelBuilder
  21. .HasAnnotation("ProductVersion", "7.0.20")
  22. .HasAnnotation("Relational:MaxIdentifierLength", 128);
  23. OracleModelBuilderExtensions.UseIdentityColumns(modelBuilder);
  24. modelBuilder.Entity("DW5S.Entity.CgRes", b =>
  25. {
  26. b.Property<long>("Id")
  27. .ValueGeneratedOnAdd()
  28. .HasColumnType("NUMBER(19)")
  29. .HasColumnName("ID");
  30. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  31. b.Property<int?>("Adja1Code")
  32. .HasColumnType("NUMBER(10)")
  33. .HasColumnName("ADJA1CODE");
  34. b.Property<double?>("Adja1Vx")
  35. .HasColumnType("BINARY_DOUBLE")
  36. .HasColumnName("ADJA1VX");
  37. b.Property<double?>("Adja1Vy")
  38. .HasColumnType("BINARY_DOUBLE")
  39. .HasColumnName("ADJA1VY");
  40. b.Property<double?>("Adja1Vz")
  41. .HasColumnType("BINARY_DOUBLE")
  42. .HasColumnName("ADJA1VZ");
  43. b.Property<double?>("Adja1X")
  44. .HasColumnType("BINARY_DOUBLE")
  45. .HasColumnName("ADJA1X");
  46. b.Property<DateTime?>("Adja1XlTime")
  47. .HasColumnType("TIMESTAMP(7)")
  48. .HasColumnName("ADJA1XLTIME");
  49. b.Property<double?>("Adja1Y")
  50. .HasColumnType("BINARY_DOUBLE")
  51. .HasColumnName("ADJA1Y");
  52. b.Property<double?>("Adja1Z")
  53. .HasColumnType("BINARY_DOUBLE")
  54. .HasColumnName("ADJA1Z");
  55. b.Property<int?>("Adja2Code")
  56. .HasColumnType("NUMBER(10)")
  57. .HasColumnName("ADJA2CODE");
  58. b.Property<double?>("Adja2Vx")
  59. .HasColumnType("BINARY_DOUBLE")
  60. .HasColumnName("ADJA2VX");
  61. b.Property<double?>("Adja2Vy")
  62. .HasColumnType("BINARY_DOUBLE")
  63. .HasColumnName("ADJA2VY");
  64. b.Property<double?>("Adja2Vz")
  65. .HasColumnType("BINARY_DOUBLE")
  66. .HasColumnName("ADJA2VZ");
  67. b.Property<double?>("Adja2X")
  68. .HasColumnType("BINARY_DOUBLE")
  69. .HasColumnName("ADJA2X");
  70. b.Property<DateTime?>("Adja2XlTime")
  71. .HasColumnType("TIMESTAMP(7)")
  72. .HasColumnName("ADJA2XLTIME");
  73. b.Property<double?>("Adja2Y")
  74. .HasColumnType("BINARY_DOUBLE")
  75. .HasColumnName("ADJA2Y");
  76. b.Property<double?>("Adja2Z")
  77. .HasColumnType("BINARY_DOUBLE")
  78. .HasColumnName("ADJA2Z");
  79. b.Property<DateTime>("CreateTime")
  80. .HasColumnType("TIMESTAMP(7)")
  81. .HasColumnName("CREATETIME");
  82. b.Property<double?>("Dfo1")
  83. .HasColumnType("BINARY_DOUBLE")
  84. .HasColumnName("DFO1");
  85. b.Property<double?>("Dfo2")
  86. .HasColumnType("BINARY_DOUBLE")
  87. .HasColumnName("DFO2");
  88. b.Property<double?>("DfoCdb")
  89. .HasColumnType("BINARY_DOUBLE")
  90. .HasColumnName("DFOCDB");
  91. b.Property<double?>("Dto1")
  92. .HasColumnType("BINARY_DOUBLE")
  93. .HasColumnName("DTO1");
  94. b.Property<double?>("Dto2")
  95. .HasColumnType("BINARY_DOUBLE")
  96. .HasColumnName("DTO2");
  97. b.Property<double?>("DtoCdb")
  98. .HasColumnType("BINARY_DOUBLE")
  99. .HasColumnName("DTOCDB");
  100. b.Property<int?>("FixedStationID")
  101. .HasColumnType("NUMBER(10)")
  102. .HasColumnName("FIXEDSTATIONID");
  103. b.Property<int?>("MainCode")
  104. .HasColumnType("NUMBER(10)")
  105. .HasColumnName("MAINCODE");
  106. b.Property<double?>("MainVx")
  107. .HasColumnType("BINARY_DOUBLE")
  108. .HasColumnName("MAINVX");
  109. b.Property<double?>("MainVy")
  110. .HasColumnType("BINARY_DOUBLE")
  111. .HasColumnName("MAINVY");
  112. b.Property<double?>("MainVz")
  113. .HasColumnType("BINARY_DOUBLE")
  114. .HasColumnName("MAINVZ");
  115. b.Property<double?>("MainX")
  116. .HasColumnType("BINARY_DOUBLE")
  117. .HasColumnName("MAINX");
  118. b.Property<DateTime?>("MainXlTime")
  119. .HasColumnType("TIMESTAMP(7)")
  120. .HasColumnName("MAINXLTIME");
  121. b.Property<double?>("MainY")
  122. .HasColumnType("BINARY_DOUBLE")
  123. .HasColumnName("MAINY");
  124. b.Property<double?>("MainZ")
  125. .HasColumnType("BINARY_DOUBLE")
  126. .HasColumnName("MAINZ");
  127. b.Property<double?>("RefFreqDown")
  128. .HasColumnType("BINARY_DOUBLE")
  129. .HasColumnName("REFFREQDOWN");
  130. b.Property<double?>("RefFreqUp")
  131. .HasColumnType("BINARY_DOUBLE")
  132. .HasColumnName("REFFREQUP");
  133. b.Property<DateTime>("SigTime")
  134. .HasColumnType("TIMESTAMP(7)")
  135. .HasColumnName("SIGTIME");
  136. b.Property<double?>("Snr1")
  137. .HasColumnType("BINARY_DOUBLE")
  138. .HasColumnName("SNR1");
  139. b.Property<double?>("Snr2")
  140. .HasColumnType("BINARY_DOUBLE")
  141. .HasColumnName("SNR2");
  142. b.Property<double?>("SnrCdb")
  143. .HasColumnType("BINARY_DOUBLE")
  144. .HasColumnName("SNRCDB");
  145. b.Property<long>("StationResID")
  146. .HasColumnType("NUMBER(19)")
  147. .HasColumnName("STATIONRESID");
  148. b.Property<double?>("TarFreqDown")
  149. .HasColumnType("BINARY_DOUBLE")
  150. .HasColumnName("TARFREQDOWN");
  151. b.Property<double?>("TarFreqUp")
  152. .HasColumnType("BINARY_DOUBLE")
  153. .HasColumnName("TARFREQUP");
  154. b.Property<int>("TaskID")
  155. .HasColumnType("NUMBER(10)")
  156. .HasColumnName("TASKID");
  157. b.Property<DateTime>("UpdateTime")
  158. .HasColumnType("TIMESTAMP(7)")
  159. .HasColumnName("UPDATETIME");
  160. b.Property<double?>("YbAdja1Dfo")
  161. .HasColumnType("BINARY_DOUBLE")
  162. .HasColumnName("YBADJA1DFO");
  163. b.Property<double?>("YbAdja1Dto")
  164. .HasColumnType("BINARY_DOUBLE")
  165. .HasColumnName("YBADJA1DTO");
  166. b.Property<double?>("YbAdja1Snr")
  167. .HasColumnType("BINARY_DOUBLE")
  168. .HasColumnName("YBADJA1SNR");
  169. b.Property<double?>("YbAdja2Dfo")
  170. .HasColumnType("BINARY_DOUBLE")
  171. .HasColumnName("YBADJA2DFO");
  172. b.Property<double?>("YbAdja2Dto")
  173. .HasColumnType("BINARY_DOUBLE")
  174. .HasColumnName("YBADJA2DTO");
  175. b.Property<double?>("YbAdja2Snr")
  176. .HasColumnType("BINARY_DOUBLE")
  177. .HasColumnName("YBADJA2SNR");
  178. b.Property<double?>("YbMainDfo")
  179. .HasColumnType("BINARY_DOUBLE")
  180. .HasColumnName("YBMAINDFO");
  181. b.Property<double?>("YbMainDto")
  182. .HasColumnType("BINARY_DOUBLE")
  183. .HasColumnName("YBMAINDTO");
  184. b.Property<double?>("YbMainSnr")
  185. .HasColumnType("BINARY_DOUBLE")
  186. .HasColumnName("YBMAINSNR");
  187. b.HasKey("Id")
  188. .HasName("PK_CGRES");
  189. b.HasIndex("FixedStationID")
  190. .HasDatabaseName("IX_CGRES_FIXEDSTATIONID");
  191. b.HasIndex("StationResID")
  192. .HasDatabaseName("IX_CGRES_STATIONRESID");
  193. b.HasIndex("UpdateTime")
  194. .HasDatabaseName("IX_CGRES_UPDATETIME");
  195. b.ToTable("CgRes");
  196. });
  197. modelBuilder.Entity("DW5S.Entity.CgXgfRes", b =>
  198. {
  199. b.Property<long>("Id")
  200. .ValueGeneratedOnAdd()
  201. .HasColumnType("NUMBER(19)")
  202. .HasColumnName("ID");
  203. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  204. b.Property<long>("CgResID")
  205. .HasColumnType("NUMBER(19)")
  206. .HasColumnName("CGRESID");
  207. b.Property<int>("CgType")
  208. .HasColumnType("NUMBER(10)")
  209. .HasColumnName("CGTYPE");
  210. b.Property<DateTime>("CreateTime")
  211. .HasColumnType("TIMESTAMP(7)")
  212. .HasColumnName("CREATETIME");
  213. b.Property<double?>("Dfo")
  214. .HasColumnType("BINARY_DOUBLE")
  215. .HasColumnName("DFO");
  216. b.Property<double?>("Dto")
  217. .HasColumnType("BINARY_DOUBLE")
  218. .HasColumnName("DTO");
  219. b.Property<DateTime>("SigTime")
  220. .HasColumnType("TIMESTAMP(7)")
  221. .HasColumnName("SIGTIME");
  222. b.Property<double?>("Snr")
  223. .HasColumnType("BINARY_DOUBLE")
  224. .HasColumnName("SNR");
  225. b.Property<DateTime>("UpdateTime")
  226. .HasColumnType("TIMESTAMP(7)")
  227. .HasColumnName("UPDATETIME");
  228. b.HasKey("Id")
  229. .HasName("PK_CGXGFRES");
  230. b.HasIndex("CgResID")
  231. .HasDatabaseName("IX_CGXGFRES_CGRESID");
  232. b.HasIndex("UpdateTime")
  233. .HasDatabaseName("IX_CGXGFRES_UPDATETIME");
  234. b.ToTable("CgXgfRes");
  235. });
  236. modelBuilder.Entity("DW5S.Entity.CheckRes", b =>
  237. {
  238. b.Property<long>("Id")
  239. .ValueGeneratedOnAdd()
  240. .HasColumnType("NUMBER(19)")
  241. .HasColumnName("ID");
  242. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  243. b.Property<DateTime>("CreateTime")
  244. .HasColumnType("TIMESTAMP(7)")
  245. .HasColumnName("CREATETIME");
  246. b.Property<double?>("FfcHz")
  247. .HasColumnType("BINARY_DOUBLE")
  248. .HasColumnName("FFCHZ");
  249. b.Property<string>("FileName")
  250. .HasColumnType("NVARCHAR2(2000)")
  251. .HasColumnName("FILENAME");
  252. b.Property<double?>("ModRate")
  253. .HasColumnType("BINARY_DOUBLE")
  254. .HasColumnName("MODRATE");
  255. b.Property<string>("ModType")
  256. .HasColumnType("NVARCHAR2(2000)")
  257. .HasColumnName("MODTYPE");
  258. b.Property<int?>("PosCheckType")
  259. .HasColumnType("NUMBER(10)")
  260. .HasColumnName("POSCHECKTYPE");
  261. b.Property<long?>("SmpCount")
  262. .HasColumnType("NUMBER(19)")
  263. .HasColumnName("SMPCOUNT");
  264. b.Property<long?>("SmpStart")
  265. .HasColumnType("NUMBER(19)")
  266. .HasColumnName("SMPSTART");
  267. b.Property<double?>("Snr")
  268. .HasColumnType("BINARY_DOUBLE")
  269. .HasColumnName("SNR");
  270. b.Property<DateTime>("UpdateTime")
  271. .HasColumnType("TIMESTAMP(7)")
  272. .HasColumnName("UPDATETIME");
  273. b.Property<string>("UserName")
  274. .HasColumnType("NVARCHAR2(2000)")
  275. .HasColumnName("USERNAME");
  276. b.HasKey("Id")
  277. .HasName("PK_CHECKRES");
  278. b.HasIndex("UpdateTime")
  279. .HasDatabaseName("IX_CHECKRES_UPDATETIME");
  280. b.ToTable("CheckRes");
  281. });
  282. modelBuilder.Entity("DW5S.Entity.CxRes", b =>
  283. {
  284. b.Property<long>("Id")
  285. .ValueGeneratedOnAdd()
  286. .HasColumnType("NUMBER(19)")
  287. .HasColumnName("ID");
  288. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  289. b.Property<DateTime>("CreateTime")
  290. .HasColumnType("TIMESTAMP(7)")
  291. .HasColumnName("CREATETIME");
  292. b.Property<double>("Fx")
  293. .HasColumnType("BINARY_DOUBLE")
  294. .HasColumnName("FX");
  295. b.Property<DateTime>("SigTime")
  296. .HasColumnType("TIMESTAMP(7)")
  297. .HasColumnName("SIGTIME");
  298. b.Property<DateTime>("UpdateTime")
  299. .HasColumnType("TIMESTAMP(7)")
  300. .HasColumnName("UPDATETIME");
  301. b.HasKey("Id")
  302. .HasName("PK_CXRES");
  303. b.HasIndex("UpdateTime")
  304. .HasDatabaseName("IX_CXRES_UPDATETIME");
  305. b.ToTable("CxRes");
  306. });
  307. modelBuilder.Entity("DW5S.Entity.FixedStation", b =>
  308. {
  309. b.Property<int>("Id")
  310. .ValueGeneratedOnAdd()
  311. .HasColumnType("NUMBER(10)")
  312. .HasColumnName("ID");
  313. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  314. b.Property<DateTime>("CreateTime")
  315. .HasColumnType("TIMESTAMP(7)")
  316. .HasColumnName("CREATETIME");
  317. b.Property<bool>("Enable")
  318. .HasColumnType("NUMBER(1)")
  319. .HasColumnName("ENABLE");
  320. b.Property<long>("FreqUpHz")
  321. .HasColumnType("NUMBER(19)")
  322. .HasColumnName("FREQUPHZ");
  323. b.Property<double>("Lat")
  324. .HasColumnType("BINARY_DOUBLE")
  325. .HasColumnName("LAT");
  326. b.Property<double>("Lon")
  327. .HasColumnType("BINARY_DOUBLE")
  328. .HasColumnName("LON");
  329. b.Property<double>("SpareField")
  330. .HasColumnType("BINARY_DOUBLE")
  331. .HasColumnName("SPAREFIELD");
  332. b.Property<string>("StationName")
  333. .IsRequired()
  334. .HasMaxLength(50)
  335. .HasColumnType("NVARCHAR2(50)")
  336. .HasColumnName("STATIONNAME");
  337. b.Property<DateTime>("UpdateTime")
  338. .HasColumnType("TIMESTAMP(7)")
  339. .HasColumnName("UPDATETIME");
  340. b.Property<double>("Value")
  341. .HasColumnType("BINARY_DOUBLE")
  342. .HasColumnName("VALUE");
  343. b.HasKey("Id")
  344. .HasName("PK_FIXEDSTATION");
  345. b.HasIndex("UpdateTime")
  346. .HasDatabaseName("IX_FIXEDSTATION_UPDATETIME");
  347. b.ToTable("FIXEDSTATION", (string)null);
  348. });
  349. modelBuilder.Entity("DW5S.Entity.LogRes", b =>
  350. {
  351. b.Property<long>("Id")
  352. .ValueGeneratedOnAdd()
  353. .HasColumnType("NUMBER(19)")
  354. .HasColumnName("ID");
  355. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  356. b.Property<DateTime>("CreateTime")
  357. .HasColumnType("TIMESTAMP(7)")
  358. .HasColumnName("CREATETIME");
  359. b.Property<DateTime>("LogTime")
  360. .HasColumnType("TIMESTAMP(7)")
  361. .HasColumnName("LOGTIME");
  362. b.Property<int>("LogType")
  363. .HasColumnType("NUMBER(10)")
  364. .HasColumnName("LOGTYPE");
  365. b.Property<string>("Module")
  366. .HasColumnType("NVARCHAR2(450)")
  367. .HasColumnName("MODULE");
  368. b.Property<string>("Msg")
  369. .HasColumnType("NVARCHAR2(2000)")
  370. .HasColumnName("MSG");
  371. b.Property<DateTime>("UpdateTime")
  372. .HasColumnType("TIMESTAMP(7)")
  373. .HasColumnName("UPDATETIME");
  374. b.HasKey("Id")
  375. .HasName("PK_LOGRES");
  376. b.HasIndex("UpdateTime")
  377. .HasDatabaseName("IX_LOGRES_UPDATETIME");
  378. b.HasIndex("Module", "LogTime", "LogType")
  379. .HasDatabaseName("IX_LOGRES_MODULE_LOGTIME_LOGTYPE");
  380. b.ToTable("LOGRES", (string)null);
  381. });
  382. modelBuilder.Entity("DW5S.Entity.PosRes", b =>
  383. {
  384. b.Property<long>("Id")
  385. .ValueGeneratedOnAdd()
  386. .HasColumnType("NUMBER(19)")
  387. .HasColumnName("ID");
  388. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  389. b.Property<long>("CgResID")
  390. .HasColumnType("NUMBER(19)")
  391. .HasColumnName("CGRESID");
  392. b.Property<long?>("CheckResID")
  393. .HasColumnType("NUMBER(19)")
  394. .HasColumnName("CHECKRESID");
  395. b.Property<int>("Confidence")
  396. .HasColumnType("NUMBER(10)")
  397. .HasColumnName("CONFIDENCE");
  398. b.Property<DateTime>("CreateTime")
  399. .HasColumnType("TIMESTAMP(7)")
  400. .HasColumnName("CREATETIME");
  401. b.Property<long?>("CxResID")
  402. .HasColumnType("NUMBER(19)")
  403. .HasColumnName("CXRESID");
  404. b.Property<long>("FreqUpHz")
  405. .HasColumnType("NUMBER(19)")
  406. .HasColumnName("FREQUPHZ");
  407. b.Property<double>("MirrLat")
  408. .HasColumnType("BINARY_DOUBLE")
  409. .HasColumnName("MIRRLAT");
  410. b.Property<double>("MirrLon")
  411. .HasColumnType("BINARY_DOUBLE")
  412. .HasColumnName("MIRRLON");
  413. b.Property<double>("PosLat")
  414. .HasColumnType("BINARY_DOUBLE")
  415. .HasColumnName("POSLAT");
  416. b.Property<double>("PosLon")
  417. .HasColumnType("BINARY_DOUBLE")
  418. .HasColumnName("POSLON");
  419. b.Property<int>("PosResType")
  420. .HasColumnType("NUMBER(10)")
  421. .HasColumnName("POSRESTYPE");
  422. b.Property<DateTime>("SigTime")
  423. .HasColumnType("TIMESTAMP(7)")
  424. .HasColumnName("SIGTIME");
  425. b.Property<long>("StationResID")
  426. .HasColumnType("NUMBER(19)")
  427. .HasColumnName("STATIONRESID");
  428. b.Property<int?>("TargetInfoID")
  429. .HasColumnType("NUMBER(10)")
  430. .HasColumnName("TARGETINFOID");
  431. b.Property<int>("TargetState")
  432. .HasColumnType("NUMBER(10)")
  433. .HasColumnName("TARGETSTATE");
  434. b.Property<int>("TaskInfoID")
  435. .HasColumnType("NUMBER(10)")
  436. .HasColumnName("TASKINFOID");
  437. b.Property<DateTime>("UpdateTime")
  438. .HasColumnType("TIMESTAMP(7)")
  439. .HasColumnName("UPDATETIME");
  440. b.HasKey("Id")
  441. .HasName("PK_POSRES");
  442. b.HasIndex("CgResID")
  443. .HasDatabaseName("IX_POSRES_CGRESID");
  444. b.HasIndex("CheckResID")
  445. .HasDatabaseName("IX_POSRES_CHECKRESID");
  446. b.HasIndex("CxResID")
  447. .HasDatabaseName("IX_POSRES_CXRESID");
  448. b.HasIndex("StationResID")
  449. .HasDatabaseName("IX_POSRES_STATIONRESID");
  450. b.HasIndex("UpdateTime")
  451. .HasDatabaseName("IX_POSRES_UPDATETIME");
  452. b.ToTable("PosRes");
  453. });
  454. modelBuilder.Entity("DW5S.Entity.SatInfo", b =>
  455. {
  456. b.Property<int>("Id")
  457. .ValueGeneratedOnAdd()
  458. .HasColumnType("NUMBER(10)")
  459. .HasColumnName("ID");
  460. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  461. b.Property<DateTime>("CreateTime")
  462. .HasColumnType("TIMESTAMP(7)")
  463. .HasColumnName("CREATETIME");
  464. b.Property<int>("SatCode")
  465. .HasColumnType("NUMBER(10)")
  466. .HasColumnName("SATCODE");
  467. b.Property<double?>("SatLon")
  468. .HasColumnType("BINARY_DOUBLE")
  469. .HasColumnName("SATLON");
  470. b.Property<string>("SatName")
  471. .HasColumnType("NVARCHAR2(2000)")
  472. .HasColumnName("SATNAME");
  473. b.Property<double?>("SatTrans")
  474. .HasColumnType("BINARY_DOUBLE")
  475. .HasColumnName("SATTRANS");
  476. b.Property<DateTime>("UpdateTime")
  477. .HasColumnType("TIMESTAMP(7)")
  478. .HasColumnName("UPDATETIME");
  479. b.HasKey("Id")
  480. .HasName("PK_SATINFO");
  481. b.HasIndex("UpdateTime")
  482. .HasDatabaseName("IX_SATINFO_UPDATETIME");
  483. b.ToTable("SATINFO", (string)null);
  484. });
  485. modelBuilder.Entity("DW5S.Entity.SigDelay", b =>
  486. {
  487. b.Property<int>("Id")
  488. .ValueGeneratedOnAdd()
  489. .HasColumnType("NUMBER(10)")
  490. .HasColumnName("ID");
  491. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  492. b.Property<DateTime>("CreateTime")
  493. .HasColumnType("TIMESTAMP(7)")
  494. .HasColumnName("CREATETIME");
  495. b.Property<double>("Delay")
  496. .HasColumnType("BINARY_DOUBLE")
  497. .HasColumnName("DELAY");
  498. b.Property<string>("Sat")
  499. .HasColumnType("NVARCHAR2(2000)")
  500. .HasColumnName("SAT");
  501. b.Property<int?>("SatInfoId")
  502. .HasColumnType("NUMBER(10)")
  503. .HasColumnName("SATINFOID");
  504. b.Property<int>("SatInfoSatCode")
  505. .HasColumnType("NUMBER(10)")
  506. .HasColumnName("SATINFOSATCODE");
  507. b.Property<int>("SigInfoId")
  508. .HasColumnType("NUMBER(10)")
  509. .HasColumnName("SIGINFOID");
  510. b.Property<DateTime>("UpdateTime")
  511. .HasColumnType("TIMESTAMP(7)")
  512. .HasColumnName("UPDATETIME");
  513. b.HasKey("Id")
  514. .HasName("PK_SIGDELAY");
  515. b.HasIndex("SatInfoId")
  516. .HasDatabaseName("IX_SIGDELAY_SATINFOID");
  517. b.HasIndex("SigInfoId")
  518. .HasDatabaseName("IX_SIGDELAY_SIGINFOID");
  519. b.HasIndex("UpdateTime")
  520. .HasDatabaseName("IX_SIGDELAY_UPDATETIME");
  521. b.ToTable("SIGDELAY", (string)null);
  522. });
  523. modelBuilder.Entity("DW5S.Entity.SigInfo", b =>
  524. {
  525. b.Property<int>("Id")
  526. .ValueGeneratedOnAdd()
  527. .HasColumnType("NUMBER(10)")
  528. .HasColumnName("ID");
  529. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  530. b.Property<double?>("Band")
  531. .HasColumnType("BINARY_DOUBLE")
  532. .HasColumnName("BAND");
  533. b.Property<DateTime>("CreateTime")
  534. .HasColumnType("TIMESTAMP(7)")
  535. .HasColumnName("CREATETIME");
  536. b.Property<long>("FreqDown")
  537. .HasColumnType("NUMBER(19)")
  538. .HasColumnName("FREQDOWN");
  539. b.Property<long>("FreqUp")
  540. .HasColumnType("NUMBER(19)")
  541. .HasColumnName("FREQUP");
  542. b.Property<int>("SigType")
  543. .HasColumnType("NUMBER(10)")
  544. .HasColumnName("SIGTYPE");
  545. b.Property<double>("Snr")
  546. .HasColumnType("BINARY_DOUBLE")
  547. .HasColumnName("SNR");
  548. b.Property<DateTime>("UpdateTime")
  549. .HasColumnType("TIMESTAMP(7)")
  550. .HasColumnName("UPDATETIME");
  551. b.HasKey("Id")
  552. .HasName("PK_SIGINFO");
  553. b.HasIndex("UpdateTime")
  554. .HasDatabaseName("IX_SIGINFO_UPDATETIME");
  555. b.ToTable("SIGINFO", (string)null);
  556. });
  557. modelBuilder.Entity("DW5S.Entity.StationRes", b =>
  558. {
  559. b.Property<long>("Id")
  560. .ValueGeneratedOnAdd()
  561. .HasColumnType("NUMBER(19)")
  562. .HasColumnName("ID");
  563. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
  564. b.Property<double?>("CdbTxLat")
  565. .HasColumnType("BINARY_DOUBLE")
  566. .HasColumnName("CDBTXLAT");
  567. b.Property<double?>("CdbTxLon")
  568. .HasColumnType("BINARY_DOUBLE")
  569. .HasColumnName("CDBTXLON");
  570. b.Property<DateTime>("CreateTime")
  571. .HasColumnType("TIMESTAMP(7)")
  572. .HasColumnName("CREATETIME");
  573. b.Property<double?>("CxLat")
  574. .HasColumnType("BINARY_DOUBLE")
  575. .HasColumnName("CXLAT");
  576. b.Property<double?>("CxLon")
  577. .HasColumnType("BINARY_DOUBLE")
  578. .HasColumnName("CXLON");
  579. b.Property<double?>("RefLat")
  580. .HasColumnType("BINARY_DOUBLE")
  581. .HasColumnName("REFLAT");
  582. b.Property<double?>("RefLon")
  583. .HasColumnType("BINARY_DOUBLE")
  584. .HasColumnName("REFLON");
  585. b.Property<double>("SatTxLat")
  586. .HasColumnType("BINARY_DOUBLE")
  587. .HasColumnName("SATTXLAT");
  588. b.Property<double>("SatTxLon")
  589. .HasColumnType("BINARY_DOUBLE")
  590. .HasColumnName("SATTXLON");
  591. b.Property<int>("TaskID")
  592. .HasColumnType("NUMBER(10)")
  593. .HasColumnName("TASKID");
  594. b.Property<DateTime>("UpdateTime")
  595. .HasColumnType("TIMESTAMP(7)")
  596. .HasColumnName("UPDATETIME");
  597. b.HasKey("Id")
  598. .HasName("PK_STATIONRES");
  599. b.HasIndex("UpdateTime")
  600. .HasDatabaseName("IX_STATIONRES_UPDATETIME");
  601. b.ToTable("StationRes");
  602. });
  603. modelBuilder.Entity("DW5S.Entity.SysSetings", b =>
  604. {
  605. b.Property<int>("Id")
  606. .ValueGeneratedOnAdd()
  607. .HasColumnType("NUMBER(10)")
  608. .HasColumnName("ID");
  609. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  610. b.Property<DateTime>("CreateTime")
  611. .HasColumnType("TIMESTAMP(7)")
  612. .HasColumnName("CREATETIME");
  613. b.Property<int>("HttpPort")
  614. .HasColumnType("NUMBER(10)")
  615. .HasColumnName("HTTPPORT");
  616. b.Property<int>("MapLayerType")
  617. .HasColumnType("NUMBER(10)")
  618. .HasColumnName("MAPLAYERTYPE");
  619. b.Property<int>("MapType")
  620. .HasColumnType("NUMBER(10)")
  621. .HasColumnName("MAPTYPE");
  622. b.Property<string>("TimeZoneID")
  623. .HasColumnType("NVARCHAR2(2000)")
  624. .HasColumnName("TIMEZONEID");
  625. b.Property<string>("TimeZoneName")
  626. .HasColumnType("NVARCHAR2(2000)")
  627. .HasColumnName("TIMEZONENAME");
  628. b.Property<string>("TimeZoneUTC")
  629. .HasColumnType("NVARCHAR2(2000)")
  630. .HasColumnName("TIMEZONEUTC");
  631. b.Property<DateTime>("UpdateTime")
  632. .HasColumnType("TIMESTAMP(7)")
  633. .HasColumnName("UPDATETIME");
  634. b.Property<int>("WmtsSource")
  635. .HasColumnType("NUMBER(10)")
  636. .HasColumnName("WMTSSOURCE");
  637. b.Property<string>("XLDirectory")
  638. .HasColumnType("NVARCHAR2(2000)")
  639. .HasColumnName("XLDIRECTORY");
  640. b.Property<double>("ZoneHours")
  641. .HasColumnType("BINARY_DOUBLE")
  642. .HasColumnName("ZONEHOURS");
  643. b.HasKey("Id")
  644. .HasName("PK_SYSSETINGS");
  645. b.HasIndex("UpdateTime")
  646. .HasDatabaseName("IX_SYSSETINGS_UPDATETIME");
  647. b.ToTable("SysSetings");
  648. });
  649. modelBuilder.Entity("DW5S.Entity.TargetInfo", b =>
  650. {
  651. b.Property<int>("Id")
  652. .ValueGeneratedOnAdd()
  653. .HasColumnType("NUMBER(10)")
  654. .HasColumnName("ID");
  655. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  656. b.Property<DateTime>("CreateTime")
  657. .HasColumnType("TIMESTAMP(7)")
  658. .HasColumnName("CREATETIME");
  659. b.Property<string>("TargeColor")
  660. .HasColumnType("NVARCHAR2(2000)")
  661. .HasColumnName("TARGECOLOR");
  662. b.Property<string>("TargetName")
  663. .HasColumnType("NVARCHAR2(2000)")
  664. .HasColumnName("TARGETNAME");
  665. b.Property<DateTime>("UpdateTime")
  666. .HasColumnType("TIMESTAMP(7)")
  667. .HasColumnName("UPDATETIME");
  668. b.HasKey("Id")
  669. .HasName("PK_TARGETINFO");
  670. b.HasIndex("UpdateTime")
  671. .HasDatabaseName("IX_TARGETINFO_UPDATETIME");
  672. b.ToTable("TARGETINFO", (string)null);
  673. });
  674. modelBuilder.Entity("DW5S.Entity.TaskInfo", b =>
  675. {
  676. b.Property<int>("Id")
  677. .ValueGeneratedOnAdd()
  678. .HasColumnType("NUMBER(10)")
  679. .HasColumnName("ID");
  680. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  681. b.Property<int?>("Adja1Sat")
  682. .HasColumnType("NUMBER(10)")
  683. .HasColumnName("ADJA1SAT");
  684. b.Property<int?>("Adja2Sat")
  685. .HasColumnType("NUMBER(10)")
  686. .HasColumnName("ADJA2SAT");
  687. b.Property<string>("CapDir")
  688. .HasColumnType("NVARCHAR2(2000)")
  689. .HasColumnName("CAPDIR");
  690. b.Property<string>("CapDirFormat")
  691. .HasColumnType("NVARCHAR2(2000)")
  692. .HasColumnName("CAPDIRFORMAT");
  693. b.Property<DateTime>("CreateTime")
  694. .HasColumnType("TIMESTAMP(7)")
  695. .HasColumnName("CREATETIME");
  696. b.Property<int>("MainSat")
  697. .HasColumnType("NUMBER(10)")
  698. .HasColumnName("MAINSAT");
  699. b.Property<int>("PosType")
  700. .HasColumnType("NUMBER(10)")
  701. .HasColumnName("POSTYPE");
  702. b.Property<string>("TaskName")
  703. .HasColumnType("NVARCHAR2(2000)")
  704. .HasColumnName("TASKNAME");
  705. b.Property<int>("TaskState")
  706. .HasColumnType("NUMBER(10)")
  707. .HasColumnName("TASKSTATE");
  708. b.Property<int>("TaskType")
  709. .HasColumnType("NUMBER(10)")
  710. .HasColumnName("TASKTYPE");
  711. b.Property<DateTime>("UpdateTime")
  712. .HasColumnType("TIMESTAMP(7)")
  713. .HasColumnName("UPDATETIME");
  714. b.HasKey("Id")
  715. .HasName("PK_TASKINFO");
  716. b.HasIndex("UpdateTime")
  717. .HasDatabaseName("IX_TASKINFO_UPDATETIME");
  718. b.ToTable("TASKINFO", (string)null);
  719. });
  720. modelBuilder.Entity("DW5S.Entity.TaskRunnningInfo", b =>
  721. {
  722. b.Property<int>("Id")
  723. .ValueGeneratedOnAdd()
  724. .HasColumnType("NUMBER(10)")
  725. .HasColumnName("ID");
  726. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  727. b.Property<DateTime>("CreateTime")
  728. .HasColumnType("TIMESTAMP(7)")
  729. .HasColumnName("CREATETIME");
  730. b.Property<long>("FreqUp")
  731. .HasColumnType("NUMBER(19)")
  732. .HasColumnName("FREQUP");
  733. b.Property<DateTime>("LastDoneAdFileTime")
  734. .HasColumnType("TIMESTAMP(7)")
  735. .HasColumnName("LASTDONEADFILETIME");
  736. b.Property<int>("TaskID")
  737. .HasColumnType("NUMBER(10)")
  738. .HasColumnName("TASKID");
  739. b.Property<DateTime>("UpdateTime")
  740. .HasColumnType("TIMESTAMP(7)")
  741. .HasColumnName("UPDATETIME");
  742. b.HasKey("Id")
  743. .HasName("PK_TASKRUNNNINGINFO");
  744. b.HasIndex("UpdateTime")
  745. .HasDatabaseName("IX_TASKRUNNNINGINFO_UPDATETIME");
  746. b.ToTable("TASKRUNNNINGINFO", (string)null);
  747. });
  748. modelBuilder.Entity("DW5S.Entity.TaskSig", b =>
  749. {
  750. b.Property<int>("Id")
  751. .ValueGeneratedOnAdd()
  752. .HasColumnType("NUMBER(10)")
  753. .HasColumnName("ID");
  754. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  755. b.Property<DateTime>("CreateTime")
  756. .HasColumnType("TIMESTAMP(7)")
  757. .HasColumnName("CREATETIME");
  758. b.Property<long>("FreqDown")
  759. .HasColumnType("NUMBER(19)")
  760. .HasColumnName("FREQDOWN");
  761. b.Property<long>("FreqUp")
  762. .HasColumnType("NUMBER(19)")
  763. .HasColumnName("FREQUP");
  764. b.Property<int>("SigInfoID")
  765. .HasColumnType("NUMBER(10)")
  766. .HasColumnName("SIGINFOID");
  767. b.Property<int>("TaskInfoID")
  768. .HasColumnType("NUMBER(10)")
  769. .HasColumnName("TASKINFOID");
  770. b.Property<DateTime>("UpdateTime")
  771. .HasColumnType("TIMESTAMP(7)")
  772. .HasColumnName("UPDATETIME");
  773. b.HasKey("Id")
  774. .HasName("PK_TASKSIG");
  775. b.HasIndex("SigInfoID")
  776. .HasDatabaseName("IX_TASKSIG_SIGINFOID");
  777. b.HasIndex("TaskInfoID")
  778. .HasDatabaseName("IX_TASKSIG_TASKINFOID");
  779. b.HasIndex("UpdateTime")
  780. .HasDatabaseName("IX_TASKSIG_UPDATETIME");
  781. b.ToTable("TASKSIG", (string)null);
  782. });
  783. modelBuilder.Entity("DW5S.Entity.TxInfo", b =>
  784. {
  785. b.Property<int>("Id")
  786. .ValueGeneratedOnAdd()
  787. .HasColumnType("NUMBER(10)")
  788. .HasColumnName("ID");
  789. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  790. b.Property<DateTime>("CreateTime")
  791. .HasColumnType("TIMESTAMP(7)")
  792. .HasColumnName("CREATETIME");
  793. b.Property<bool>("Enable")
  794. .HasColumnType("NUMBER(1)")
  795. .HasColumnName("ENABLE");
  796. b.Property<double>("Lat")
  797. .HasColumnType("BINARY_DOUBLE")
  798. .HasColumnName("LAT");
  799. b.Property<double>("Lon")
  800. .HasColumnType("BINARY_DOUBLE")
  801. .HasColumnName("LON");
  802. b.Property<string>("Name")
  803. .IsRequired()
  804. .HasMaxLength(50)
  805. .HasColumnType("NVARCHAR2(50)")
  806. .HasColumnName("NAME");
  807. b.Property<string>("Remark")
  808. .HasMaxLength(200)
  809. .HasColumnType("NVARCHAR2(200)")
  810. .HasColumnName("REMARK");
  811. b.Property<int?>("SatInfoID")
  812. .HasColumnType("NUMBER(10)")
  813. .HasColumnName("SATINFOID");
  814. b.Property<int>("TxType")
  815. .HasColumnType("NUMBER(10)")
  816. .HasColumnName("TXTYPE");
  817. b.Property<DateTime>("UpdateTime")
  818. .HasColumnType("TIMESTAMP(7)")
  819. .HasColumnName("UPDATETIME");
  820. b.HasKey("Id")
  821. .HasName("PK_TXINFO");
  822. b.HasIndex("SatInfoID")
  823. .HasDatabaseName("IX_TXINFO_SATINFOID");
  824. b.HasIndex("UpdateTime")
  825. .HasDatabaseName("IX_TXINFO_UPDATETIME");
  826. b.ToTable("TXINFO", (string)null);
  827. });
  828. modelBuilder.Entity("DW5S.Entity.XlInfo", b =>
  829. {
  830. b.Property<int>("Id")
  831. .ValueGeneratedOnAdd()
  832. .HasColumnType("NUMBER(10)")
  833. .HasColumnName("ID");
  834. OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
  835. b.Property<DateTime>("CreateTime")
  836. .HasColumnType("TIMESTAMP(7)")
  837. .HasColumnName("CREATETIME");
  838. b.Property<string>("Line1")
  839. .HasColumnType("NVARCHAR2(2000)")
  840. .HasColumnName("LINE1");
  841. b.Property<string>("Line2")
  842. .HasColumnType("NVARCHAR2(2000)")
  843. .HasColumnName("LINE2");
  844. b.Property<double?>("Lon")
  845. .HasColumnType("BINARY_DOUBLE")
  846. .HasColumnName("LON");
  847. b.Property<int>("SatCode")
  848. .HasColumnType("NUMBER(10)")
  849. .HasColumnName("SATCODE");
  850. b.Property<string>("SatName")
  851. .HasColumnType("NVARCHAR2(450)")
  852. .HasColumnName("SATNAME");
  853. b.Property<DateTime>("TimeUTC")
  854. .HasColumnType("TIMESTAMP(7)")
  855. .HasColumnName("TIMEUTC");
  856. b.Property<DateTime>("UpdateTime")
  857. .HasColumnType("TIMESTAMP(7)")
  858. .HasColumnName("UPDATETIME");
  859. b.HasKey("Id")
  860. .HasName("PK_XLINFO");
  861. b.HasIndex("UpdateTime")
  862. .HasDatabaseName("IX_XLINFO_UPDATETIME");
  863. b.HasIndex("SatName", "TimeUTC", "Lon")
  864. .HasDatabaseName("IX_XLINFO_SATNAME_TIMEUTC_LON");
  865. b.ToTable("XLINFO", (string)null);
  866. });
  867. modelBuilder.Entity("DW5S.Entity.CgRes", b =>
  868. {
  869. b.HasOne("DW5S.Entity.FixedStation", "FixedStation")
  870. .WithMany()
  871. .HasForeignKey("FixedStationID")
  872. .HasConstraintName("FK_CGRES_FIXEDSTATION_FIXEDSTATIONID");
  873. b.HasOne("DW5S.Entity.StationRes", "StationRes")
  874. .WithMany()
  875. .HasForeignKey("StationResID")
  876. .OnDelete(DeleteBehavior.Cascade)
  877. .IsRequired()
  878. .HasConstraintName("FK_CGRES_STATIONRES_STATIONRESID");
  879. b.Navigation("FixedStation");
  880. b.Navigation("StationRes");
  881. });
  882. modelBuilder.Entity("DW5S.Entity.CgXgfRes", b =>
  883. {
  884. b.HasOne("DW5S.Entity.CgRes", "CgRes")
  885. .WithMany()
  886. .HasForeignKey("CgResID")
  887. .OnDelete(DeleteBehavior.Cascade)
  888. .IsRequired()
  889. .HasConstraintName("FK_CGXGFRES_CGRES_CGRESID");
  890. b.Navigation("CgRes");
  891. });
  892. modelBuilder.Entity("DW5S.Entity.PosRes", b =>
  893. {
  894. b.HasOne("DW5S.Entity.CgRes", "CgRes")
  895. .WithMany()
  896. .HasForeignKey("CgResID")
  897. .OnDelete(DeleteBehavior.Cascade)
  898. .IsRequired()
  899. .HasConstraintName("FK_POSRES_CGRES_CGRESID");
  900. b.HasOne("DW5S.Entity.CheckRes", "CheckRes")
  901. .WithMany()
  902. .HasForeignKey("CheckResID")
  903. .HasConstraintName("FK_POSRES_CHECKRES_CHECKRESID");
  904. b.HasOne("DW5S.Entity.CxRes", "CxRes")
  905. .WithMany()
  906. .HasForeignKey("CxResID")
  907. .HasConstraintName("FK_POSRES_CXRES_CXRESID");
  908. b.HasOne("DW5S.Entity.StationRes", "StationRes")
  909. .WithMany()
  910. .HasForeignKey("StationResID")
  911. .OnDelete(DeleteBehavior.Cascade)
  912. .IsRequired()
  913. .HasConstraintName("FK_POSRES_STATIONRES_STATIONRESID");
  914. b.Navigation("CgRes");
  915. b.Navigation("CheckRes");
  916. b.Navigation("CxRes");
  917. b.Navigation("StationRes");
  918. });
  919. modelBuilder.Entity("DW5S.Entity.SigDelay", b =>
  920. {
  921. b.HasOne("DW5S.Entity.SatInfo", "SatInfo")
  922. .WithMany()
  923. .HasForeignKey("SatInfoId")
  924. .HasConstraintName("FK_SIGDELAY_SATINFO_SATINFOID");
  925. b.HasOne("DW5S.Entity.SigInfo", "SigInfo")
  926. .WithMany()
  927. .HasForeignKey("SigInfoId")
  928. .OnDelete(DeleteBehavior.Cascade)
  929. .IsRequired()
  930. .HasConstraintName("FK_SIGDELAY_SIGINFO_SIGINFOID");
  931. b.Navigation("SatInfo");
  932. b.Navigation("SigInfo");
  933. });
  934. modelBuilder.Entity("DW5S.Entity.TaskSig", b =>
  935. {
  936. b.HasOne("DW5S.Entity.SigInfo", "SigInfo")
  937. .WithMany()
  938. .HasForeignKey("SigInfoID")
  939. .OnDelete(DeleteBehavior.Cascade)
  940. .IsRequired()
  941. .HasConstraintName("FK_TASKSIG_SIGINFO_SIGINFOID");
  942. b.HasOne("DW5S.Entity.TaskInfo", "TaskInfo")
  943. .WithMany()
  944. .HasForeignKey("TaskInfoID")
  945. .OnDelete(DeleteBehavior.Cascade)
  946. .IsRequired()
  947. .HasConstraintName("FK_TASKSIG_TASKINFO_TASKINFOID");
  948. b.Navigation("SigInfo");
  949. b.Navigation("TaskInfo");
  950. });
  951. modelBuilder.Entity("DW5S.Entity.TxInfo", b =>
  952. {
  953. b.HasOne("DW5S.Entity.SatInfo", "SatInfo")
  954. .WithMany()
  955. .HasForeignKey("SatInfoID")
  956. .HasConstraintName("FK_TXINFO_SATINFO_SATINFOID");
  957. b.Navigation("SatInfo");
  958. });
  959. #pragma warning restore 612, 618
  960. }
  961. }
  962. }