using iWare.Wms.Core.Util.LowCode.Dto;
using Furion.DatabaseAccessor;
using Furion.Extras.iWare.Wms.Util.LowCode.Front.Att;
using Furion.Extras.iWare.Wms.Util.LowCode.Front.Model;
namespace Furion.Extras.iWare.Wms.Util.LowCode.Front
{
///
/// 上传文件
///
[FrontType("uploadFile")]
[FrontTypeBindDatabase(DbProvider.SqlServer, typeof(string), "nvarchar(2000)", dtoType: typeof(Front_FileDto[]))]
public class Front_UploadFile : Front_Base
{
}
public class Front_UploadFile_Options
{
///
/// 默认值
///
public string DefaultValue { get; set; }
///
/// 多选
///
public bool Multiple { get; set; }
///
/// 禁用
///
public bool Disabled { get; set; }
///
/// 隐藏
///
public bool Hidden { get; set; }
///
/// 允许拖拽
///
public bool Drag { get; set; }
///
/// 下载方式
///
public string DownloadWay { get; set; }
///
/// 动态函数
///
public string DynamicFun { get; set; }
///
/// 宽度
///
public string Width { get; set; }
///
/// 最大上传数量
///
public int Limit { get; set; }
///
/// 额外参数(JSON格式)
///
public string Data { get; set; }
///
/// 文件name
///
public string FileName { get; set; }
///
/// 上传地址
///
public string Action { get; set; }
///
/// 占位内容
///
public string Placeholder { get; set; }
public object Headers { get; set; }
}
}