@Entity
public class CmsContentRelated
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private long |
contentId
content id
内容id
|
private @Length(max=300) java.lang.String |
description
description
描述
|
private java.lang.Long |
id
id
|
private java.lang.Long |
relatedContentId
related content id
推进内容id
|
private java.lang.String |
relation
relation
关系
|
private java.lang.String |
relationType
relation type
关系类型
|
private static long |
serialVersionUID |
private int |
sort
sort
排序
|
private @NotBlank @Length(max=255) java.lang.String |
title
title
标题
|
private @Length(max=1000) java.lang.String |
url
url
链接地址
|
private long |
userId
related user id
推进用户id
|
构造器和说明 |
---|
CmsContentRelated() |
CmsContentRelated(long contentId,
long userId,
int sort) |
CmsContentRelated(long contentId,
java.lang.String relationType,
java.lang.String relation,
java.lang.Long relatedContentId,
long userId,
java.lang.String url,
java.lang.String title,
java.lang.String description,
int sort) |
限定符和类型 | 方法和说明 |
---|---|
long |
getContentId() |
java.lang.String |
getDescription() |
java.lang.Long |
getId() |
java.lang.Long |
getRelatedContentId() |
java.lang.String |
getRelation() |
java.lang.String |
getRelationType() |
int |
getSort() |
java.lang.String |
getTitle() |
java.lang.String |
getUrl() |
long |
getUserId() |
void |
setContentId(long contentId) |
void |
setDescription(java.lang.String description) |
void |
setId(java.lang.Long id) |
void |
setRelatedContentId(java.lang.Long relatedContentId) |
void |
setRelation(java.lang.String relation) |
void |
setRelationType(java.lang.String relationType) |
void |
setSort(int sort) |
void |
setTitle(java.lang.String title) |
void |
setUrl(java.lang.String url) |
void |
setUserId(long userId) |
private static final long serialVersionUID
private java.lang.Long id
private long contentId
内容id
private java.lang.String relationType
关系类型
private java.lang.String relation
关系
private java.lang.Long relatedContentId
推进内容id
private long userId
推进用户id
@Length(max=1000) private @Length(max=1000) java.lang.String url
链接地址
@NotBlank @Length(max=255) private @NotBlank @Length(max=255) java.lang.String title
标题
@Length(max=300) private @Length(max=300) java.lang.String description
描述
private int sort
排序
public CmsContentRelated()
public CmsContentRelated(long contentId, long userId, int sort)
public CmsContentRelated(long contentId, java.lang.String relationType, java.lang.String relation, java.lang.Long relatedContentId, long userId, java.lang.String url, java.lang.String title, java.lang.String description, int sort)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public long getContentId()
public void setContentId(long contentId)
public java.lang.String getRelationType()
public void setRelationType(java.lang.String relationType)
public java.lang.String getRelation()
public void setRelation(java.lang.String relation)
public java.lang.Long getRelatedContentId()
public void setRelatedContentId(java.lang.Long relatedContentId)
public long getUserId()
public void setUserId(long userId)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public int getSort()
public void setSort(int sort)