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_WeChat_Medium
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

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

        /// <summary>
        /// 素材媒体标识[有效期3天]
        /// </summary>
        public string Media_Id { get; set; }

        /// <summary>
        /// 上一次微信素材上传的时间
        /// </summary>
        public DateTime? LastUploadTime { get; set; }

        /// <summary>
        /// 类型 1文本、2图片、3图文、4音频、5视频、6小程序、7文件素材
        /// </summary>
        public MediumTypeEnum Type { get; set; }

        /// <summary>
        /// 是否同步素材库(1-同步2-不同步，默认:1)
        /// </summary>
        public int Is_Sync { get; set; }

        /// <summary>
        /// 具体内容: json格式
        /// </summary>
        public string Content { 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; }

    }
}
