package com.hotwj.platform.noticeManagerment.lawRegulation.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 法律法规对象 hot_law_regulation
 *
 * @author shihongwei
 * @date 2026-01-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_law_regulation")
public class HotLawRegulation extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 制度名称
     */
    private String ruleName;

    /**
     * 制度类型
     */
    private Long ruleType;

    /**
     * 附件URL
     */
    private String attachmentUrl;

    /**
     * 制度内容（富文本，附件优先展示）
     */
    private String content;

    /**
     * 是否发布
     */
    private Long isPublished;

    /**
     * 排序
     */
    private Long sortno;

    /**
     * 0=正常, 1=已删除
     */
    @TableLogic
    private Long isDeleted;


}
