using System;
using System.Runtime.Serialization;

namespace Siger.Middlelayer.Redis.RedisEntities
{
    /// <summary>
    /// 换刀记录配置表
    /// </summary>
    [DataContract]
    public class ChangeToolsRecord: RedisEntityBase
    {
        /// <summary>
        /// machine_id
        /// </summary>
        [DataMember(Name = "mn")]
        public int MachineId { get; set; }

        /// <summary>
        /// change_time
        /// </summary>
        [DataMember(Name = "t")]
        public int ChangeTime { get; set; }

        /// <summary>
        /// rating_life
        /// </summary>
        [DataMember(Name = "CCCount")]
        public int RatedLife { get; set; }

        /// <summary>
        /// mainaxis
        /// </summary>
        [DataMember(Name = "spindle")]
        public string SpindleName { get; set; }

        /// <summary>
        /// tool_no
        /// </summary>
        [DataMember(Name = "tool")]
        public string ToolName { get; set; }

        /// <summary>
        /// programno
        /// </summary>
        [DataMember(Name = "pn")]
        public string ProgramNo { get; set; }

        /// <summary>
        /// change_reason
        /// </summary>
        [DataMember(Name = "reason")]
        public string Reason { get; set; }

        [DataMember(Name = "actual_t")]
        public string actual_t { get; set; }
        [DataMember(Name = "Create_t")]
        public string Create_t { get; set; }
    }
}
