using System;
using System.Collections.Generic;

namespace Performance.Services.OnlineExcel
{
    public enum Operation
    {
        InsertRow = 1,
        DeleteRow = 2,
        InsertColumn = 3,
        DeleteColumn = 4,
    }
    /// <summary>
    /// 操作情况
    /// </summary>
    public class OperationRecord
    {
        public DateTime DateTime { get; set; }
        public Operation Operation { get; set; }
        public int From { get; set; }
        public int Count { get; set; }
    }
    /// <summary>
    /// 数据变更提交记录
    /// </summary>
    public class EpChanage
    {
        public string SheetName { get; set; }
        public string Version { get; set; }
        public OperationRecord[] OperationRecord { get; set; }
        public List<dynamic> Data { get; set; }
    }
}