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

namespace Models.Models
{
    /// <summary>
    /// RCU LUNCHER上传记录：
    /// </summary>
    [Table("TBL_LUNCHER_UPLOAD_LOGS"), Comment("RCU LUNCHER上传记录：")]
    public class TBL_LUNCHER_UPLOAD_LOGS
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [Key, Column(TypeName = "int"), Comment("id,自增长"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int  ID { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [Column(TypeName = "datetime"), Comment("日期")]
        public DateTime DateTime { get; set; }



        /// <summary>
        /// AppType  适用类型（Launcher、App、etc.）
        /// </summary>

        [Column(TypeName = "nvarchar(100)"), Comment("AppType  适用类型（Launcher、App、etc.）")]

        public string AppType { get; set; }


        /// <summary>
        /// 适用机型
        /// </summary>

        [Column(TypeName = "nvarchar(100)"), Comment("AppForModel  适用机型")]

        public string AppForModel { get; set; }


        /// <summary>
        /// 文件存放路径（以BLV_Studio为相对根路径）
        /// </summary>

        [Column(TypeName = "nvarchar(100)"), Comment("FilePath  文件存放路径（以BLV_Studio为相对根路径）")]

        public string FilePath { get; set; }



        /// <summary>
        /// 固件文件名
        /// </summary>

        [Column(TypeName = "nvarchar(100)"), Comment("FileName 固件文件名")]

        public string FileName { get; set; }

        /// <summary>
        /// 固件版本
        /// </summary>

        [Column(TypeName = "nvarchar(50)"), Comment("Ver 固件版本")]

        public string Ver { get; set; }


        /// <summary>
        /// MD5Val 固件MD5校验值
        /// </summary>

        [Column(TypeName = "nvarchar(50)"), Comment("MD5Val 固件MD5校验值")]

        public string MD5Val { get; set; }


        /// <summary>
        /// Handler  处理人
        /// </summary>

        [Column(TypeName = "nvarchar(50)"), Comment("Handler  处理人")]

        public string Handler { get; set; }

        /// <summary>
        /// Remark  备注
        /// </summary>

        [Column(TypeName = "nvarchar(520)"), Comment("Remark  备注")]

        public string Remark { get; set; }


        /// <summary>
        /// PC_MAC  上传人PC网卡MAC
        /// </summary>

        [Column(TypeName = "nvarchar(50)"), Comment("PC_MAC  上传人PC网卡MAC")]

        public string PC_MAC { get; set; }

        /// <summary>
        /// PC_NAME  上传人PC用户名
        /// </summary>

        [Column(TypeName = "nvarchar(50)"), Comment("PC_NAME  上传人PC用户名")]

        public string PC_NAME { get; set; }
    }
}
