21 lines
507 B
C#
21 lines
507 B
C#
using Cassandra.Mapping;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using JiShe.CollectBus.IotSystems.MessageIssueds;
|
|
using static Cassandra.QueryTrace;
|
|
|
|
namespace JiShe.CollectBus.Cassandra.Mappers
|
|
{
|
|
public class CollectBusMapping: Mappings
|
|
{
|
|
public CollectBusMapping()
|
|
{
|
|
For<MessageIssued>()
|
|
.Column(e => e.Type, cm => cm.WithName("type").WithDbType<int>());
|
|
}
|
|
}
|
|
}
|