using LiteDB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VIZ.Package.Storage
{
    /// <summary>
    /// 媒体库配置
    /// </summary>
    public class MediaConfigEntity
    {
        /// <summary>
        /// 编号
        /// </summary>
        [BsonId(true)]
        public int Id { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Url { get; set; } = "http://localhost:9000/api/home/";

        /// <summary>
        /// 媒体筛选
        /// </summary>
        public string MediaFilter { get; set; } = "(*.jpg,*.png,*.jpeg,*.bmp,*.gif,*.avi,*.mp4)|*.jpg;*.png;*.jpeg;*.bmp;*.gif;*.avi;*.mp4";
    }
}
