using System;
using System.ComponentModel.DataAnnotations.Schema;
using Znyc.Recruitment.Admin.Commons.Entitys;

namespace Znyc.Recruitment.Admin.Security.Entitys
{
    /// <summary>
    ///     banner
    /// </summary>
    [Table("rm_banner")]
    public class BannerEntity : BaseEntity
    {
        /// <summary>
        ///     图片描述
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///     图片URL
        /// </summary>
        public string PicUrl { get; set; }

        /// <summary>
        ///     是否主图:0.非主图1.主图
        /// </summary>
        public bool IsMaster { get; set; }

        /// <summary>
        ///     排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        ///     状态 0-起开始/1-进行中/2-已结束
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        ///     类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        ///     电话
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        ///     跳转页面
        /// </summary>
        public string PageUrl { get; set; }

        /// <summary>
        ///     文字描述
        /// </summary>
        public string TextDesc { get; set; }

        /// <summary>
        ///     开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        ///     结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

    }
}