类 CmsContentRelated
java.lang.Object
com.publiccms.entities.cms.CmsContentRelated
- 所有已实现的接口:
Serializable
CmsContentRelated
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private long
content id 内容idprivate @Length(max=300) String
description 描述private Long
idprivate Long
related content id 推进内容idprivate String
relation 关系private String
relation type 关系类型private static final long
private int
sort 排序private @NotBlank @Length(max=255) String
title 标题private @Length(max=1000) String
url 链接地址private long
related user id 推进用户id -
构造器概要
构造器构造器说明CmsContentRelated
(long contentId, long userId, int sort) CmsContentRelated
(long contentId, String relationType, String relation, Long relatedContentId, long userId, String url, String title, String description, int sort) -
方法概要
修饰符和类型方法说明long
getId()
int
getSort()
getTitle()
getUrl()
long
void
setContentId
(long contentId) void
setDescription
(String description) void
void
setRelatedContentId
(Long relatedContentId) void
setRelation
(String relation) void
setRelationType
(String relationType) void
setSort
(int sort) void
void
void
setUserId
(long userId)
-
字段详细资料
-
serialVersionUID
private static final long serialVersionUID- 另请参阅:
-
id
id -
contentId
private long contentIdcontent id 内容id -
relationType
relation type 关系类型 -
relation
relation 关系 -
userId
private long userIdrelated user id 推进用户id -
url
url 链接地址 -
title
title 标题 -
description
description 描述 -
sort
private int sortsort 排序
-
-
构造器详细资料
-
CmsContentRelated
public CmsContentRelated() -
CmsContentRelated
public CmsContentRelated(long contentId, long userId, int sort) -
CmsContentRelated
-
-
方法详细资料
-
getId
-
setId
-
getContentId
public long getContentId() -
setContentId
public void setContentId(long contentId) -
getRelationType
-
setRelationType
-
getRelation
-
setRelation
-
getRelatedContentId
-
setRelatedContentId
-
getUserId
public long getUserId() -
setUserId
public void setUserId(long userId) -
getUrl
-
setUrl
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getSort
public int getSort() -
setSort
public void setSort(int sort)
-