2025-04-15 17:57:47 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Volo.Abp.EventBus;
|
|
|
|
|
|
using Volo.Abp;
|
|
|
|
|
|
|
|
|
|
|
|
namespace JiShe.CollectBus.Common.Attributes
|
|
|
|
|
|
{
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
|
2025-04-16 16:12:38 +08:00
|
|
|
|
public class CassandraTableAttribute(string? name = null) : Attribute
|
2025-04-15 17:57:47 +08:00
|
|
|
|
{
|
2025-04-16 16:12:38 +08:00
|
|
|
|
public virtual string? Name { get; } = name;
|
2025-04-15 17:57:47 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
|
|
|
|
|
|
public class CassandraIgnoreAttribute : Attribute
|
|
|
|
|
|
{
|
|
|
|
|
|
public CassandraIgnoreAttribute()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|