package com.jeesharp.business.modules.setting.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeesharp.framework.mybatis.core.dataobject.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 隐私政策/法律文档实体，映射表 {@code app_privacy_policy}。
 *
 * @author jeesharp
 * @since 2026-05-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("app_privacy_policy")
@Schema(description = "隐私政策/法律文档实体")
public class PrivacyPolicy extends BaseEntity<PrivacyPolicy> {

    @Schema(description = "文档编号（唯一，如 PRIVACY、SERVICE）")
    private String docCode;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "内容（富文本 HTML）")
    private String content;

    @Schema(description = "状态：0-禁用 1-启用")
    private Integer status;
}
