OracleContextModelSnapshot.cs 48 KB

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