using JNPF.DependencyInjection;
namespace JNPF.Common.Models;
///
/// 代码生成-导入 控件配置属性.
///
public class CodeGenFieldsModel
{
///
/// 设置默认值为空字符串.
///
public string __vModel__ { get; set; } = string.Empty;
///
/// 层级.
///
public int level { get; set; }
///
/// 最小值.
///
public int? min { get; set; }
///
/// 最大值.
///
public int? max { get; set; }
///
/// 开关控件 属性 - 开启展示值.
///
public string activeTxt { get; set; }
///
/// 开关控件 属性 - 关闭展示值.
///
public string inactiveTxt { get; set; }
///
/// 显示绑定值的格式.
///
public string format { get; set; }
///
/// 是否多选.
///
public bool multiple { get; set; }
///
/// 选项分隔符.
///
public string separator { get; set; }
///
/// 插槽.
///
public string __slot__ { get; set; }
///
/// 配置.
///
public string __config__ { get; set; }
///
/// 配置选项.
///
public string props { get; set; }
///
/// 配置项.
///
public string options { get; set; }
///
/// 弹窗选择主键.
///
public string propsValue { get; set; }
///
/// 关联表单字段.
///
public string relationField { get; set; }
///
/// 关联表单id.
///
public string modelId { get; set; }
///
/// 数据接口ID.
///
public string interfaceId { get; set; }
///
/// 可选范围.
///
public string selectType { get; set; }
///
/// 可选部门.
///
public string ableDepIds { get; set; }
///
/// 可选岗位.
///
public string ablePosIds { get; set; }
///
/// 可选用户.
///
public string ableUserIds { get; set; }
///
/// 可选角色.
///
public string ableRoleIds { get; set; }
///
/// 可选分组.
///
public string ableGroupIds { get; set; }
///
/// 新用户选择控件.
///
public string ableIds { get; set; }
}
public class CodeGenChildsModel
{
///
/// 设置默认值为空字符串.
///
public string __vModel__ { get; set; } = string.Empty;
///
/// 层级.
///
public int level { get; set; }
///
/// 最小值.
///
public int? min { get; set; }
///
/// 最大值.
///
public int? max { get; set; }
///
/// 开关控件 属性 - 开启展示值.
///
public string activeTxt { get; set; }
///
/// 开关控件 属性 - 关闭展示值.
///
public string inactiveTxt { get; set; }
///
/// 显示绑定值的格式.
///
public string format { get; set; }
///
/// 是否多选.
///
public bool multiple { get; set; }
///
/// 选项分隔符.
///
public string separator { get; set; }
///
/// 插槽.
///
public CodeGenSlotModel __slot__ { get; set; }
///
/// 配置.
///
public CodeGenConfigModel __config__ { get; set; }
///
/// 配置选项.
///
public CodeGenPropsModel props { get; set; }
///
/// 配置项.
///
public List