Commit a136ce8e by Marat Pavlov

Merge branch '129' into 'master'

129

See merge request !1
parents 46220668 5c6163fb
Showing with 3318 additions and 0 deletions
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DDO_Application", "DDO_Application\DDO_Application.csproj", "{D568A3F5-FA39-4244-8CD8-0B179626F4F8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SocialMinistryDataExchange", "SocialMinistryDataExchange\SocialMinistryDataExchange.csproj", "{4FEEE366-B12B-4582-8C81-DDFE7AC5299B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D568A3F5-FA39-4244-8CD8-0B179626F4F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D568A3F5-FA39-4244-8CD8-0B179626F4F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D568A3F5-FA39-4244-8CD8-0B179626F4F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D568A3F5-FA39-4244-8CD8-0B179626F4F8}.Release|Any CPU.Build.0 = Release|Any CPU
{4FEEE366-B12B-4582-8C81-DDFE7AC5299B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4FEEE366-B12B-4582-8C81-DDFE7AC5299B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4FEEE366-B12B-4582-8C81-DDFE7AC5299B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4FEEE366-B12B-4582-8C81-DDFE7AC5299B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {249CAA4E-FC26-4E8D-AA8B-ED46749BCB95}
EndGlobalSection
EndGlobal
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using DDO_Application.Model;
using System;
using System.Threading.Tasks;
using System.Net;
using ActiveMQ.Artemis.Client.Transactions;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace DDO_Application.Controllers {
[ApiController]
public class apiController : ControllerBase {
private readonly MessageProducer _messageProducer;
private IApiService _apiService;
private string GUID = "e6c77d95-54a7-4645-818b-16fd71322b6e";
public IServiceProvider Services { get; }
public apiController(IServiceProvider services, MessageProducer messageProducer) {
Services = services;
using (var scope = Services.CreateScope()) {
var uploadProcessingService =
scope.ServiceProvider
.GetRequiredService<IApiService>();
_apiService = uploadProcessingService;
}
_messageProducer = messageProducer;
}
[HttpGet]
[Route("[controller]")]
public async Task<ActionResult<apiStatus>> GetStatus() => new apiStatus();
[HttpGet]
[Route("[controller]/lifetime")]
public int GetLifetime() => _apiService.Counter;
[HttpGet]
[Route("[controller]/checkXml")]
public bool CheckXml() {
string xsd = System.IO.File.ReadAllText("xsd/ddo-application-init.xsd");
string xml = System.IO.File.ReadAllText("xsd/ddo-application-request.xml"); //correct xml
//string xml = System.IO.File.ReadAllText("xsd/ddo-application-request-wrong.xml"); //wrong xml
var errors = new List<ValidationResult>();
return XmlValidator.IsValid(xml, xsd, errors);
}
[HttpPost]
[Route("[controller]/sendmsg/{msg}")]
public async Task<IActionResult> SendMessage(string msg) {
var @event = new TestMessage { businessId = "e6c77d95-54a7-4645-818b-16fd71322b6e", Message = msg};
await _messageProducer.PublishAsync(@event);
return StatusCode((int)HttpStatusCode.Created, null);
}
[HttpPost]
[Route("[controller]/sendmsg/smev_init")]
public async Task<IActionResult> SendInitMessage() {
//var @event = new TestMessage { businessId = GUID, Message = @"<?xml version=""1.0"" encoding=""UTF-8""?><xsd:schema xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:tns=""http://epgu.gosuslugi.ru/concentrator/kindergarten/3.2.1"" targetNamespace=""http://epgu.gosuslugi.ru/concentrator/kindergarten/3.2.1"" elementFormDefault=""qualified"" attributeFormDefault=""unqualified""></xsd:schema>" };
//var @event = @"<?xml version=""1.0"" encoding=""utf-8""?>
// <ns:FormData oktmo=""00000000000"" xmlns: ns=""http://epgu.gosuslugi.ru/concentrator/kindergarten/3.2.1"">
// <ns:ApplicationRequest>
// <ns:TestData>Blah-Blah</ns:TestData>
// </ns:ApplicationRequest>
// </ns:FormData>";
var @event = "Hello, bliya!";
await _messageProducer.PublishAsync(@event);
return StatusCode((int)HttpStatusCode.Created, null);
}
}
public class apiStatus {
public string name { get; set; } = "DDO_Application";
public string version { get; set; } = "0.0.0.1";
public string staus { get; set; } = "Ok";
}
}
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ArtemisNetClient.Extensions.DependencyInjection" Version="2.6.0" />
<PackageReference Include="ArtemisNetClient.Extensions.Hosting" Version="2.6.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3" />
</ItemGroup>
</Project>
using ActiveMQ.Artemis.Client;
using ActiveMQ.Artemis.Client.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace DDO_Application.Model {
public static class ActiveMqExtensions {
//public static IActiveMqBuilder AddTypedConsumer<TMessage, TConsumer>(this IActiveMqBuilder builder, RoutingType routingType) where TConsumer : class, ITypedConsumer<TMessage> {
public static IActiveMqBuilder AddTypedConsumer<TMessage, TConsumer>(this IActiveMqBuilder builder, string address, RoutingType routingType) where TConsumer : class, ITypedConsumer<TMessage> {
builder.Services.TryAddScoped<TConsumer>();
//builder.AddConsumer(typeof(TMessage).Name, routingType, HandleCustomerMessage<TMessage, TConsumer>);
builder.AddConsumer(address, routingType, HandleCustomerMessage<TMessage, TConsumer>);
return builder;
}
private static async Task HandleCustomerMessage<TMessage, TConsumer>(Message message, IConsumer consumer, IServiceProvider serviceProvider, CancellationToken token) where TConsumer : class, ITypedConsumer<TMessage> {
var msg = JsonSerializer.Deserialize<TMessage>(message.GetBody<string>());
using var scope = serviceProvider.CreateScope();
var typedConsumer = scope.ServiceProvider.GetService<TConsumer>();
await typedConsumer.ConsumeAsync(msg, token);
await consumer.AcceptAsync(message);
}
}
}
\ No newline at end of file
using Microsoft.Extensions.Hosting;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace DDO_Application.Model {
public interface IApiService{
public int Counter { get; }
Task DoWork(CancellationToken stoppingToken);
}
}
using System.Threading;
using System.Threading.Tasks;
namespace DDO_Application.Model {
public interface ITypedConsumer<in T> {
public Task ConsumeAsync(T message, CancellationToken cancellationToken);
}
}
\ No newline at end of file
using System;
using System.Threading;
using System.Threading.Tasks;
namespace DDO_Application.Model {
public class TestMessageCunsomer : ITypedConsumer<TestMessage> {
public TestMessageCunsomer() {
}
public async Task ConsumeAsync(TestMessage message, CancellationToken cancellationToken) {
// тут логика
Console.WriteLine(message);
}
}
public class StringMessageCunsomer : ITypedConsumer<String> {
public StringMessageCunsomer() {
}
public async Task ConsumeAsync(String message, CancellationToken cancellationToken) {
// тут логика
Console.WriteLine(message);
}
}
}
using ActiveMQ.Artemis.Client;
using Microsoft.Extensions.Configuration;
using System;
using System.Text.Json;
using System.Threading.Tasks;
namespace DDO_Application.Model {
public class MessageProducer {
private readonly IProducer _producer;
public MessageProducer(IProducer producer) {
_producer = producer;
}
public async Task PublishAsync<T>(T message) {
var serialized = JsonSerializer.Serialize(message);
var msg = new Message(serialized) {
//businessId = "e6c77d95-54a7-4645-818b-16fd71322b6e"
};
try {
await _producer.SendAsync(msg);
}
catch (Exception ex) {
}
}
}
}
\ No newline at end of file
namespace DDO_Application.Model {
public class TestMessage {
public string businessId { get; set; }
public string Message { get; set; }
}
}
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.IO;
using System.Xml;
using System.Xml.Schema;
namespace DDO_Application.Model {
public class XmlValidator {
public static bool IsValid(string xml, string xsd, List<ValidationResult> errors) {
XmlReaderSettings xmlReaderSettings = new XmlReaderSettings();
xmlReaderSettings.Schemas.Add(null, XmlReader.Create(new StringReader(xsd)));
xmlReaderSettings.ValidationType = ValidationType.Schema;
XmlReader reader = XmlReader.Create(new StringReader(xml), xmlReaderSettings);
XmlDocument xmlDocument = new XmlDocument();
try {
xmlDocument.Load(reader);
}
catch (XmlSchemaValidationException ex) {
errors?.Add(new ValidationResult(ex.Message));
return false;
}
return true;
}
}
}
using ActiveMQ.Artemis.Client;
namespace DDO_Application.Model {
public class configActiveMQ {
public string Host { get; set; }
public int Port { get; set; }
public string User { get; set; }
public string Pass { get; set; }
public Endpoint Endpoint => Endpoint.Create(Host, Port, User, Pass);
}
public class configTestQueues {
public string In { get; set; }
public string Out { get; set; }
}
}
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DDO_Application {
public class Program {
public static void Main(string[] args) {
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder => {
webBuilder.UseStartup<Startup>();
});
}
}
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:41712",
"sslPort": 44362
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "swagger",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"DDO_Application": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "swagger",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"dotnetRunMessages": "true"
},
"WSL": {
"commandName": "WSL2",
"launchBrowser": true,
"launchUrl": "https://localhost:5001/swagger",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "https://localhost:5001;http://localhost:5000"
},
"distributionName": ""
}
}
}
\ No newline at end of file
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using DDO_Application.Model;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace DDO_Application.Services {
public class ApiHostedService : BackgroundService {
public IServiceProvider Services { get; }
public ApiHostedService(IServiceProvider services) {
Services = services;
}
private async Task DoWork(CancellationToken stoppingToken) {
using (var scope = Services.CreateScope()) {
var uploadProcessingService = scope.ServiceProvider.GetRequiredService<IApiService>();
await uploadProcessingService.DoWork(stoppingToken);
}
}
protected override async Task ExecuteAsync(CancellationToken stoppingToken) {
await DoWork(stoppingToken);
}
public override async Task StopAsync(CancellationToken stoppingToken) {
await base.StopAsync(stoppingToken);
}
}
}
using DDO_Application.Model;
using System.Threading;
using System.Threading.Tasks;
namespace DDO_Application.Services {
public class ApiProcessingService : IApiService {
private int _counter = 0;
public int Counter { get => _counter; }
public ApiProcessingService() {
}
public async Task DoWork(CancellationToken stoppingToken) {
while (!stoppingToken.IsCancellationRequested) {
_counter++;
//что то тут опрашивается... куда то там добавляется....
await Task.Delay(10000, stoppingToken);
}
}
}
}
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
using DDO_Application.Model;
using DDO_Application.Services;
using ActiveMQ.Artemis.Client.Extensions.DependencyInjection;
using ActiveMQ.Artemis.Client;
using ActiveMQ.Artemis.Client.Extensions.Hosting;
using System;
namespace DDO_Application {
public class Startup {
public Startup(IConfiguration configuration) {
Configuration = configuration;
}
public IConfiguration Configuration { get; }
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services) {
var ActiveMQ = Configuration.GetSection("ActiveMQ").Get<configActiveMQ>().Endpoint;
var msgQueues = Configuration.GetSection("TestQueues").Get<configTestQueues>();
string queue2 = "CONTINGENT.APPLICATION_INC";
//string queue2 = "GMU.APPLICATION_INC";
string queue3 = "CONTINGENT.MV.REQ";
string queue4 = "CONTINGENT.MV.RESP";
string GUID = "e6c77d95-54a7-4645-818b-16fd71322b6e";
services.AddControllers();
services.AddSwaggerGen(c => {c.SwaggerDoc("v1", new OpenApiInfo { Title = "DDO_Application", Version = "v1" }); });
services.AddHostedService<ApiHostedService>();
services.AddSingleton<IApiService, ApiProcessingService>();
// turn enable ActiveMQ support in project
try {
services.AddActiveMq("ddoApp-cluster", new[] { Endpoint.Create(host: "172.17.100.121", port: 61616, "contingent", "RjQ66VWS") })
//services.AddActiveMq("ddoApp-cluster", new[] { Endpoint.Create(host: "192.168.2.19", port: 5672, "guest", "guest") })
//services.AddActiveMq("ddoApp-cluster", new[] { Endpoint.Create(host: "192.168.2.22", port: 5672, "admin", "admin") })
//services.AddActiveMq("ddoApp-cluster", new[] { ActiveMQ })
.AddProducer<MessageProducer>(queue2, RoutingType.Anycast)
.AddTypedConsumer<TestMessage, TestMessageCunsomer>(queue2, RoutingType.Anycast)
.AddTypedConsumer<String, StringMessageCunsomer>(queue2, RoutingType.Anycast);
//.AddProducer<MessageProducer>(msgQueues.Out, RoutingType.Multicast)
//.AddTypedConsumer<TestMessage, TestMessageCunsomer>(msgQueues.In, RoutingType.Multicast);
services.AddActiveMqHostedService();
}
catch (Exception ex) {
}
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env) {
if (env.IsDevelopment()) {
app.UseDeveloperExceptionPage();
app.UseSwagger();
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "DDO_Application v1"));
}
app.UseHttpsRedirection();
app.UseRouting();
app.UseAuthorization();
app.UseEndpoints(endpoints => {
endpoints.MapControllers();
});
}
}
}
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}
{
"ActiveMQ": {
"Host": "192.168.2.22",
"Port": 5672,
"User": "admin",
"Pass": "admin"
},
"TestQueues": {
"In": "TestMessage",
"Out": "TestMessage"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}
<?xml version="1.0" encoding="utf-8"?>
<ns:FormData oktmo="00000000000" xmlns:ns="http://epgu.gosuslugi.ru/concentrator/kindergarten/3.2.1">
<ns:ApplicationRequest>
<ns:orderId>12345678</ns:orderId>
<ns:ServicesType>-10002202019</ns:ServicesType>
<ns:OldFilingDate>2020-10-15T09:30:10+03:00</ns:FilingDate>
<ns:NewPersonInfo>
<ns:PersonSurname>Èâàíîâà</ns:PersonSurname>
<ns:PersonName>Åëåíà</ns:PersonName>
<ns:PersonMiddleName>Âèêòîðîâíà</ns:PersonMiddleName>
<ns:PersonPhone>+7(123)1234567</ns:PersonPhone>
<ns:PersonEmail>test@test.ru</ns:PersonEmail>
<ns:Parents>true</ns:Parents>
</ns:NewPersonInfo>
<ns:PersonIdentityDocInfo>
<ns:IdentityDocName code="1">Ïàñïîðò ãðàæäàíèíà ÐÔ</ns:IdentityDocName>
<ns:IdentityDocSeries>6004</ns:IdentityDocSeries>
<ns:IdentityDocNumber>586830</ns:IdentityDocNumber>
<ns:IdentityDocIssueDate>2007-09-10</ns:IdentityDocIssueDate>
<ns:IdentityDocIssueCode>000009</ns:IdentityDocIssueCode>
<ns:IdentityDocIssued>Îòäåëåíèåì ÓÔÌÑ Ðîññèè</ns:IdentityDocIssued>
</ns:PersonIdentityDocInfo>
<ns:ChildInfo>
<ns:ChildSurname>Èâàíîâ</ns:ChildSurname>
<ns:ChildName>Âàñèëèé</ns:ChildName>
<ns:ChildMiddleName>Àëåêñàíäðîâè÷</ns:ChildMiddleName>
<ns:ChildBirthDate>2016-02-02</ns:ChildBirthDate>
<ns:ChildBirthDocRF>
<ns:ChildBirthDocSeries>VII-ËÄ</ns:ChildBirthDocSeries>
<ns:ChildBirthDocNumber>132564</ns:ChildBirthDocNumber>
<ns:ChildBirthDocIssueDate>2016-02-02</ns:ChildBirthDocIssueDate>
<ns:ChildBirthDocActNumber>13245</ns:ChildBirthDocActNumber>
<ns:ChildBirthDocActDate>2016-02-02</ns:ChildBirthDocActDate>
<ns:ChildBirthDocIssued>ÇÀÃÑ ðàéîíà ¹5</ns:ChildBirthDocIssued>
</ns:ChildBirthDocRF>
</ns:ChildInfo>
<ns:Address>
<ns:FullAddress>121351, Ìîñêâà ã., Áîáðóéñêàÿ óë., 4 ä., 2 êîðï.</ns:FullAddress>
<ns:Index>121351</ns:Index>
<ns:Region code="0c5b2444-70a0-4932-980c57b4dc0d3f02b5">ã. Ìîñêâà</ns:Region>
<ns:Area code=""></ns:Area>
<ns:City code=""></ns:City>
<ns:CityArea code=""></ns:CityArea>
<ns:Place code=""></ns:Place>
<ns:Street code="585eec0b-314c-4309-a497-3fe09300e903">óë. Áîáðóéñêàÿ</ns:Street>
<ns:AdditionalArea code=""></ns:AdditionalArea>
<ns:AdditionalStreet code=""></ns:AdditionalStreet>
<ns:House code="5956b056-0d23-4f59-9c52-f561968bdda0">4</ns:House>
<ns:Building1>2</ns:Building1>
<ns:Building2></ns:Building2>
<ns:Apartment>23</ns:Apartment>
</ns:Address>
<ns:EntryParams>
<ns:EntryDate>2018-09-01</ns:EntryDate>
<ns:Language code="1">Ðóññêèé</ns:Language>
<ns:Schedule code="2">Êðàòêîâðåìåííûé ðåæèì ïðåáûâàíèÿ (äî 5 ÷àñîâ)</ns:Schedule>
<ns:AgreementOnFullDayGroup>true</ns:AgreementOnFullDayGroup>
</ns:EntryParams>
<ns:AdaptationProgram>
<ns:AdaptationGroup code="2">Êîìïåíñèðóþùàÿ</ns:AdaptationGroup>
<ns:AdaptationGroupType code="4">Äëÿ ñëàáîâèäÿùèõ äåòåé</ns:AdaptationGroupType>
<ns:AgreementOnGeneralGroup>true</ns:AgreementOnGeneralGroup>
<ns:AgreementOnCareGroup>true</ns:AgreementOnCareGroup>
</ns:AdaptationProgram>
<ns:MedicalReport>
<ns:DocName code="1">Çàêëþ÷åíèå</ns:DocName>
<ns:DocSeries>À1</ns:DocSeries>
<ns:DocNumber>1122</ns:DocNumber>
<ns:DocIssueDate>2018-09-01</ns:DocIssueDate>
<ns:DocIssued>Öåíòðàëüíàÿ ÏÌÏÌÊ</ns:DocIssued>
<ns:DocFile>
<ns:CodeDocument>MedicalFile</ns:CodeDocument>
<ns:NameDocument>Çàêëþ÷åíèå.pdf</ns:NameDocument>
<ns:TypeDocument>application/pdf</ns:TypeDocument>
</ns:DocFile>
<ns:DocFile>
<ns:CodeDocument>MedicalSignature</ns:CodeDocument>
<ns:NameDocument>Çàêëþ÷åíèå.pdf.sig</ns:NameDocument>
<ns:TypeDocument>application/x-pkcs7-signature</ns:TypeDocument>
</ns:DocFile>
</ns:MedicalReport>
<ns:EduOrganizations>
<ns:EduOrganization code="215" PriorityNumber="1">Âàñèë¸ê</ns:EduOrganization>
<ns:EduOrganization code="219" PriorityNumber="2">Ñîëíûøêî</ns:EduOrganization>
<ns:EduOrganization code="221" PriorityNumber="3">Ðîìàøêà</ns:EduOrganization>
<ns:AllowOfferOther>true</ns:AllowOfferOther>
</ns:EduOrganizations>
<ns:BrotherSisterInfo>
<ns:ChildSurname>Èâàíîâ</ns:ChildSurname>
<ns:ChildName>Ïåòð</ns:ChildName>
<ns:ChildMiddleName>Àëåêñàíäðîâè÷</ns:ChildMiddleName>
<ns:EduOrganization code="215">Âàñèë¸ê</ns:EduOrganization>
</ns:BrotherSisterInfo>
<ns:BenefitInfo>
<ns:BenefitCategory code="9"> Äåòè âîåííîñëóæàùèõ, ïðîõîäÿùèõ âîåííóþ ñëóæáó ïî êîíòðàêòó </ns:BenefitCategory>
<ns:BenefitDocInfo>
<ns:DocIssueDate>2018-03-02</ns:DocIssueDate>
<ns:DocIssued>Ñïðàâêà ñ ðàáîòû</ns:DocIssued>
</ns:BenefitDocInfo>
<ns:BenefitFile>
<ns:CodeDocument>BenefitFile</ns:CodeDocument>
<ns:NameDocument>Ñïðàâêà.pdf</ns:NameDocument>
<ns:TypeDocument>application/pdf</ns:TypeDocument>
</ns:BenefitFile>
<ns:BenefitFile>
<ns:CodeDocument>BenefitSignature</ns:CodeDocument>
<ns:NameDocument>Ñïðàâêà.pdf.sig</ns:NameDocument>
<ns:TypeDocument>application/x-pkcs7-signature</ns:TypeDocument>
</ns:BenefitFile>
</ns:BenefitInfo>
</ns:ApplicationRequest>
</ns:FormData>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<ns:FormData oktmo="00000000000" xmlns:ns="http://epgu.gosuslugi.ru/concentrator/kindergarten/3.2.1">
<ns:ApplicationRequest>
<ns:orderId>12345678</ns:orderId>
<ns:ServicesType>-10002202019</ns:ServicesType>
<ns:FilingDate>2020-10-15T09:30:10+03:00</ns:FilingDate>
<ns:PersonInfo>
<ns:PersonSurname>Èâàíîâà</ns:PersonSurname>
<ns:PersonName>Åëåíà</ns:PersonName>
<ns:PersonMiddleName>Âèêòîðîâíà</ns:PersonMiddleName>
<ns:PersonPhone>+7(123)1234567</ns:PersonPhone>
<ns:PersonEmail>test@test.ru</ns:PersonEmail>
<ns:Parents>true</ns:Parents>
</ns:PersonInfo>
<ns:PersonIdentityDocInfo>
<ns:IdentityDocName code="1">Ïàñïîðò ãðàæäàíèíà ÐÔ</ns:IdentityDocName>
<ns:IdentityDocSeries>6004</ns:IdentityDocSeries>
<ns:IdentityDocNumber>586830</ns:IdentityDocNumber>
<ns:IdentityDocIssueDate>2007-09-10</ns:IdentityDocIssueDate>
<ns:IdentityDocIssueCode>000009</ns:IdentityDocIssueCode>
<ns:IdentityDocIssued>Îòäåëåíèåì ÓÔÌÑ Ðîññèè</ns:IdentityDocIssued>
</ns:PersonIdentityDocInfo>
<ns:ChildInfo>
<ns:ChildSurname>Èâàíîâ</ns:ChildSurname>
<ns:ChildName>Âàñèëèé</ns:ChildName>
<ns:ChildMiddleName>Àëåêñàíäðîâè÷</ns:ChildMiddleName>
<ns:ChildBirthDate>2016-02-02</ns:ChildBirthDate>
<ns:ChildBirthDocRF>
<ns:ChildBirthDocSeries>VII-ËÄ</ns:ChildBirthDocSeries>
<ns:ChildBirthDocNumber>132564</ns:ChildBirthDocNumber>
<ns:ChildBirthDocIssueDate>2016-02-02</ns:ChildBirthDocIssueDate>
<ns:ChildBirthDocActNumber>13245</ns:ChildBirthDocActNumber>
<ns:ChildBirthDocActDate>2016-02-02</ns:ChildBirthDocActDate>
<ns:ChildBirthDocIssued>ÇÀÃÑ ðàéîíà ¹5</ns:ChildBirthDocIssued>
</ns:ChildBirthDocRF>
</ns:ChildInfo>
<ns:Address>
<ns:FullAddress>121351, Ìîñêâà ã., Áîáðóéñêàÿ óë., 4 ä., 2 êîðï.</ns:FullAddress>
<ns:Index>121351</ns:Index>
<ns:Region code="0c5b2444-70a0-4932-980c57b4dc0d3f02b5">ã. Ìîñêâà</ns:Region>
<ns:Area code=""></ns:Area>
<ns:City code=""></ns:City>
<ns:CityArea code=""></ns:CityArea>
<ns:Place code=""></ns:Place>
<ns:Street code="585eec0b-314c-4309-a497-3fe09300e903">óë. Áîáðóéñêàÿ</ns:Street>
<ns:AdditionalArea code=""></ns:AdditionalArea>
<ns:AdditionalStreet code=""></ns:AdditionalStreet>
<ns:House code="5956b056-0d23-4f59-9c52-f561968bdda0">4</ns:House>
<ns:Building1>2</ns:Building1>
<ns:Building2></ns:Building2>
<ns:Apartment>23</ns:Apartment>
</ns:Address>
<ns:EntryParams>
<ns:EntryDate>2018-09-01</ns:EntryDate>
<ns:Language code="1">Ðóññêèé</ns:Language>
<ns:Schedule code="2">Êðàòêîâðåìåííûé ðåæèì ïðåáûâàíèÿ (äî 5 ÷àñîâ)</ns:Schedule>
<ns:AgreementOnFullDayGroup>true</ns:AgreementOnFullDayGroup>
</ns:EntryParams>
<ns:AdaptationProgram>
<ns:AdaptationGroup code="2">Êîìïåíñèðóþùàÿ</ns:AdaptationGroup>
<ns:AdaptationGroupType code="4">Äëÿ ñëàáîâèäÿùèõ äåòåé</ns:AdaptationGroupType>
<ns:AgreementOnGeneralGroup>true</ns:AgreementOnGeneralGroup>
<ns:AgreementOnCareGroup>true</ns:AgreementOnCareGroup>
</ns:AdaptationProgram>
<ns:MedicalReport>
<ns:DocName code="1">Çàêëþ÷åíèå</ns:DocName>
<ns:DocSeries>À1</ns:DocSeries>
<ns:DocNumber>1122</ns:DocNumber>
<ns:DocIssueDate>2018-09-01</ns:DocIssueDate>
<ns:DocIssued>Öåíòðàëüíàÿ ÏÌÏÌÊ</ns:DocIssued>
<ns:DocFile>
<ns:CodeDocument>MedicalFile</ns:CodeDocument>
<ns:NameDocument>Çàêëþ÷åíèå.pdf</ns:NameDocument>
<ns:TypeDocument>application/pdf</ns:TypeDocument>
</ns:DocFile>
<ns:DocFile>
<ns:CodeDocument>MedicalSignature</ns:CodeDocument>
<ns:NameDocument>Çàêëþ÷åíèå.pdf.sig</ns:NameDocument>
<ns:TypeDocument>application/x-pkcs7-signature</ns:TypeDocument>
</ns:DocFile>
</ns:MedicalReport>
<ns:EduOrganizations>
<ns:EduOrganization code="215" PriorityNumber="1">Âàñèë¸ê</ns:EduOrganization>
<ns:EduOrganization code="219" PriorityNumber="2">Ñîëíûøêî</ns:EduOrganization>
<ns:EduOrganization code="221" PriorityNumber="3">Ðîìàøêà</ns:EduOrganization>
<ns:AllowOfferOther>true</ns:AllowOfferOther>
</ns:EduOrganizations>
<ns:BrotherSisterInfo>
<ns:ChildSurname>Èâàíîâ</ns:ChildSurname>
<ns:ChildName>Ïåòð</ns:ChildName>
<ns:ChildMiddleName>Àëåêñàíäðîâè÷</ns:ChildMiddleName>
<ns:EduOrganization code="215">Âàñèë¸ê</ns:EduOrganization>
</ns:BrotherSisterInfo>
<ns:BenefitInfo>
<ns:BenefitCategory code="9"> Äåòè âîåííîñëóæàùèõ, ïðîõîäÿùèõ âîåííóþ ñëóæáó ïî êîíòðàêòó </ns:BenefitCategory>
<ns:BenefitDocInfo>
<ns:DocIssueDate>2018-03-02</ns:DocIssueDate>
<ns:DocIssued>Ñïðàâêà ñ ðàáîòû</ns:DocIssued>
</ns:BenefitDocInfo>
<ns:BenefitFile>
<ns:CodeDocument>BenefitFile</ns:CodeDocument>
<ns:NameDocument>Ñïðàâêà.pdf</ns:NameDocument>
<ns:TypeDocument>application/pdf</ns:TypeDocument>
</ns:BenefitFile>
<ns:BenefitFile>
<ns:CodeDocument>BenefitSignature</ns:CodeDocument>
<ns:NameDocument>Ñïðàâêà.pdf.sig</ns:NameDocument>
<ns:TypeDocument>application/x-pkcs7-signature</ns:TypeDocument>
</ns:BenefitFile>
</ns:BenefitInfo>
</ns:ApplicationRequest>
</ns:FormData>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<ns:FormData oktmo="00000000001" xmlns:ns="http://epgu.gosuslugi.ru/concentrator/kindergarten/3.1.0">
<ns:ApplicationRequest>
<ns:orderId>12345678</ns:orderId>
<ns:ServicesType>-10002202018</ns:ServicesType>
<ns:PersonInfo>
<ns:PersonSurname></ns:PersonSurname>
<ns:PersonName></ns:PersonName>
<ns:PersonMiddleName></ns:PersonMiddleName>
<ns:PersonBirthDate>1993-10-20</ns:PersonBirthDate>
<ns:PersonSex>Female</ns:PersonSex>
<ns:PersonSNILS>000-102-103 44</ns:PersonSNILS>
<ns:PersonPhone>+7(123)1234567</ns:PersonPhone>
<ns:PersonEmail>test@test.ru</ns:PersonEmail>
<ns:PersonIdentityDocInfo>
<ns:IdentityDocName code="1"> </ns:IdentityDocName>
<ns:IdentityDocSeries>6004</ns:IdentityDocSeries>
<ns:IdentityDocNumber>586830</ns:IdentityDocNumber>
<ns:IdentityDocIssueDate>2007-09-10</ns:IdentityDocIssueDate>
<ns:IdentityDocIssueCode>000009</ns:IdentityDocIssueCode>
<ns:IdentityDocIssued> </ns:IdentityDocIssued>
<ns:Citizenship> </ns:Citizenship>
<ns:BirthCountry> </ns:BirthCountry>
<ns:BirthPlace>. </ns:BirthPlace>
</ns:PersonIdentityDocInfo>
<ns:PersonType code="1"></ns:PersonType>
</ns:PersonInfo>
<ns:ChildInfo>
<ns:ChildSurname></ns:ChildSurname>
<ns:ChildName></ns:ChildName>
<ns:ChildMiddleName></ns:ChildMiddleName>
<ns:ChildSex>Male</ns:ChildSex>
<ns:ChildBirthDate>2016-02-02</ns:ChildBirthDate>
<ns:ChildBirthDocRF>
<ns:ChildBirthDocSeries>VII-</ns:ChildBirthDocSeries>
<ns:ChildBirthDocNumber>132564</ns:ChildBirthDocNumber>
<ns:ChildBirthDocActNumber>13245</ns:ChildBirthDocActNumber>
<ns:ChildBirthDocIssueDate>2016-02-10</ns:ChildBirthDocIssueDate>
<ns:ChildBirthDocIssued> 5</ns:ChildBirthDocIssued>
<ns:ChildBirthPlace>. </ns:ChildBirthPlace>
</ns:ChildBirthDocRF>
</ns:ChildInfo>
<ns:Address>
<ns:FullAddress>121351, ., ., 4 ., 2 .</ns:FullAddress>
<ns:Index>121351</ns:Index>
<ns:Region code="0c5b2444-70a0-4932-980c-b4dc0d3f02b5">. </ns:Region>
<ns:Area code=""></ns:Area>
<ns:City code=""></ns:City>
<ns:CityArea code=""></ns:CityArea>
<ns:Place code=""></ns:Place>
<ns:Street code="585eec0b-314c-4309-a497-3fe09300e903">. </ns:Street>
<ns:AdditionalArea code=""></ns:AdditionalArea>
<ns:AdditionalStreet code=""></ns:AdditionalStreet>
<ns:House code="5956b056-0d23-4f59-9c52-f561968bdda0">4</ns:House>
<ns:Building1>2</ns:Building1>
<ns:Building2></ns:Building2>
<ns:Apartment>23</ns:Apartment>
</ns:Address>
<ns:EduOrganizations>
<ns:EduOrganization code="215" priority="true"></ns:EduOrganization>
<ns:EduOrganization code="219" priority="false"></ns:EduOrganization>
<ns:EduOrganization code="221" priority="false"></ns:EduOrganization>
<ns:AllowOfferOther>true</ns:AllowOfferOther>
</ns:EduOrganizations>
<ns:EntryDate>2018-09-01</ns:EntryDate>
<ns:AdaptationProgram>
<ns:AdaptationGroup code="2"></ns:AdaptationGroup>
<ns:AdaptationGroupType code="21"> </ns:AdaptationGroupType>
<ns:AdaptationDocInfo>
<ns:DocName code="15"> </ns:DocName>
<ns:DocNumber>331</ns:DocNumber>
<ns:DocIssueDate>2017-11-02</ns:DocIssueDate>
<ns:DocIssued></ns:DocIssued>
</ns:AdaptationDocInfo>
<ns:AgreementOnGeneralGroup>true</ns:AgreementOnGeneralGroup>
</ns:AdaptationProgram>
<ns:ScheduleType code="2"> (8-14 )</ns:ScheduleType>
<ns:BenefitsInfo>
<ns:BenefitInfo>
<ns:BenefitCategory code="5"> </ns:BenefitCategory>
<ns:BenefitDocInfo>
<ns:DocName code="16"> </ns:DocName>
<ns:DocIssueDate>2018-03-02</ns:DocIssueDate>
<ns:DocIssued> </ns:DocIssued>
</ns:BenefitDocInfo>
</ns:BenefitInfo>
<ns:BenefitInfo>
<ns:BenefitCategory code="19"> </ns:BenefitCategory>
</ns:BenefitInfo>
</ns:BenefitsInfo>
</ns:ApplicationRequest>
</ns:FormData>
using Microsoft.AspNetCore.Mvc;
using SocialMinistryDataExchange.Model;
using System;
using System.Collections.Generic;
using System.Net;
using System.Text.Json;
using System.Threading.Tasks;
namespace SocialMinistryDataExchange.Controllers {
[ApiController]
public class apiController : ControllerBase {
private readonly ISMRepository _repository;
private readonly MessageProducer _messageProducer;
public apiController(ISMRepository repository, MessageProducer messageProducer) {
_repository = repository;
_messageProducer = messageProducer;
}
//тестовый запрос для симуляции получения XML запроса (берется из файла)
[HttpGet]
[Route("[controller]/putXMLDefenceStatus")]
public async Task<string> PutXMLDefenceStatus() {
var request = System.IO.File.ReadAllText("Model/reference/Request.xml");
var responce = await _repository.PutDefenceStatus(request);
return responce;
}
//тестовый запрос для отправки XML запроса во входящую очередь (типа они отправили)
[HttpGet]
[Route("[controller]/putXMLToActiveMQServer")]
public async Task<IActionResult> PutXMLToAMQ() {
var request = System.IO.File.ReadAllText("Model/reference/Request.xml");
await _messageProducer.PublishAsync(request);
return StatusCode((int)HttpStatusCode.Created, null);
}
[HttpGet]
[Route("[controller]/getFixPerson")]
public async Task<SMPersonDataRequest> GetFixPerson() {
var msg = new SMPersonDataRequest() {
MsgID = "123",
MsgDataTime = DateTime.Now,
MsgData = new SMPersonDataOccupationMessage[] {
new SMPersonDataOccupationMessage() {
Person = new Person() {
rowguid_eais = "223322",
PersonDocument = new PersonDocument(){
PersonDocumentSeria = "V-II",
PersonDocumentNumber = "123456",
PersonDocumentDate = DateTime.Parse("2010-01-01"),
},
PersonFamilyName = "Мкртчян",
PersonName = "Василий",
PersonSurname = "Алибабаевич",
PersonBirthday = DateTime.Parse("2015-01-01"),
PersonSnils = "12345678901",
Territory = "Пермский ГО (г. Пермь)",
},
PersonOccupation = new SMPersonOccupationStatus()
},
new SMPersonDataOccupationMessage() {
Person = new Person() {
rowguid_eais = "223322",
PersonDocument = new PersonDocument(){
PersonDocumentSeria = "V-II",
PersonDocumentNumber = "123456",
PersonDocumentDate = DateTime.Parse("2010-01-01"),
},
PersonFamilyName = "Мкртчя",
PersonName = "Василий",
PersonSurname = "Алибабаевич",
PersonBirthday = DateTime.Parse("2015-01-01"),
},
PersonOccupation = new SMPersonOccupationStatus()
}
}
};
var result = await _repository.GetOcupationByPerson(JsonSerializer.Serialize(msg));
return result;
}
// тестовый запрос с фиксированным документом личности
[HttpGet]
[Route("[controller]/getpersonFixDoc")]
public async Task<List<SMData>> GetPersonFixDoc() {
var msg = new SMPersonDataRequest() {
MsgID = "123",
MsgDataTime = DateTime.Now,
MsgData = new SMPersonDataOccupationMessage[] {
new SMPersonDataOccupationMessage() {
Person = new Person() {
rowguid_eais = "223322",
PersonDocument = new PersonDocument(){
PersonDocumentSeria = "V-II",
PersonDocumentNumber = "123456",
PersonDocumentDate = DateTime.Parse("2010-01-01"),
},
},
PersonOccupation = new SMPersonOccupationStatus()
}
}
};
var result = await _repository.GetPersonByDoc(JsonSerializer.Serialize(msg));
return result;
}
// тестовый запрос для получения json формата для данных о личности (нуждаемость)
[HttpGet]
[Route("[controller]/getSMPersonSocialDefenceDataRequest")]
public async Task<SMPersonSocialDefenceDataRequest> GetSMPersonSocialDefenceDataRequest() {
return new SMPersonSocialDefenceDataRequest();
}
// тестовый запрос для получения json формата для данных о личности (где учится)
[HttpGet]
[Route("[controller]/getSMPersonOccupationDataRequest")]
public async Task<SMPersonDataRequest> GetSMPersonOccupationDataRequest() {
return new SMPersonDataRequest();
}
// запрос по серии/номеру документа личности
//[HttpPost]
[HttpGet]
[Route("[controller]/getpersonByDoc/{Rowguid}/{Seria}/{Number}")]
public async Task<List<SMData>> GetPersonByDoc(string Rowguid, string Seria, string Number) {
var result = await _repository.GetPersonByDoc(JsonSerializer.Serialize(new SMPersonRequest() { rowguid_eais = Rowguid, document_seria = Seria, document_number = Number }));
return result;
}
// запрос статуса нуждаемости по guid личности
//[HttpPost]
[HttpGet]
[Route("[controller]/getpersonDefenceDemandByID/{PersonID}")]
public async Task<SMDefenceDemandResponce> GetPersonDefenceDemandByID(string PersonID) {
var result = await _repository.GetPersonDefenceDemandByID(PersonID);
return result;
}
}
}
using ActiveMQ.Artemis.Client;
using ActiveMQ.Artemis.Client.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using SocialMinistryDataExchange.Model.EscpSD;
using System;
using System.IO;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace SocialMinistryDataExchange.Model {
public static class ActiveMqExtensions {
public static IActiveMqBuilder AddTypedConsumer<TMessage, TConsumer>(this IActiveMqBuilder builder, string address, RoutingType routingType) where TConsumer : class, ITypedConsumer<TMessage> {
builder.Services.TryAddScoped<TConsumer>();
builder.AddConsumer(address, routingType, HandleMessage<TMessage, TConsumer>);
return builder;
}
private static async Task HandleMessage<TMessage, TConsumer>(Message message, IConsumer consumer, IServiceProvider serviceProvider, CancellationToken token) where TConsumer : class, ITypedConsumer<TMessage> {
//var msg = JsonSerializer.Deserialize<TMessage>(message.GetBody<string>());
var msg = (TMessage)Convert.ChangeType(message.GetBody<string>(), typeof(TMessage));
using var scope = serviceProvider.CreateScope();
var typedConsumer = scope.ServiceProvider.GetService<TConsumer>();
await typedConsumer.ConsumeAsync(msg, token);
await consumer.AcceptAsync(message);
}
}
}
\ No newline at end of file
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Addrobg59
{
public Addrobg59()
{
InverseNext = new HashSet<Addrobg59>();
InversePrev = new HashSet<Addrobg59>();
InverseИерархияNavigation = new HashSet<Addrobg59>();
}
public Guid Aoid { get; set; }
public Guid? Aoguid { get; set; }
public int? Actstatus { get; set; }
public int? Currstatus { get; set; }
public int? Aolevel { get; set; }
public string Formalname { get; set; }
public string Code { get; set; }
public string Plaincode { get; set; }
public string Postalcode { get; set; }
public string Centstatus { get; set; }
public string Regioncode { get; set; }
public string Areacode { get; set; }
public string Citycode { get; set; }
public string Placecode { get; set; }
public string Streetcode { get; set; }
public DateTime? Startdate { get; set; }
public DateTime? Enddate { get; set; }
public DateTime? Updatedate { get; set; }
public string Okato { get; set; }
public string Oktmo { get; set; }
public int? Operstatus { get; set; }
public Guid? ParentGuid { get; set; }
public Guid Shortname { get; set; }
public Guid? NextId { get; set; }
public Guid? PrevId { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public Guid? Иерархия { get; set; }
public bool? Актуально { get; set; }
public bool? Homeregion { get; set; }
public string Autocode { get; set; }
public string Ifnsfl { get; set; }
public string Ifnsul { get; set; }
public string Offname { get; set; }
public string Terrifnsfl { get; set; }
public string Terrifnsul { get; set; }
public string Ctarcode { get; set; }
public string Extrcode { get; set; }
public string Sextcode { get; set; }
public int? Livestatus { get; set; }
public Guid? Normdoc { get; set; }
public string Plancode { get; set; }
public string Cadnum { get; set; }
public int? Divtype { get; set; }
public virtual Addrobg59 Next { get; set; }
public virtual Addrobg59 Prev { get; set; }
public virtual Socrbase ShortnameNavigation { get; set; }
public virtual Addrobg59 ИерархияNavigation { get; set; }
public virtual ICollection<Addrobg59> InverseNext { get; set; }
public virtual ICollection<Addrobg59> InversePrev { get; set; }
public virtual ICollection<Addrobg59> InverseИерархияNavigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ApplicationLog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public int? EventId { get; set; }
public int? Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Ecsplog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public int? EventId { get; set; }
public int? Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class GovernorApiLog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public int? EventId { get; set; }
public int? Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class House59
{
public House59()
{
ЗакрепленныйДомs = new HashSet<ЗакрепленныйДом>();
КорпусОрганизацииs = new HashSet<КорпусОрганизации>();
ЛичностьДомРегПоМестуЖительстваФиасNavigations = new HashSet<Личность>();
ЛичностьДомРегПоМестуПребыванияФиасNavigations = new HashSet<Личность>();
ЛичностьДомФактМестаЖительстваФиасNavigations = new HashSet<Личность>();
ОбразовательнаяОрганизацияs = new HashSet<ОбразовательнаяОрганизация>();
}
public Guid HouseGuid { get; set; }
public string HouseNum { get; set; }
public string BuildNum { get; set; }
public string StrucNum { get; set; }
public DateTime? UpdateDate { get; set; }
public string Okato { get; set; }
public string Oktmo { get; set; }
public string PostalCode { get; set; }
public DateTime? EndDate { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public bool? Актуально { get; set; }
public Guid Aoguid { get; set; }
public Guid? Стн { get; set; }
public virtual Addrobg59new Aogu { get; set; }
public virtual Стн СтнNavigation { get; set; }
public virtual ICollection<ЗакрепленныйДом> ЗакрепленныйДомs { get; set; }
public virtual ICollection<КорпусОрганизации> КорпусОрганизацииs { get; set; }
public virtual ICollection<Личность> ЛичностьДомРегПоМестуЖительстваФиасNavigations { get; set; }
public virtual ICollection<Личность> ЛичностьДомРегПоМестуПребыванияФиасNavigations { get; set; }
public virtual ICollection<Личность> ЛичностьДомФактМестаЖительстваФиасNavigations { get; set; }
public virtual ICollection<ОбразовательнаяОрганизация> ОбразовательнаяОрганизацияs { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class IntegrationFriserviceLog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public string EventId { get; set; }
public string Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
public Guid? ObjectKey { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class IntegrationPdoserviceLog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public string EventId { get; set; }
public string Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
public Guid? ObjectKey { get; set; }
public Guid? OrgOrGroupKey { get; set; }
public Guid? ObjectType { get; set; }
public Guid? SystemType { get; set; }
public virtual ТипОбъектаИнтеграции ObjectTypeNavigation { get; set; }
public virtual ВнешняяСистема SystemTypeNavigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class IntegrationServiceLog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public int? EventId { get; set; }
public int? Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
public Guid? ObjectKey { get; set; }
public Guid? ObjectType { get; set; }
public Guid? SystemType { get; set; }
public Guid? OrgOrGroupKey { get; set; }
public virtual ТипОбъектаИнтеграции ObjectTypeNavigation { get; set; }
public virtual ВнешняяСистема SystemTypeNavigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class IntegrationServiceLogArc
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public int? EventId { get; set; }
public int? Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class IsConnectToUv
{
public Guid? Koo { get; set; }
public bool? Connect { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ObjectsHash
{
public Guid ObjectKey { get; set; }
public string ObjectType { get; set; }
public string PreventionMd5hash { get; set; }
public string EposMd5hash { get; set; }
public int Id { get; set; }
public Guid? EposLogKey { get; set; }
public Guid? PreventionLogKey { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ObjectsToPdoHash
{
public Guid ObjectKey { get; set; }
public string ObjectType { get; set; }
public string PdoMd5hash { get; set; }
public int Id { get; set; }
public Guid? PdoLogKey { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Pdolog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public int? EventId { get; set; }
public int? Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class PromedLog
{
public Guid PrimaryKey { get; set; }
public string Category { get; set; }
public int? EventId { get; set; }
public int? Priority { get; set; }
public string Severity { get; set; }
public string Title { get; set; }
public DateTime? Timestamp { get; set; }
public string MachineName { get; set; }
public string AppDomainName { get; set; }
public string ProcessId { get; set; }
public string ProcessName { get; set; }
public string ThreadName { get; set; }
public string Win32ThreadId { get; set; }
public string Message { get; set; }
public string FormattedMessage { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Session
{
public Guid PrimaryKey { get; set; }
public Guid? UserKey { get; set; }
public DateTime? StartedAt { get; set; }
public DateTime? LastAccess { get; set; }
public bool? Closed { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Socrbase
{
public Socrbase()
{
Addrobg59s = new HashSet<Addrobg59>();
}
public Guid PrimaryKey { get; set; }
public string Scname { get; set; }
public string Socrname { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public bool? Актуально { get; set; }
public string Scname2 { get; set; }
public virtual ICollection<Addrobg59> Addrobg59s { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Storm
{
public Storm()
{
Stormfs = new HashSet<Stormf>();
StormlaAttributeM0Navigations = new HashSet<Stormla>();
StormlaViewM0Navigations = new HashSet<Stormla>();
StormloClassM0Navigations = new HashSet<Stormlo>();
StormloOperationM0Navigations = new HashSet<Stormlo>();
StormlvClassM0Navigations = new HashSet<Stormlv>();
StormlvViewM0Navigations = new HashSet<Stormlv>();
Stormps = new HashSet<Stormp>();
}
public Guid PrimaryKey { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public bool IsAttribute { get; set; }
public bool IsOperation { get; set; }
public bool IsView { get; set; }
public bool IsClass { get; set; }
public bool? SharedOper { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual ICollection<Stormf> Stormfs { get; set; }
public virtual ICollection<Stormla> StormlaAttributeM0Navigations { get; set; }
public virtual ICollection<Stormla> StormlaViewM0Navigations { get; set; }
public virtual ICollection<Stormlo> StormloClassM0Navigations { get; set; }
public virtual ICollection<Stormlo> StormloOperationM0Navigations { get; set; }
public virtual ICollection<Stormlv> StormlvClassM0Navigations { get; set; }
public virtual ICollection<Stormlv> StormlvViewM0Navigations { get; set; }
public virtual ICollection<Stormp> Stormps { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormac
{
public Guid PrimaryKey { get; set; }
public string TypeAccess { get; set; }
public Guid? FilterM0 { get; set; }
public Guid PermitionM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Stormf FilterM0Navigation { get; set; }
public virtual Stormp PermitionM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class StormadvLimit
{
public Guid PrimaryKey { get; set; }
public string User { get; set; }
public bool? Published { get; set; }
public string Module { get; set; }
public string Name { get; set; }
public string Value { get; set; }
public int? HotKeyData { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormag
{
public Stormag()
{
StormauEntities = new HashSet<StormauEntity>();
StormiAgentM0Navigations = new HashSet<Stormi>();
StormiUserM0Navigations = new HashSet<Stormi>();
StormlgGroupM0Navigations = new HashSet<Stormlg>();
StormlgUserM0Navigations = new HashSet<Stormlg>();
StormlrAgentM0Navigations = new HashSet<Stormlr>();
StormlrRoleM0Navigations = new HashSet<Stormlr>();
Stormps = new HashSet<Stormp>();
ДолжностьУфхдs = new HashSet<ДолжностьУфхд>();
СодержаниеСтраницыs = new HashSet<СодержаниеСтраницы>();
}
public Guid PrimaryKey { get; set; }
public string Name { get; set; }
public string Login { get; set; }
public string Pwd { get; set; }
public bool IsUser { get; set; }
public bool IsGroup { get; set; }
public bool IsRole { get; set; }
public string ConnString { get; set; }
public bool? Enabled { get; set; }
public string Email { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual ICollection<StormauEntity> StormauEntities { get; set; }
public virtual ICollection<Stormi> StormiAgentM0Navigations { get; set; }
public virtual ICollection<Stormi> StormiUserM0Navigations { get; set; }
public virtual ICollection<Stormlg> StormlgGroupM0Navigations { get; set; }
public virtual ICollection<Stormlg> StormlgUserM0Navigations { get; set; }
public virtual ICollection<Stormlr> StormlrAgentM0Navigations { get; set; }
public virtual ICollection<Stormlr> StormlrRoleM0Navigations { get; set; }
public virtual ICollection<Stormp> Stormps { get; set; }
public virtual ICollection<ДолжностьУфхд> ДолжностьУфхдs { get; set; }
public virtual ICollection<СодержаниеСтраницы> СодержаниеСтраницыs { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class StormauEntity
{
public StormauEntity()
{
StormauFields = new HashSet<StormauField>();
}
public Guid PrimaryKey { get; set; }
public string ObjectPrimaryKey { get; set; }
public DateTime OperationTime { get; set; }
public string OperationType { get; set; }
public string ExecutionResult { get; set; }
public string Source { get; set; }
public string SerializedField { get; set; }
public Guid UserM0 { get; set; }
public Guid ObjectTypeM0 { get; set; }
public virtual StormauObjType ObjectTypeM0Navigation { get; set; }
public virtual Stormag UserM0Navigation { get; set; }
public virtual ICollection<StormauField> StormauFields { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class StormauField
{
public StormauField()
{
InverseMainChangeM0Navigation = new HashSet<StormauField>();
}
public Guid PrimaryKey { get; set; }
public string Field { get; set; }
public string OldValue { get; set; }
public string NewValue { get; set; }
public Guid? MainChangeM0 { get; set; }
public Guid AuditEntityM0 { get; set; }
public virtual StormauEntity AuditEntityM0Navigation { get; set; }
public virtual StormauField MainChangeM0Navigation { get; set; }
public virtual ICollection<StormauField> InverseMainChangeM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class StormauObjType
{
public StormauObjType()
{
StormauEntities = new HashSet<StormauEntity>();
}
public Guid PrimaryKey { get; set; }
public string Name { get; set; }
public virtual ICollection<StormauEntity> StormauEntities { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormf
{
public Stormf()
{
Stormacs = new HashSet<Stormac>();
}
public Guid PrimaryKey { get; set; }
public string FilterText { get; set; }
public string Name { get; set; }
public string FilterTypeNview { get; set; }
public Guid? SubjectM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Storm SubjectM0Navigation { get; set; }
public virtual ICollection<Stormac> Stormacs { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormfilterdetail
{
public Guid PrimaryKey { get; set; }
public string Caption { get; set; }
public string DataObjectView { get; set; }
public string ConnectMasterProp { get; set; }
public string OwnerConnectProp { get; set; }
public Guid FilterSettingM0 { get; set; }
public virtual Stormfiltersetting FilterSettingM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormfilterlookup
{
public Guid PrimaryKey { get; set; }
public string DataObjectType { get; set; }
public string Container { get; set; }
public string ContainerTag { get; set; }
public string FieldsToView { get; set; }
public Guid FilterSettingM0 { get; set; }
public virtual Stormfiltersetting FilterSettingM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormfiltersetting
{
public Stormfiltersetting()
{
Stormfilterdetails = new HashSet<Stormfilterdetail>();
Stormfilterlookups = new HashSet<Stormfilterlookup>();
Stormwebsearches = new HashSet<Stormwebsearch>();
}
public Guid PrimaryKey { get; set; }
public string Name { get; set; }
public string DataObjectView { get; set; }
public virtual ICollection<Stormfilterdetail> Stormfilterdetails { get; set; }
public virtual ICollection<Stormfilterlookup> Stormfilterlookups { get; set; }
public virtual ICollection<Stormwebsearch> Stormwebsearches { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormi
{
public Guid PrimaryKey { get; set; }
public Guid UserM0 { get; set; }
public Guid AgentM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Stormag AgentM0Navigation { get; set; }
public virtual Stormag UserM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormla
{
public Guid PrimaryKey { get; set; }
public Guid ViewM0 { get; set; }
public Guid AttributeM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Storm AttributeM0Navigation { get; set; }
public virtual Storm ViewM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormlg
{
public Guid PrimaryKey { get; set; }
public Guid GroupM0 { get; set; }
public Guid UserM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Stormag GroupM0Navigation { get; set; }
public virtual Stormag UserM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormlo
{
public Guid PrimaryKey { get; set; }
public Guid ClassM0 { get; set; }
public Guid OperationM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Storm ClassM0Navigation { get; set; }
public virtual Storm OperationM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormlr
{
public Guid PrimaryKey { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
public Guid AgentM0 { get; set; }
public Guid RoleM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Stormag AgentM0Navigation { get; set; }
public virtual Stormag RoleM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormlv
{
public Guid PrimaryKey { get; set; }
public Guid ClassM0 { get; set; }
public Guid ViewM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Storm ClassM0Navigation { get; set; }
public virtual Storm ViewM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormnetlockdatum
{
public string LockKey { get; set; }
public string UserName { get; set; }
public DateTime? LockDate { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormp
{
public Stormp()
{
Stormacs = new HashSet<Stormac>();
}
public Guid PrimaryKey { get; set; }
public Guid SubjectM0 { get; set; }
public Guid AgentM0 { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual Stormag AgentM0Navigation { get; set; }
public virtual Storm SubjectM0Navigation { get; set; }
public virtual ICollection<Stormac> Stormacs { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormsetting
{
public Guid PrimaryKey { get; set; }
public string Module { get; set; }
public string Name { get; set; }
public string Value { get; set; }
public string User { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Stormwebsearch
{
public Guid PrimaryKey { get; set; }
public string Name { get; set; }
public int Order { get; set; }
public string PresentView { get; set; }
public string DetailedView { get; set; }
public Guid FilterSettingM0 { get; set; }
public virtual Stormfiltersetting FilterSettingM0Navigation { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class SyncLog
{
public DateTime? Dt { get; set; }
public string Entry { get; set; }
public int Id { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class SyncLogObj
{
public DateTime Dt { get; set; }
public string Object { get; set; }
public Guid Pk { get; set; }
public int Id { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class SyncScript
{
public Guid? PrimaryKey { get; set; }
public string ScriptObject { get; set; }
public string ScriptText { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class SyncSetting
{
public string Object { get; set; }
public string Base { get; set; }
public Guid? PrimaryKey { get; set; }
}
}
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class UserSetting
{
public Guid PrimaryKey { get; set; }
public string AppName { get; set; }
public string UserName { get; set; }
public Guid? UserGuid { get; set; }
public string ModuleName { get; set; }
public Guid? ModuleGuid { get; set; }
public string SettName { get; set; }
public Guid? SettGuid { get; set; }
public DateTime? SettLastAccessTime { get; set; }
public string StrVal { get; set; }
public string TxtVal { get; set; }
public int? IntVal { get; set; }
public bool? BoolVal { get; set; }
public Guid? GuidVal { get; set; }
public decimal? DecimalVal { get; set; }
public DateTime? DateTimeVal { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class АдаптированностьОп
{
public АдаптированностьОп()
{
InverseИерархияNavigation = new HashSet<АдаптированностьОп>();
ПодразделениеОбразовательнойОрганизацииs = new HashSet<ПодразделениеОбразовательнойОрганизации>();
}
public Guid PrimaryKey { get; set; }
public int? Код { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public Guid? Иерархия { get; set; }
public virtual АдаптированностьОп ИерархияNavigation { get; set; }
public virtual ICollection<АдаптированностьОп> InverseИерархияNavigation { get; set; }
public virtual ICollection<ПодразделениеОбразовательнойОрганизации> ПодразделениеОбразовательнойОрганизацииs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class АрхивОрганизации
{
public Guid PrimaryKey { get; set; }
public string Номер { get; set; }
public string Имя { get; set; }
public string КраткоеНаименование { get; set; }
public string ПолноеНаименование { get; set; }
public string НаименованиеДляСписков { get; set; }
public string ТипОргСтруктуры { get; set; }
public string КоличествоСмен { get; set; }
public string Инн { get; set; }
public string Кпп { get; set; }
public string Огрн { get; set; }
public string ГражданствоИп { get; set; }
public string ЮридическийАдресИндекс { get; set; }
public string ЮридическийАдресДом { get; set; }
public string ЮридическийАдресПрописью { get; set; }
public string КодФиасюридический { get; set; }
public string ФизическийАдресИндекс { get; set; }
public string ФизическийАдресДом { get; set; }
public string ФизическийАдресПрописью { get; set; }
public string КодФиасфизический { get; set; }
public string Телефон { get; set; }
public string Факс { get; set; }
public string Email { get; set; }
public string АдресWebСайта { get; set; }
public string Фиоруководителя { get; set; }
public int? ПредельнаяНаполняемость { get; set; }
public string ИсточникДанных { get; set; }
public string ПервичныйКлючИсточника { get; set; }
public string ИсточникДанных2 { get; set; }
public string ПервичныйКлючИсточника2 { get; set; }
public DateTime? ДатаИвремяВыгрузкиДанных { get; set; }
public DateTime? ДатаИвремяАктуальностиДанных { get; set; }
public string ТипОрганизации { get; set; }
public string Окфс { get; set; }
public string Окопф { get; set; }
public string Окогу { get; set; }
public string Оквэд { get; set; }
public string СтатусОрганизации { get; set; }
public string ВидУчредителя { get; set; }
public string Специальность { get; set; }
public string Иерархия { get; set; }
public string Лицензия { get; set; }
public string Аккредитация { get; set; }
public string ТерриторияЮридическогоАдреса { get; set; }
public string УлицаЮридическогоАдреса { get; set; }
public string ТерриторияФизическогоАдреса { get; set; }
public string УлицаФизическогоАдреса { get; set; }
public string Район { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public Guid Организация { get; set; }
public bool? Актуально { get; set; }
public virtual ОбразовательнаяОрганизация ОрганизацияNavigation { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class АссоциацияТерриторий
{
public АссоциацияТерриторий()
{
Территорияs = new HashSet<Территория>();
}
public Guid PrimaryKey { get; set; }
public string Наименование { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<Территория> Территорияs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Ведомство
{
public Ведомство()
{
ОбразовательнаяОрганизацияs = new HashSet<ОбразовательнаяОрганизация>();
}
public Guid PrimaryKey { get; set; }
public string ПолноеНаименование { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ОбразовательнаяОрганизация> ОбразовательнаяОрганизацияs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВедомствоЭпос
{
public ВедомствоЭпос()
{
ОбразовательнаяОрганизацияs = new HashSet<ОбразовательнаяОрганизация>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public string ПолноеНаименование { get; set; }
public string КраткоеНаименование { get; set; }
public string КодЭпос { get; set; }
public string КодЭб { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ОбразовательнаяОрганизация> ОбразовательнаяОрганизацияs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидДанныхДляДашборда
{
public ВидДанныхДляДашборда()
{
ДанныеДляДашбордаs = new HashSet<ДанныеДляДашборда>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ДанныеДляДашборда> ДанныеДляДашбордаs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидДокументаЗаявления
{
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public string ТипЛичности { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидДокументаОбОбразовании
{
public ВидДокументаОбОбразовании()
{
InverseИерархияNavigation = new HashSet<ВидДокументаОбОбразовании>();
ДокументОбОбразованииs = new HashSet<ДокументОбОбразовании>();
}
public Guid PrimaryKey { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public Guid? Иерархия { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual ВидДокументаОбОбразовании ИерархияNavigation { get; set; }
public virtual ICollection<ВидДокументаОбОбразовании> InverseИерархияNavigation { get; set; }
public virtual ICollection<ДокументОбОбразовании> ДокументОбОбразованииs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидЗаявления
{
public ВидЗаявления()
{
ВидСостоянияЗаявленияs = new HashSet<ВидСостоянияЗаявления>();
ПричинаОтказаПоЗаявлениюs = new HashSet<ПричинаОтказаПоЗаявлению>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public DateTime? НачалоПриема { get; set; }
public DateTime? ОкончаниеПриема { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ВидСостоянияЗаявления> ВидСостоянияЗаявленияs { get; set; }
public virtual ICollection<ПричинаОтказаПоЗаявлению> ПричинаОтказаПоЗаявлениюs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидМедицинскогоДокумента
{
public ВидМедицинскогоДокумента()
{
НаправленностьЗаболеванияs = new HashSet<НаправленностьЗаболевания>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<НаправленностьЗаболевания> НаправленностьЗаболеванияs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидОбразовательнойУслуги
{
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидОбученияБольныхДетей
{
public ВидОбученияБольныхДетей()
{
ТекущаяЛичностьПодразделенияs = new HashSet<ТекущаяЛичностьПодразделения>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ТекущаяЛичностьПодразделения> ТекущаяЛичностьПодразделенияs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидОбученияОграниченноЗдоровых
{
public ВидОбученияОграниченноЗдоровых()
{
ТекущаяЛичностьПодразделенияs = new HashSet<ТекущаяЛичностьПодразделения>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ТекущаяЛичностьПодразделения> ТекущаяЛичностьПодразделенияs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидПоказателяУслуги
{
public ВидПоказателяУслуги()
{
ФактическоеЗначениеПоказателяУслугиs = new HashSet<ФактическоеЗначениеПоказателяУслуги>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ФактическоеЗначениеПоказателяУслуги> ФактическоеЗначениеПоказателяУслугиs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидПриказа
{
public ВидПриказа()
{
Приказs = new HashSet<Приказ>();
}
public Guid PrimaryKey { get; set; }
public string Наименование { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public bool? Актуально { get; set; }
public Guid? ТипОрганизации { get; set; }
public string Группа { get; set; }
public string ТематикаПриказа { get; set; }
public virtual ТипОбразовательнойОрганизации ТипОрганизацииNavigation { get; set; }
public virtual ICollection<Приказ> Приказs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидСистемыОценивания
{
public ВидСистемыОценивания()
{
ОценкаУчащегосяs = new HashSet<ОценкаУчащегося>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public string Наименование { get; set; }
public int? Код { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ОценкаУчащегося> ОценкаУчащегосяs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидСмены
{
public ВидСмены()
{
ПодразделениеОбразовательнойОрганизацииs = new HashSet<ПодразделениеОбразовательнойОрганизации>();
}
public Guid PrimaryKey { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public virtual ICollection<ПодразделениеОбразовательнойОрганизации> ПодразделениеОбразовательнойОрганизацииs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидСостоянияЗаявления
{
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public string ШаблонСообщения { get; set; }
public Guid ВидЗаявления { get; set; }
public virtual ВидЗаявления ВидЗаявленияNavigation { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидСпециалистаДоу
{
public ВидСпециалистаДоу()
{
InverseИерархияNavigation = new HashSet<ВидСпециалистаДоу>();
КоличествоСпециалистовДоуs = new HashSet<КоличествоСпециалистовДоу>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public Guid? Иерархия { get; set; }
public virtual ВидСпециалистаДоу ИерархияNavigation { get; set; }
public virtual ICollection<ВидСпециалистаДоу> InverseИерархияNavigation { get; set; }
public virtual ICollection<КоличествоСпециалистовДоу> КоличествоСпециалистовДоуs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидУдостоверяющегоДокумента
{
public ВидУдостоверяющегоДокумента()
{
InverseИерархияNavigation = new HashSet<ВидУдостоверяющегоДокумента>();
ДокументЛичностиs = new HashSet<ДокументЛичности>();
}
public Guid PrimaryKey { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public Guid? Иерархия { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public virtual ВидУдостоверяющегоДокумента ИерархияNavigation { get; set; }
public virtual ICollection<ВидУдостоверяющегоДокумента> InverseИерархияNavigation { get; set; }
public virtual ICollection<ДокументЛичности> ДокументЛичностиs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидУслуги
{
public ВидУслуги()
{
Услугаs = new HashSet<Услуга>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public Guid ТипУслуги { get; set; }
public string КраткоеНаименование { get; set; }
public virtual ТипУслуги ТипУслугиNavigation { get; set; }
public virtual ICollection<Услуга> Услугаs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидУчебногоПериода
{
public ВидУчебногоПериода()
{
ОценкаУчащегосяs = new HashSet<ОценкаУчащегося>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public string Наименование { get; set; }
public int? Код { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<ОценкаУчащегося> ОценкаУчащегосяs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВидУчредителя
{
public ВидУчредителя()
{
ОбразовательнаяОрганизацияs = new HashSet<ОбразовательнаяОрганизация>();
}
public Guid PrimaryKey { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual ICollection<ОбразовательнаяОрганизация> ОбразовательнаяОрганизацияs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВнешняяСистема
{
public ВнешняяСистема()
{
IntegrationPdoserviceLogs = new HashSet<IntegrationPdoserviceLog>();
КлючиВнешнихСистемs = new HashSet<КлючиВнешнихСистем>();
}
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public int? Код { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public virtual ICollection<IntegrationPdoserviceLog> IntegrationPdoserviceLogs { get; set; }
public virtual ICollection<КлючиВнешнихСистем> КлючиВнешнихСистемs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВозрастнаяКатегория
{
public ВозрастнаяКатегория()
{
ПодразделениеОбразовательнойОрганизацииs = new HashSet<ПодразделениеОбразовательнойОрганизации>();
}
public Guid PrimaryKey { get; set; }
public decimal? ВозрастС { get; set; }
public decimal? ВозрастПо { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public int? Код { get; set; }
public virtual ICollection<ПодразделениеОбразовательнойОрганизации> ПодразделениеОбразовательнойОрганизацииs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ВыходныеДни
{
public Guid PrimaryKey { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public string ВерсияДанных { get; set; }
public string Год { get; set; }
public bool? Високосный { get; set; }
public string Январь { get; set; }
public string Февраль { get; set; }
public string Март { get; set; }
public string Апрель { get; set; }
public string Май { get; set; }
public string Июнь { get; set; }
public string Июль { get; set; }
public string Август { get; set; }
public string Сентябрь { get; set; }
public string Октябрь { get; set; }
public string Ноябрь { get; set; }
public string Декабрь { get; set; }
public int? ВсегоРабочихДней { get; set; }
public int? ВсегоПраздИвыхДней { get; set; }
public float? РабЧасовПри40чНеделе { get; set; }
public float? РабЧасовПри36чНеделе { get; set; }
public float? РабЧасовПри24чНеделе { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class Вэдорганизации
{
public Guid PrimaryKey { get; set; }
public Guid Оквэд { get; set; }
public Guid Организация { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public string ФедеральныйGuid { get; set; }
public string НомерПакета { get; set; }
public DateTime? ДатаОтправкиВфс { get; set; }
public bool? Актуально { get; set; }
public virtual Оквэд ОквэдNavigation { get; set; }
public virtual ОбразовательнаяОрганизация ОрганизацияNavigation { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ГруппаЗдоровья
{
public ГруппаЗдоровья()
{
ИсторияЗдоровьяs = new HashSet<ИсторияЗдоровья>();
Личностьs = new HashSet<Личность>();
}
public Guid PrimaryKey { get; set; }
public int? Код { get; set; }
public string ПолноеНаименование { get; set; }
public string Наименование { get; set; }
public bool? Актуально { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public virtual ICollection<ИсторияЗдоровья> ИсторияЗдоровьяs { get; set; }
public virtual ICollection<Личность> Личностьs { get; set; }
}
}
using System;
using System;
using System.Collections.Generic;
#nullable disable
namespace SocialMinistryDataExchange.Model.Contingent.Center
{
public partial class ДанныеДляДашборда
{
public Guid PrimaryKey { get; set; }
public DateTime? Дата { get; set; }
public Guid? КлючОрганизации { get; set; }
public Guid? КлючВышестоящей { get; set; }
public string Наименование { get; set; }
public string Окатоорганизации { get; set; }
public int? КоличествоУчеников { get; set; }
public string Огрн { get; set; }
public string ТипОргСтруктуры { get; set; }
public string Окатотерртории { get; set; }
public decimal? СреднееВремяОжидания { get; set; }
public int? АктуальныйСпрос { get; set; }
public DateTime? CreateTime { get; set; }
public string Creator { get; set; }
public DateTime? EditTime { get; set; }
public string Editor { get; set; }
public Guid ВидДанных { get; set; }
public virtual ВидДанныхДляДашборда ВидДанныхNavigation { get; set; }
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment