{"id":253,"date":"2024-09-06T11:04:37","date_gmt":"2024-09-06T03:04:37","guid":{"rendered":"https:\/\/blog.jishuge.cn\/?p=253"},"modified":"2024-09-06T11:04:56","modified_gmt":"2024-09-06T03:04:56","slug":"springboot%e5%a4%9a%e6%a8%a1%e5%9d%97%e4%b8%adservice%e6%a8%a1%e5%9d%97%e6%97%a0%e6%b3%95%e5%8a%a0%e8%bd%bdentity%e6%a8%a1%e5%9d%97%e7%a8%8b%e5%ba%8f%e5%8c%85","status":"publish","type":"post","link":"https:\/\/blog.jishuge.cn\/?p=253","title":{"rendered":"SpringBoot\u591a\u6a21\u5757\u4e2dService\u6a21\u5757\u65e0\u6cd5\u52a0\u8f7dEntity\u6a21\u5757\u7a0b\u5e8f\u5305"},"content":{"rendered":"\n<p>Service\u6a21\u5757\u80fd\u591f<strong>\u6b63\u5e38\u8c03\u7528Entity\u6a21\u5757\u65b9\u6cd5<\/strong>\uff0c\u4f46\u662f\u4e00\u5230\u7edf\u4e00\u6253\u5305\u7684\u65f6\u5019\u53d1\u73b0<strong>Entity\u67d0\u4e2a\u7a0b\u5e8f\u5305\u4e0d\u5b58\u5728<\/strong>\u3002<\/p>\n\n\n\n<p>\u8fd9\u79cd\u539f\u56e0\u5bfc\u81f4\u7684\u539f\u56e0\u662fEntity\u672c\u8eab\u4e0d\u80fd\u901a\u8fc7Maven\u6253\u5305\u6210\u53ef\u6267\u884c\u5305\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u53ef\u4ee5\u628aEntity\u6253\u6210\u53ef\u4ee5\u6267\u884c\u7684\u5305\u5c31\u4e0d\u4f1a\u51fa\u73b0\u4e0a\u8ff0\u95ee\u9898\u4e86\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;plugins>\n\t&lt;plugin>\n\t\t&lt;groupId>org.springframework.boot&lt;\/groupId>\n\t\t&lt;artifactId>spring-boot-maven-plugin&lt;\/artifactId>\n\t\t&lt;configuration>\n\t\t\t&lt;mainClass>com.jd.entity.EntityApplication&lt;\/mainClass>\n\t\t\t&lt;classifier>exec&lt;\/classifier>\n\t\t&lt;\/configuration>\n\t&lt;\/plugin>\n&lt;\/plugins><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Service\u6a21\u5757\u80fd\u591f\u6b63\u5e38\u8c03\u7528Entity\u6a21\u5757\u65b9\u6cd5\uff0c\u4f46\u662f\u4e00\u5230\u7edf\u4e00\u6253\u5305\u7684\u65f6\u5019\u53d1\u73b0Entity\u67d0\u4e2a\u7a0b\u5e8f\u5305\u4e0d\u5b58\u5728\u3002  &hellip; <a href=\"https:\/\/blog.jishuge.cn\/?p=253\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">SpringBoot\u591a\u6a21\u5757\u4e2dService\u6a21\u5757\u65e0\u6cd5\u52a0\u8f7dEntity\u6a21\u5757\u7a0b\u5e8f\u5305<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":239,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,1],"tags":[],"class_list":["post-253","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=\/wp\/v2\/posts\/253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=253"}],"version-history":[{"count":2,"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=\/wp\/v2\/posts\/253\/revisions"}],"predecessor-version":[{"id":255,"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=\/wp\/v2\/posts\/253\/revisions\/255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=\/wp\/v2\/media\/239"}],"wp:attachment":[{"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jishuge.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}