using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace DynStatDisk.App.Model
{
    /// <summary>
    /// 动静盘模型信息
    /// </summary>
    [Table(Name = "dbo.DynStatDiskModel")]
    public class DynStatDiskModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column(IsPrimary = true,IsIdentity =true)]
        public long Id { get; set; }

        /// <summary>
        /// 机种番号
        /// </summary>
        [Column(Name = "ModelNo", IsNullable = false, StringLength = 20)]
        public string ModelNo { get; set; }

        /// <summary>
        /// 间隙检测
        /// </summary>
        [Column(Name = "GapInfo", IsNullable = false, StringLength = 10)]
        public string GapInfo { get; set; }

        /// <summary>
        /// DynStatDiskKeyMatch 绑定首字符
        /// </summary>
        [Column(Name = "DynStatDiskKeyMatch", IsNullable = true, StringLength = 10)]
        public string DynStatDiskKeyMatch { get; set; }

        ///// <summary>
        ///// 电器盒盖
        ///// </summary>
        //[Column(Name = "DynStatDiskConver", IsNullable = false, StringLength = 10)]
        //public string DynStatDiskConver { get; set; }

        ///// <summary>
        ///// ESOPPath 照片路径
        ///// </summary>
        //[Column(Name = "ESOPPath", IsNullable = false, StringLength = 400)]
        //public string ESOPPath { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column(ServerTime = DateTimeKind.Local, CanUpdate = false)]
        public DateTime CreateTime { get; set; }
    }
}
