2025-04-03 15:38:31 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
2025-04-21 09:54:34 +08:00
|
|
|
|
namespace JiShe.CollectBus.Common.Attributes
|
2025-04-03 15:38:31 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 排序序号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public class NumericalOrderAttribute : Attribute
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 序号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Index { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 排序序号
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="index"></param>
|
|
|
|
|
|
public NumericalOrderAttribute(int index)
|
|
|
|
|
|
{
|
|
|
|
|
|
Index = index;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|