package com.zhyc.module.app.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhyc.common.annotation.Excel;
import com.zhyc.common.core.domain.BaseEntity;

/**
 * 应用设置对象 app_settings
 * 
 * @author ruoyi
 * @date 2026-01-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppSettings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID，0为全局 */
    @Excel(name = "用户ID，0为全局")
    private Long userId;

    /** 设置键名 */
    @Excel(name = "设置键名")
    private String settingKey;

    /** 设置 */
    @Excel(name = "设置")
    private String settingValue;

    /** 值类型 */
    @Excel(name = "值类型")
    private String settingType;

    /** 设置分组 */
    @Excel(name = "设置分组")
    private String settingGroup;

    /** 设置描述 */
    @Excel(name = "设置描述")
    private String settingDesc;

    /** 适用平台 */
    @Excel(name = "适用平台")
    private String platform;

    /** 适用版本范围 */
    @Excel(name = "适用版本范围")
    private String versionRange;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 逻辑位 */
    @Excel(name = "逻辑位")
    private Integer logical;

    /** 自定义扩展数据，JSON格式 */
    @Excel(name = "自定义扩展数据，JSON格式")
    private String customData;

}
