2020-07-10 17:57:20 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace AntDesign.TableModels
|
|
|
|
|
{
|
2020-11-09 22:17:27 +08:00
|
|
|
|
public class RowData<TItem> : RowData
|
|
|
|
|
{
|
|
|
|
|
public TItem Data { get; set; }
|
|
|
|
|
|
|
|
|
|
public RowData(int rowIndex, int pageIndex, TItem data)
|
|
|
|
|
{
|
|
|
|
|
this.RowIndex = rowIndex;
|
|
|
|
|
this.PageIndex = pageIndex;
|
|
|
|
|
this.Data = data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RowData
|
2020-07-10 17:57:20 +08:00
|
|
|
|
{
|
|
|
|
|
public int RowIndex { get; set; }
|
|
|
|
|
|
2020-08-01 23:45:48 +08:00
|
|
|
|
public int PageIndex { get; set; }
|
|
|
|
|
|
2020-07-10 17:57:20 +08:00
|
|
|
|
public bool Selected { get; set; }
|
|
|
|
|
|
2020-11-08 23:29:05 +08:00
|
|
|
|
public bool Expanded { get; set; }
|
|
|
|
|
|
2020-11-09 22:17:27 +08:00
|
|
|
|
public int Level { get; set; }
|
2020-07-10 17:57:20 +08:00
|
|
|
|
|
2020-11-09 22:17:27 +08:00
|
|
|
|
public int CacheKey { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool HasChildren { get; set; }
|
2020-07-10 17:57:20 +08:00
|
|
|
|
}
|
|
|
|
|
}
|