yujian
2019-01-22 88b54772dbcf5ecab1e2316e4e4626ac901b8908
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package com.yeshi.fanli.entity.bus.recommend;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
 
@Entity
@Table(name = "yeshi_ec_recommend_section_detail")
public class RecommendSectionDetail {
    
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private long id;
    
    @OneToOne
    @JoinColumn(name="rs_id")
    private RecommendSection recommendSection;
    
    @Column(name="pic_url")
    private String picUrl;
    
    @Column(name="html_code")
    private String htmlCode;
 
    public long getId() {
        return id;
    }
 
    public void setId(long id) {
        this.id = id;
    }
 
    public RecommendSection getRecommendSection() {
        return recommendSection;
    }
 
    public void setRecommendSection(RecommendSection recommendSection) {
        this.recommendSection = recommendSection;
    }
 
    public String getPicUrl() {
        return picUrl;
    }
 
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }
 
    public String getHtmlCode() {
        return htmlCode;
    }
 
    public void setHtmlCode(String htmlCode) {
        this.htmlCode = htmlCode;
    }
    
}