using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace  Models
{
    /// <summary>
    /// 硬件类型
    /// </summary>
    [Table("TBL_DEV_TYPE"), Comment("硬件类型")]
    public class TBL_DEV_TYPE
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [Key, Column(TypeName = "int"), Comment("id,自增长"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int DEV_TYPE_ID { get; set; }
        


        /// <summary>
        ///    描述
        /// </summary>
        [ Column(TypeName = "nvarchar(100)"), Comment("描述")]
        public string DESCRIPITON { get; set; }




        /// <summary>
        ///    硬件名称
        /// </summary>
        [Column(TypeName = "nvarchar(100)"), Comment("硬件名称")]
        public string DEV_NAME { get; set; }



        /// <summary>
        /// 记录更新时间
        /// </summary>

       [Column(TypeName = "datetime"), Comment("记录更新时间")]

        public DateTime? UPDATE_TIMEMARK { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>

        [Required, Column(TypeName = "datetime"), Comment("记录更新时间")]

        public DateTime Create_TIMEMARK { get; set; }

    }
}
