Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Church.Net.Entity.Interface
|
||||
{
|
||||
public interface IEntity
|
||||
{
|
||||
string Id { get; set; }
|
||||
}
|
||||
public interface ICombinedKeyEntity
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Church.Net.Entity.Interface
|
||||
{
|
||||
public interface ILog
|
||||
{
|
||||
int TrackNo { get; set; }
|
||||
string DetailMessage { get; set; }
|
||||
string Message { get; set; }
|
||||
Guid Id { get; set; }
|
||||
string Source { get; set; }
|
||||
string StackTrace { get; set; }
|
||||
DateTime Time { get; set; }
|
||||
string Url { get; set; }
|
||||
LogLevel Level { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
public enum LogLevel
|
||||
{
|
||||
Info,
|
||||
Warning,
|
||||
Error
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user