123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Bowin.Web.Controls.Mvc
- {
- public class uploaderOption
- {
- public string Title { get; set; }
- public string Name { get; set; }
- public bool? IsEnabled { get; set; }
- public object MainTableID { get; set; }
- public FileType FileType { get; set; }
- public int? MaxFileSize { get; set; }
- public string UploadUrl { get; set; }
- }
- public enum FileType
- {
- /// <summary>
- /// 所有文件
- /// </summary>
- ALL = 100,
- /// <summary>
- /// 文档
- /// </summary>
- Document = 1,
- /// <summary>
- /// 图片
- /// </summary>
- Picture = 2,
- /// <summary>
- /// 视频
- /// </summary>
- Video = 3,
- /// <summary>
- /// 图片和视频
- /// </summary>
- PicAndVid = 4,
- /// <summary>
- /// 音频
- /// </summary>
- Sound = 5
- }
- }
|