类 CmsContentRelated

java.lang.Object
com.publiccms.entities.cms.CmsContentRelated
所有已实现的接口:
Serializable

@Entity public class CmsContentRelated extends Object implements Serializable
CmsContentRelated
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
    • id

      private Long id
      id
    • contentId

      private long contentId
      content id 内容id
    • relationType

      private String relationType
      relation type 关系类型
    • relation

      private String relation
      relation 关系
    • relatedContentId

      private Long relatedContentId
      related content id 推进内容id
    • userId

      private long userId
      related user id 推进用户id
    • url

      @Length(max=1000) private @Length(max=1000) String url
      url 链接地址
    • title

      @NotBlank @Length(max=255) private @NotBlank @Length(max=255) String title
      title 标题
    • description

      @Length(max=300) private @Length(max=300) String description
      description 描述
    • sort

      private int sort
      sort 排序
  • 构造器详细资料

    • CmsContentRelated

      public CmsContentRelated()
    • CmsContentRelated

      public CmsContentRelated(long contentId, long userId, int sort)
    • CmsContentRelated

      public CmsContentRelated(long contentId, String relationType, String relation, Long relatedContentId, long userId, String url, String title, String description, int sort)
  • 方法详细资料

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getContentId

      public long getContentId()
    • setContentId

      public void setContentId(long contentId)
    • getRelationType

      public String getRelationType()
    • setRelationType

      public void setRelationType(String relationType)
    • getRelation

      public String getRelation()
    • setRelation

      public void setRelation(String relation)
    • getRelatedContentId

      public Long getRelatedContentId()
    • setRelatedContentId

      public void setRelatedContentId(Long relatedContentId)
    • getUserId

      public long getUserId()
    • setUserId

      public void setUserId(long userId)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getSort

      public int getSort()
    • setSort

      public void setSort(int sort)