package com.ruoyi.frequency.worksshield.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.vo.UserInfo;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 作品屏蔽对象 t_works_shield
 * 
 * @author liwenlong
 * @date 2023-11-30
 */
@Data
@Accessors(chain = true)
@TableName("t_works_shield")
public class WorksShield extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("租户号")
    private Long id;

    @ApiModelProperty("删除状态 1 正常 2 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("用户类型")
    @Excel(name = "用户类型")
    private Integer userType;

    @ApiModelProperty("用户id")
    @Excel(name = "用户id")
    private Long userId;

    @ApiModelProperty("作品id")
    @Excel(name = "作品id")
    private Long worksId;

    @ApiModelProperty("用户信息")
    @TableField(exist = false)
    private UserInfo userInfo;
    

}
