using System;

namespace CncModels.Entity
{
    /// <summary>
    /// cnc_production_adjustment 产量修正审计表
    /// </summary>
    public class ProductionAdjustment
    {
        /// <summary>主键ID</summary>
        public long Id { get; set; }

        /// <summary>目标表</summary>
        public string TargetTable { get; set; }

        /// <summary>目标ID</summary>
        public int TargetId { get; set; }

        /// <summary>字段名</summary>
        public string FieldName { get; set; }

        /// <summary>旧值</summary>
        public decimal? OldValue { get; set; }

        /// <summary>新值</summary>
        public decimal NewValue { get; set; }

        /// <summary>原因</summary>
        public string Reason { get; set; }

        /// <summary>操作IP</summary>
        public string OperatorIp { get; set; }

        /// <summary>创建时间</summary>
        public DateTime CreatedAt { get; set; }
    }
}
