using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Models.Models
{
    /// <summary>
    /// 季节表
    /// </summary>
    [Table("TBL_SEASON"), Comment("季节表 暂未用到")]

    public class TBL_SEASON
    {
        /// <summary>
        /// ID  主键id
        /// </summary>
        [Key, Column(TypeName = "int"), Comment("ID,自增长"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }


        /// <summary>
        ///    名字
        /// </summary>
        [Column(TypeName = "nvarchar(50)"), Comment("季节名字")]
        public string NAME { get; set; }



        /// <summary>
        /// 开始时间
        /// </summary>

        [Required, Column(TypeName = "nvarchar(50)"), Comment("开始时间")]

        public string BeginDate { get; set; }


        /// <summary>
        /// 结束日期
        /// </summary>

        [Required, Column(TypeName = "nvarchar(50)"), Comment("结束日期")]

        public string EndDate { get; set; }
    }
}
