| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285 |
- // <auto-generated />
- using System;
- using DW5S.Repostory;
- using Microsoft.EntityFrameworkCore;
- using Microsoft.EntityFrameworkCore.Infrastructure;
- using Microsoft.EntityFrameworkCore.Migrations;
- using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
- using Oracle.EntityFrameworkCore.Metadata;
- #nullable disable
- namespace _04.DW5S.Repostory.Migrations
- {
- [DbContext(typeof(OracleContext))]
- [Migration("20250212045952_Init")]
- partial class Init
- {
- /// <inheritdoc />
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
- #pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "7.0.20")
- .HasAnnotation("Relational:MaxIdentifierLength", 128);
- OracleModelBuilderExtensions.UseIdentityColumns(modelBuilder);
- modelBuilder.Entity("DW5S.Entity.CgRes", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(19)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
- b.Property<int?>("Adja1Code")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ADJA1CODE");
- b.Property<double?>("Adja1Vx")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA1VX");
- b.Property<double?>("Adja1Vy")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA1VY");
- b.Property<double?>("Adja1Vz")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA1VZ");
- b.Property<double?>("Adja1X")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA1X");
- b.Property<DateTime?>("Adja1XlTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("ADJA1XLTIME");
- b.Property<double?>("Adja1Y")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA1Y");
- b.Property<double?>("Adja1Z")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA1Z");
- b.Property<int?>("Adja2Code")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ADJA2CODE");
- b.Property<double?>("Adja2Vx")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA2VX");
- b.Property<double?>("Adja2Vy")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA2VY");
- b.Property<double?>("Adja2Vz")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA2VZ");
- b.Property<double?>("Adja2X")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA2X");
- b.Property<DateTime?>("Adja2XlTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("ADJA2XLTIME");
- b.Property<double?>("Adja2Y")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA2Y");
- b.Property<double?>("Adja2Z")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ADJA2Z");
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<double?>("Dfo1")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DFO1");
- b.Property<double?>("Dfo2")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DFO2");
- b.Property<double?>("DfoCdb")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DFOCDB");
- b.Property<double?>("Dto1")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DTO1");
- b.Property<double?>("Dto2")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DTO2");
- b.Property<double?>("DtoCdb")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DTOCDB");
- b.Property<int?>("FixedStationID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("FIXEDSTATIONID");
- b.Property<int?>("MainCode")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("MAINCODE");
- b.Property<double?>("MainVx")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MAINVX");
- b.Property<double?>("MainVy")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MAINVY");
- b.Property<double?>("MainVz")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MAINVZ");
- b.Property<double?>("MainX")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MAINX");
- b.Property<DateTime?>("MainXlTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("MAINXLTIME");
- b.Property<double?>("MainY")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MAINY");
- b.Property<double?>("MainZ")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MAINZ");
- b.Property<double?>("RefFreqDown")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("REFFREQDOWN");
- b.Property<double?>("RefFreqUp")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("REFFREQUP");
- b.Property<DateTime>("SigTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("SIGTIME");
- b.Property<double?>("Snr1")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SNR1");
- b.Property<double?>("Snr2")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SNR2");
- b.Property<double?>("SnrCdb")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SNRCDB");
- b.Property<long>("StationResID")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("STATIONRESID");
- b.Property<double?>("TarFreqDown")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("TARFREQDOWN");
- b.Property<double?>("TarFreqUp")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("TARFREQUP");
- b.Property<int>("TaskID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TASKID");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.Property<double?>("YbAdja1Dfo")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBADJA1DFO");
- b.Property<double?>("YbAdja1Dto")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBADJA1DTO");
- b.Property<double?>("YbAdja1Snr")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBADJA1SNR");
- b.Property<double?>("YbAdja2Dfo")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBADJA2DFO");
- b.Property<double?>("YbAdja2Dto")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBADJA2DTO");
- b.Property<double?>("YbAdja2Snr")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBADJA2SNR");
- b.Property<double?>("YbMainDfo")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBMAINDFO");
- b.Property<double?>("YbMainDto")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBMAINDTO");
- b.Property<double?>("YbMainSnr")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("YBMAINSNR");
- b.HasKey("Id")
- .HasName("PK_CGRES");
- b.HasIndex("FixedStationID")
- .HasDatabaseName("IX_CGRES_FIXEDSTATIONID");
- b.HasIndex("StationResID")
- .HasDatabaseName("IX_CGRES_STATIONRESID");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_CGRES_UPDATETIME");
- b.ToTable("CgRes");
- });
- modelBuilder.Entity("DW5S.Entity.CgXgfRes", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(19)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
- b.Property<long>("CgResID")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("CGRESID");
- b.Property<int>("CgType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("CGTYPE");
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<double?>("Dfo")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DFO");
- b.Property<double?>("Dto")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DTO");
- b.Property<DateTime>("SigTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("SIGTIME");
- b.Property<double?>("Snr")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SNR");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_CGXGFRES");
- b.HasIndex("CgResID")
- .HasDatabaseName("IX_CGXGFRES_CGRESID");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_CGXGFRES_UPDATETIME");
- b.ToTable("CgXgfRes");
- });
- modelBuilder.Entity("DW5S.Entity.CheckRes", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(19)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<double?>("FfcHz")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("FFCHZ");
- b.Property<string>("FileName")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("FILENAME");
- b.Property<double?>("ModRate")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MODRATE");
- b.Property<string>("ModType")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("MODTYPE");
- b.Property<int?>("PosCheckType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("POSCHECKTYPE");
- b.Property<long?>("SmpCount")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("SMPCOUNT");
- b.Property<long?>("SmpStart")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("SMPSTART");
- b.Property<double?>("Snr")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SNR");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.Property<string>("UserName")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("USERNAME");
- b.HasKey("Id")
- .HasName("PK_CHECKRES");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_CHECKRES_UPDATETIME");
- b.ToTable("CheckRes");
- });
- modelBuilder.Entity("DW5S.Entity.CxRes", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(19)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<double>("Fx")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("FX");
- b.Property<DateTime>("SigTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("SIGTIME");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_CXRES");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_CXRES_UPDATETIME");
- b.ToTable("CxRes");
- });
- modelBuilder.Entity("DW5S.Entity.FixedStation", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<bool>("Enable")
- .HasColumnType("NUMBER(1)")
- .HasColumnName("ENABLE");
- b.Property<long>("FreqUpHz")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("FREQUPHZ");
- b.Property<double>("Lat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("LAT");
- b.Property<double>("Lon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("LON");
- b.Property<double>("SpareField")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SPAREFIELD");
- b.Property<string>("StationName")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("NVARCHAR2(50)")
- .HasColumnName("STATIONNAME");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.Property<double>("Value")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("VALUE");
- b.HasKey("Id")
- .HasName("PK_FIXEDSTATION");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_FIXEDSTATION_UPDATETIME");
- b.ToTable("FIXEDSTATION", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.LogRes", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(19)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<DateTime>("LogTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("LOGTIME");
- b.Property<int>("LogType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("LOGTYPE");
- b.Property<string>("Module")
- .HasColumnType("NVARCHAR2(450)")
- .HasColumnName("MODULE");
- b.Property<string>("Msg")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("MSG");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_LOGRES");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_LOGRES_UPDATETIME");
- b.HasIndex("Module", "LogTime", "LogType")
- .HasDatabaseName("IX_LOGRES_MODULE_LOGTIME_LOGTYPE");
- b.ToTable("LOGRES", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.PosRes", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(19)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
- b.Property<long>("CgResID")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("CGRESID");
- b.Property<long?>("CheckResID")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("CHECKRESID");
- b.Property<int>("Confidence")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("CONFIDENCE");
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<long?>("CxResID")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("CXRESID");
- b.Property<long>("FreqUpHz")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("FREQUPHZ");
- b.Property<double>("MirrLat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MIRRLAT");
- b.Property<double>("MirrLon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("MIRRLON");
- b.Property<double>("PosLat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("POSLAT");
- b.Property<double>("PosLon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("POSLON");
- b.Property<int>("PosResType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("POSRESTYPE");
- b.Property<DateTime>("SigTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("SIGTIME");
- b.Property<long>("StationResID")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("STATIONRESID");
- b.Property<int?>("TargetInfoID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TARGETINFOID");
- b.Property<int>("TargetState")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TARGETSTATE");
- b.Property<int>("TaskInfoID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TASKINFOID");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_POSRES");
- b.HasIndex("CgResID")
- .HasDatabaseName("IX_POSRES_CGRESID");
- b.HasIndex("CheckResID")
- .HasDatabaseName("IX_POSRES_CHECKRESID");
- b.HasIndex("CxResID")
- .HasDatabaseName("IX_POSRES_CXRESID");
- b.HasIndex("StationResID")
- .HasDatabaseName("IX_POSRES_STATIONRESID");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_POSRES_UPDATETIME");
- b.ToTable("PosRes");
- });
- modelBuilder.Entity("DW5S.Entity.SatInfo", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<int>("SatCode")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SATCODE");
- b.Property<double?>("SatLon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SATLON");
- b.Property<string>("SatName")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("SATNAME");
- b.Property<double?>("SatTrans")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SATTRANS");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_SATINFO");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_SATINFO_UPDATETIME");
- b.ToTable("SATINFO", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.SigDelay", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<double>("Delay")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("DELAY");
- b.Property<string>("Sat")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("SAT");
- b.Property<int?>("SatInfoId")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SATINFOID");
- b.Property<int>("SatInfoSatCode")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SATINFOSATCODE");
- b.Property<int>("SigInfoId")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SIGINFOID");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_SIGDELAY");
- b.HasIndex("SatInfoId")
- .HasDatabaseName("IX_SIGDELAY_SATINFOID");
- b.HasIndex("SigInfoId")
- .HasDatabaseName("IX_SIGDELAY_SIGINFOID");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_SIGDELAY_UPDATETIME");
- b.ToTable("SIGDELAY", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.SigInfo", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<double?>("Band")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("BAND");
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<long>("FreqDown")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("FREQDOWN");
- b.Property<long>("FreqUp")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("FREQUP");
- b.Property<int>("SigType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SIGTYPE");
- b.Property<double>("Snr")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SNR");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_SIGINFO");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_SIGINFO_UPDATETIME");
- b.ToTable("SIGINFO", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.StationRes", b =>
- {
- b.Property<long>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(19)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("Id"));
- b.Property<double?>("CdbTxLat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("CDBTXLAT");
- b.Property<double?>("CdbTxLon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("CDBTXLON");
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<double?>("CxLat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("CXLAT");
- b.Property<double?>("CxLon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("CXLON");
- b.Property<double?>("RefLat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("REFLAT");
- b.Property<double?>("RefLon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("REFLON");
- b.Property<double>("SatTxLat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SATTXLAT");
- b.Property<double>("SatTxLon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("SATTXLON");
- b.Property<int>("TaskID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TASKID");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_STATIONRES");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_STATIONRES_UPDATETIME");
- b.ToTable("StationRes");
- });
- modelBuilder.Entity("DW5S.Entity.SysSetings", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<int>("HttpPort")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("HTTPPORT");
- b.Property<int>("MapLayerType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("MAPLAYERTYPE");
- b.Property<int>("MapType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("MAPTYPE");
- b.Property<string>("TimeZoneID")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("TIMEZONEID");
- b.Property<string>("TimeZoneName")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("TIMEZONENAME");
- b.Property<string>("TimeZoneUTC")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("TIMEZONEUTC");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.Property<int>("WmtsSource")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("WMTSSOURCE");
- b.Property<string>("XLDirectory")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("XLDIRECTORY");
- b.Property<double>("ZoneHours")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("ZONEHOURS");
- b.HasKey("Id")
- .HasName("PK_SYSSETINGS");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_SYSSETINGS_UPDATETIME");
- b.ToTable("SysSetings");
- });
- modelBuilder.Entity("DW5S.Entity.TargetInfo", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<string>("TargeColor")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("TARGECOLOR");
- b.Property<string>("TargetName")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("TARGETNAME");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_TARGETINFO");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_TARGETINFO_UPDATETIME");
- b.ToTable("TARGETINFO", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.TaskInfo", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<int?>("Adja1Sat")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ADJA1SAT");
- b.Property<int?>("Adja2Sat")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ADJA2SAT");
- b.Property<string>("CapDir")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("CAPDIR");
- b.Property<string>("CapDirFormat")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("CAPDIRFORMAT");
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<int>("MainSat")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("MAINSAT");
- b.Property<int>("PosType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("POSTYPE");
- b.Property<string>("TaskName")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("TASKNAME");
- b.Property<int>("TaskState")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TASKSTATE");
- b.Property<int>("TaskType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TASKTYPE");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_TASKINFO");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_TASKINFO_UPDATETIME");
- b.ToTable("TASKINFO", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.TaskRunnningInfo", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<long>("FreqUp")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("FREQUP");
- b.Property<DateTime>("LastDoneAdFileTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("LASTDONEADFILETIME");
- b.Property<int>("TaskID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TASKID");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_TASKRUNNNINGINFO");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_TASKRUNNNINGINFO_UPDATETIME");
- b.ToTable("TASKRUNNNINGINFO", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.TaskSig", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<long>("FreqDown")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("FREQDOWN");
- b.Property<long>("FreqUp")
- .HasColumnType("NUMBER(19)")
- .HasColumnName("FREQUP");
- b.Property<int>("SigInfoID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SIGINFOID");
- b.Property<int>("TaskInfoID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TASKINFOID");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_TASKSIG");
- b.HasIndex("SigInfoID")
- .HasDatabaseName("IX_TASKSIG_SIGINFOID");
- b.HasIndex("TaskInfoID")
- .HasDatabaseName("IX_TASKSIG_TASKINFOID");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_TASKSIG_UPDATETIME");
- b.ToTable("TASKSIG", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.TxInfo", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<bool>("Enable")
- .HasColumnType("NUMBER(1)")
- .HasColumnName("ENABLE");
- b.Property<double>("Lat")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("LAT");
- b.Property<double>("Lon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("LON");
- b.Property<string>("Name")
- .IsRequired()
- .HasMaxLength(50)
- .HasColumnType("NVARCHAR2(50)")
- .HasColumnName("NAME");
- b.Property<string>("Remark")
- .HasMaxLength(200)
- .HasColumnType("NVARCHAR2(200)")
- .HasColumnName("REMARK");
- b.Property<int?>("SatInfoID")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SATINFOID");
- b.Property<int>("TxType")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("TXTYPE");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_TXINFO");
- b.HasIndex("SatInfoID")
- .HasDatabaseName("IX_TXINFO_SATINFOID");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_TXINFO_UPDATETIME");
- b.ToTable("TXINFO", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.XlInfo", b =>
- {
- b.Property<int>("Id")
- .ValueGeneratedOnAdd()
- .HasColumnType("NUMBER(10)")
- .HasColumnName("ID");
- OraclePropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
- b.Property<DateTime>("CreateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("CREATETIME");
- b.Property<string>("Line1")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("LINE1");
- b.Property<string>("Line2")
- .HasColumnType("NVARCHAR2(2000)")
- .HasColumnName("LINE2");
- b.Property<double?>("Lon")
- .HasColumnType("BINARY_DOUBLE")
- .HasColumnName("LON");
- b.Property<int>("SatCode")
- .HasColumnType("NUMBER(10)")
- .HasColumnName("SATCODE");
- b.Property<string>("SatName")
- .HasColumnType("NVARCHAR2(450)")
- .HasColumnName("SATNAME");
- b.Property<DateTime>("TimeUTC")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("TIMEUTC");
- b.Property<DateTime>("UpdateTime")
- .HasColumnType("TIMESTAMP(7)")
- .HasColumnName("UPDATETIME");
- b.HasKey("Id")
- .HasName("PK_XLINFO");
- b.HasIndex("UpdateTime")
- .HasDatabaseName("IX_XLINFO_UPDATETIME");
- b.HasIndex("SatName", "TimeUTC", "Lon")
- .HasDatabaseName("IX_XLINFO_SATNAME_TIMEUTC_LON");
- b.ToTable("XLINFO", (string)null);
- });
- modelBuilder.Entity("DW5S.Entity.CgRes", b =>
- {
- b.HasOne("DW5S.Entity.FixedStation", "FixedStation")
- .WithMany()
- .HasForeignKey("FixedStationID")
- .HasConstraintName("FK_CGRES_FIXEDSTATION_FIXEDSTATIONID");
- b.HasOne("DW5S.Entity.StationRes", "StationRes")
- .WithMany()
- .HasForeignKey("StationResID")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired()
- .HasConstraintName("FK_CGRES_STATIONRES_STATIONRESID");
- b.Navigation("FixedStation");
- b.Navigation("StationRes");
- });
- modelBuilder.Entity("DW5S.Entity.CgXgfRes", b =>
- {
- b.HasOne("DW5S.Entity.CgRes", "CgRes")
- .WithMany()
- .HasForeignKey("CgResID")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired()
- .HasConstraintName("FK_CGXGFRES_CGRES_CGRESID");
- b.Navigation("CgRes");
- });
- modelBuilder.Entity("DW5S.Entity.PosRes", b =>
- {
- b.HasOne("DW5S.Entity.CgRes", "CgRes")
- .WithMany()
- .HasForeignKey("CgResID")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired()
- .HasConstraintName("FK_POSRES_CGRES_CGRESID");
- b.HasOne("DW5S.Entity.CheckRes", "CheckRes")
- .WithMany()
- .HasForeignKey("CheckResID")
- .HasConstraintName("FK_POSRES_CHECKRES_CHECKRESID");
- b.HasOne("DW5S.Entity.CxRes", "CxRes")
- .WithMany()
- .HasForeignKey("CxResID")
- .HasConstraintName("FK_POSRES_CXRES_CXRESID");
- b.HasOne("DW5S.Entity.StationRes", "StationRes")
- .WithMany()
- .HasForeignKey("StationResID")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired()
- .HasConstraintName("FK_POSRES_STATIONRES_STATIONRESID");
- b.Navigation("CgRes");
- b.Navigation("CheckRes");
- b.Navigation("CxRes");
- b.Navigation("StationRes");
- });
- modelBuilder.Entity("DW5S.Entity.SigDelay", b =>
- {
- b.HasOne("DW5S.Entity.SatInfo", "SatInfo")
- .WithMany()
- .HasForeignKey("SatInfoId")
- .HasConstraintName("FK_SIGDELAY_SATINFO_SATINFOID");
- b.HasOne("DW5S.Entity.SigInfo", "SigInfo")
- .WithMany()
- .HasForeignKey("SigInfoId")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired()
- .HasConstraintName("FK_SIGDELAY_SIGINFO_SIGINFOID");
- b.Navigation("SatInfo");
- b.Navigation("SigInfo");
- });
- modelBuilder.Entity("DW5S.Entity.TaskSig", b =>
- {
- b.HasOne("DW5S.Entity.SigInfo", "SigInfo")
- .WithMany()
- .HasForeignKey("SigInfoID")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired()
- .HasConstraintName("FK_TASKSIG_SIGINFO_SIGINFOID");
- b.HasOne("DW5S.Entity.TaskInfo", "TaskInfo")
- .WithMany()
- .HasForeignKey("TaskInfoID")
- .OnDelete(DeleteBehavior.Cascade)
- .IsRequired()
- .HasConstraintName("FK_TASKSIG_TASKINFO_TASKINFOID");
- b.Navigation("SigInfo");
- b.Navigation("TaskInfo");
- });
- modelBuilder.Entity("DW5S.Entity.TxInfo", b =>
- {
- b.HasOne("DW5S.Entity.SatInfo", "SatInfo")
- .WithMany()
- .HasForeignKey("SatInfoID")
- .HasConstraintName("FK_TXINFO_SATINFO_SATINFOID");
- b.Navigation("SatInfo");
- });
- #pragma warning restore 612, 618
- }
- }
- }
|