类 CmsContentRelated
java.lang.Object
com.publiccms.entities.cms.CmsContentRelated
- 所有已实现的接口:
Serializable
CmsContentRelated
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明private longcontent id 内容idprivate @Length(max=300) Stringdescription 描述private Longidprivate Longrelated content id 推进内容idprivate Stringrelation 关系private Stringrelation type 关系类型private static final longprivate intsort 排序private @NotBlank @Length(max=255) Stringtitle 标题private @Length(max=1000) Stringurl 链接地址private longrelated 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) -
方法概要
修饰符和类型方法说明longgetId()intgetSort()getTitle()getUrl()longvoidsetContentId(long contentId) voidsetDescription(String description) voidvoidsetRelatedContentId(Long relatedContentId) voidsetRelation(String relation) voidsetRelationType(String relationType) voidsetSort(int sort) voidvoidvoidsetUserId(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)
-