1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        OMapper對象關系映射

        聯(lián)合創(chuàng)作 · 2023-09-28 20:12

        OMapper 提供了一個簡單的庫用來簡化對象/Bean 與其他設計層面的映射,使用 Java 的注解。

        示例代碼:

        /**
         * The Class Bean2.
         */
        @Mappable
        public class Bean2 {
        
                /** The name. */
                @Source(type = org.omapper.test.Bean1.class, property = "name")
                private String name;
                
                /** The address. */
                @Source(type = Bean1.class, property = "address")
                private String address;
                
                /** The age. */
                @Source(type = Bean1.class, property = "age")
                private int age;
                
                /** The emp_id. */
                @Source(type = Bean1.class, property = "emp_id")
                private Integer emp_id;
        
        }
        
        瀏覽 24
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點贊
        評論
        收藏
        分享

        手機掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            暴插国产 | 精品一二 | 国产麻豆视频网站 | 国产成人91一区二区三区APP | 欧美性生活视频播放 | 性欧美freesex顶级少妇 | 色综合色综合网色综合 | 国産精品久久久久久久AV超碰 | 他扒开内裤舌头伸了进去 | 和熟女操逼 |