{"id":16423837,"url":"https://github.com/rocherkong/coremessage","last_synced_at":"2025-02-25T01:42:05.603Z","repository":{"id":88533136,"uuid":"128351122","full_name":"RocherKong/CoreMessage","owner":"RocherKong","description":"Easy Request/Response Message For Http.","archived":false,"fork":false,"pushed_at":"2019-07-05T06:11:14.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T13:48:41.812Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RocherKong.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-06T05:50:24.000Z","updated_at":"2019-07-05T06:11:16.000Z","dependencies_parsed_at":"2023-03-07T03:15:37.208Z","dependency_job_id":null,"html_url":"https://github.com/RocherKong/CoreMessage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocherKong%2FCoreMessage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocherKong%2FCoreMessage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocherKong%2FCoreMessage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RocherKong%2FCoreMessage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RocherKong","download_url":"https://codeload.github.com/RocherKong/CoreMessage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240587519,"owners_count":19825004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T07:41:05.303Z","updated_at":"2025-02-25T01:42:05.580Z","avatar_url":"https://github.com/RocherKong.png","language":"C#","readme":"## CoreMessage\n# Request\n- RequestMessage\n- GetByIdRequest\n- GetByIdRequest\u0026lt;T\u0026gt;\n- IdRequest\n- IdRequest\u0026lt;T\u0026gt;\n- NoneRequest\n- QueryByPageRequest\n\n# Response\n- ResponseMessage\n- QueryResponse\u0026lt;TItem\u0026gt;\n- QueryByPageResponse\n- QueryByPageResponse\u0026lt;TItem\u0026gt;\n- GetByIdResponse\u0026lt;T\u0026gt;\n- ResponseMessageWrap\u0026lt;T\u0026gt;\n\n```c# \n* Use Bara ORM\n[HttpPost]\n public ResponseMessageWrap\u003cGetByPageResponse\u003cB_Book\u003e\u003e Query([FromBody]QueryRequest reqMsg)\n        {\n            var list = baraMapper.Query\u003cB_Book\u003e(new Bara.Core.Context.RequestContext\n            {\n                Request = reqMsg,\n                Scope = \"B_Book\",\n                SqlId = \"QueryListByPage\"\n            });\n\n            var record = baraMapper.ExecuteScalar\u003cint\u003e(new Bara.Core.Context.RequestContext\n            {\n                Request = reqMsg,\n                Scope = \"B_Book\",\n                SqlId = \"GetRecord\"\n            });\n\n            return new ResponseMessageWrap\u003cGetByPageResponse\u003cB_Book\u003e\u003e\n            {\n                Body = new GetByPageResponse\u003cB_Book\u003e\n                {\n                    List = list,\n                    TotalRecord = record\n                }\n            };\n        }\n```\n\n```json\nRequest Parameters\n{\n  \"PageIndex\": 0,\n  \"PageSize\": 0,\n  \"Header\": {\n    \"Operator\": 0,\n    \"IP\": \"string\"\n  }\n}\n\nResponse body\n{\n  \"IsSuccess\": true,\n  \"ErrorCode\": \"00000\",\n  \"Message\": null,\n  \"Body\": {\n    \"TotalRecord\": 0,\n    \"List\": []\n  }\n}\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocherkong%2Fcoremessage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocherkong%2Fcoremessage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocherkong%2Fcoremessage/lists"}