using FreeSql.DataAnnotations;
using System;

namespace DynStatDisk.App.Model
{
    /// <summary>
    /// 电器盒模型信息
    /// </summary>
    [Table(Name = "dbo.KPDynStaticMach")]
    [Index("IX_CreateTime", "CreateTime", false)]
    [Index("IX_CylinderNo", "CylinderNo", false)]
    [Index("IX_DynaDiskNo", "DynaDiskNo", false)]
    [Index("IX_StaticDiskNo", "StaticDiskNo", false)]
    public class KPDynStaticMach
    {
        /// <summary>
        /// Id
        /// </summary>
        [Column(IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 筒体编号
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string CylinderNo { get; set; }

        /// <summary>
        /// 动盘编号
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string DynaDiskNo { get; set; }

        /// <summary>
        /// 静盘编号
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string StaticDiskNo { get; set; }

        /// <summary>
        /// 欧式机构
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string EuropMacine { get; set; }

        /// <summary>
        /// 静盘铸件号
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string StaDskCastNo { get; set; }

        /// <summary>
        /// 间隙值 玛仪器测量
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string MeterGap { get; set; }

        /// <summary>
        /// 分组 玛仪器测量
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string MeterGroup { get; set; }

        /// <summary>
        /// 结论 玛仪器测量
        /// </summary>
        [Column(DbType = "nvarchar(20)")]
        public string MeterResult { get; set; }

        /// <summary>
        /// 员工编号
        /// </summary>
        [Column(DbType = "nvarchar(6)")]
        public string OpNo { get; set; }

        ///// <summary>
        ///// 扭矩值
        ///// </summary>
        //[Column(DbType = "decimal(8, 2)")]
        //public decimal Torque { get; set; }

        /// <summary>
        /// 欧式机构段差值
        /// +-值都有
        /// </summary>
        [Column(DbType = "nvarchar(10)")]
        public string EuopMaDifValue { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column(DbType = "datetime DEFAULT(GETDATE())")]
        public DateTime CreateTime { get; set; }

        ///// <summary>
        ///// 主键
        ///// </summary>
        //[Column(IsPrimary = true, IsIdentity = true)]
        //public long Id { get; set; }

        ///// <summary>
        ///// 筒体号
        ///// </summary>
        //[Column(Name = "CylinderNo", IsNullable = false, StringLength = 20)]
        //public string CylinderNo { get; set; }

        ///// <summary>
        ///// 欧式机构编号
        ///// </summary>
        //[Column(Name = "EuroNo", IsNullable = false, StringLength = 50)]
        //public string EuroNo { get; set; }

        ///// <summary>
        ///// 欧式机构序号
        ///// </summary>
        //[Column(Name = "EuroSeriesNo", IsNullable = false, StringLength = 50)]
        //public string EuroSeriesNo { get; set; }

        ///// <summary>
        ///// 动静盘号
        ///// </summary>
        //[Column(Name = "DynStaticDiskNo", IsNullable = false, StringLength = 50)]
        //public string DynStaticDiskNo { get; set; }

        ///// <summary>
        ///// 动静盘编号
        ///// </summary>
        //[Column(Name = "StaticDiskNoW", IsNullable = false, StringLength = 50)]
        //public string StaticDiskNoW { get; set; }

        ///// <summary>
        ///// 欧式机构铸件号
        ///// </summary>
        //[Column(Name = "EuroCastNo", IsNullable = false, StringLength = 50)]
        //public string EuroCastNo { get; set; }

        ///// <summary>
        ///// 静盘铸件号
        ///// </summary>
        //[Column(Name = "StaticDiskCastNo", IsNullable = false, StringLength = 50)]
        //public string StaticDiskCastNo { get; set; }

        ///// <summary>
        ///// 小部品安装数量
        ///// </summary>
        //[Column(Name = "PartCount", IsNullable = false, StringLength = 50)]
        //public string PartCount { get; set; }

        ///// <summary>
        ///// 支架涂油
        ///// </summary>
        //[Column(Name = "BracketOil", IsNullable = false, StringLength = 50)]
        //public string BracketOil { get; set; }

        ///// <summary>
        ///// 螺旋螺钉确认安装
        ///// </summary>
        //[Column(Name = "SpiralScrew", IsNullable = false, StringLength = 50)]
        //public string SpiralScrew { get; set; }

        ///// <summary>
        ///// 动静盘编号一致
        ///// </summary>
        //[Column(Name = "DynStaticNoSame", IsNullable = false, StringLength = 50)]
        //public string DynStaticNoSame { get; set; }

        ///// <summary>
        ///// 动静盘无磕伤
        ///// </summary>
        //[Column(Name = "DynStaticNoBreak", IsNullable = false, StringLength = 50)]
        //public string DynStaticNoBreak { get; set; }

        ///// <summary>
        ///// 注液机
        /////(排气姜板油孔)
        ///// </summary>
        //[Column(Name = "LiquidInjeMach", IsNullable = false, StringLength = 50)]
        //public string LiquidInjeMach { get; set; }

        ///// <summary>
        ///// 其他-间隙 分组
        ///// </summary>
        //[Column(Name = "OtherGapGroup", IsNullable = false, StringLength = 50)]
        //public string OtherGapGroup { get; set; }

        ///// <summary>
        ///// 其他-间隙 值
        ///// </summary>
        //[Column(Name = "OtherGapValue", IsNullable = false, StringLength = 50)]
        //public string OtherGapValue{ get; set; }

        ///// <summary>
        ///// 其他-间隙 结果
        ///// </summary>
        //[Column(Name = "OtherGapResult", IsNullable = false, StringLength = 50)]
        //public string OtherGapResult { get; set; }

        ///// <summary>
        ///// 其他-动盘
        ///// </summary>
        //[Column(Name = "OtherDynDisk", IsNullable = false, StringLength = 50)]
        //public string OtherDynDisk { get; set; }

        ///// <summary>
        ///// 其他-欧式
        ///// </summary>
        //[Column(Name = "OtherEuro", IsNullable = false, StringLength = 50)]
        //public string OtherEuro { get; set; }

        ///// <summary>
        ///// 其他-支架
        ///// </summary>
        //[Column(Name = "OtherBracket", IsNullable = false, StringLength = 50)]
        //public string OtherBracket { get; set; }



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