package com.ujcms.cms.core.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ujcms.cms.core.domain.base.RoleArticleBase;

import java.io.Serializable;

/**
 * 角色文章权限实体类
 *
 * @author PONY
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties("handler")
public class RoleArticle extends RoleArticleBase implements Serializable {
    private static final long serialVersionUID = 1L;

    public RoleArticle() {
    }

    public RoleArticle(Integer roleId, Integer channelId, Integer siteId) {
        setRoleId(roleId);
        setChannelId(channelId);
        setSiteId(siteId);
    }
}