using Edu.Common.Enum;
using Edu.Common.Enum.Course;
using Edu.Common.Enum.WeChat;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.WeChat
{
    /// <summary>
    /// 投稿素材实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Contribute_Medium
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 素材分组ID
        /// </summary>
        public int MediaGroupId { get; set; }

        /// <summary>
        /// 素材媒体标识
        /// </summary>
        public string Media_Id { get; set; }

        /// <summary>
        /// 图片微信地址url
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string MediaName { get; set; }

        /// <summary>
        /// 视频描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 公众号素材上传的时间
        /// </summary>
        public DateTime? UploadTime { get; set; }

        /// <summary>
        /// 类型 1图片、2音频、3视频
        /// </summary>
        public ContributeMediumTypeEnum Type { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 集团编号
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public int UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 视频原封面图
        /// </summary>
        public string VideoImage { get; set; }

        /// <summary>
        /// 视频封面图（微信地址）
        /// </summary>
        public string VideoWXImage { get; set; }

        /// <summary>
        /// 素材原路径
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 视频微信路径
        /// </summary>
        public string VideoWXPath { get; set; }

        /// <summary>
        /// 平台类型
        /// </summary>
        public ContributeConfigTypeEnum PlatformType { get; set; }

        /// <summary>
        /// 视频/音频时长
        /// </summary>
        public string Minutes { get; set; }

    }
}
