package cn.stylefeng.team.portal.modular.management.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@TableName("portal_common_app_link_user_config")
@Data
@EqualsAndHashCode(callSuper = true)
public class CommonAppLinkUserConfig extends BaseEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ChineseDescription("主键id")
    private Long id;

    @TableField("user_id")
    @ChineseDescription("关联用户id")
    private Long userId;

    @TableField("link_category_id")
    @ChineseDescription("所属链接分类id")
    private Long linkCategoryId;

    @TableField("app_link_id")
    @ChineseDescription("链接id")
    private Long appLinkId;

    @TableField("fld_sort")
    @ChineseDescription("排序")
    private BigDecimal fldSort;

}