using SqlSugar;
using QYZH.InteractiveMagazine.Models.Enum;

namespace QYZH.InteractiveMagazine.Models.Entity
{
    ///<summary>
    ///期刊表
    ///</summary>
    [SugarTable("Journal")]
    public partial class Journal : SqlSugarBaseEntity
    {
           public Journal(){


           }
        /// <summary>
        /// Desc:书籍名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:标题
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Title { get; set; }

        /// <summary>
        /// Desc:总页数
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int TotalPage { get; set; }

        /// <summary>
        /// Desc:校验页数
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int VerifyPage { get; set; }


        /// <summary>
        /// Desc:pdf地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string PdfUrl { get; set; }

        /// <summary>
        /// Desc:宽度
        /// Default:
        /// Nullable:False
        /// </summary>           
        public float Width { get; set; }

        /// <summary>
        /// Desc:高度
        /// Default:
        /// Nullable:False
        /// </summary>           
        public float Height { get; set; }

        /// <summary>
        /// Desc:乐观锁
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int Revision { get; set; }

        /// <summary>
        /// Desc:审查结果(默认0 1通过 -1驳回)
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int Result { get; set; }

        /// <summary>
        /// Desc:封面
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Cover { get; set; }

        /// <summary>
        /// Desc:封底
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string BackCover { get; set; }

        /// <summary>
        /// Desc:pdf预览地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string PdfPreviewUrl { get; set; }


        /// <summary>
        /// Desc:下载书籍页码点阵码PDF文件名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string DownloadJournalPagePdfName { get; set; }

        /// <summary>
        /// Desc:发布日期开始时间
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// Desc:发布日期结束时间
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? EndTime { get; set; }


        /// <summary>
        /// Desc:书籍描述/简介
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Description { get; set; }

        /// <summary>
        /// Desc:期刊类型: Normal, Special
        /// Default:Normal
        /// Nullable:False
        /// </summary>           
        public JournalTypeEnum Type {get;set;}

    }
}
