package com.yh.saas.plugin.news.entity;


import com.baomidou.mybatisplus.annotations.TableName;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 记录标准角色分配信息
 * </p>
 *
 * @author Wangs
 * @since 2020-02-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("news_basic_parameter_company")
public class NewsBasicParameterCompany extends BaseModel<NewsBasicParameterCompany> {

    private static final long serialVersionUID = 1L;

    /**
     * 变量ID
     */
    private String parameterId;
    /**
     * 变量类型ID
     */
    private String constCode;
    /**
     * 变量KEY（自增数字形式）
     */
    private String parameterKey;
    /**
     * 变量值
     */
    private String parameterValue;
    /**
     * 变量英文值
     */
    private String parameterValueEn;
    private Integer orderNum;


    @Override
    protected Serializable pkVal() {
        return this.parameterId;
    }

}
