Fogo
This commit is contained in:
parent
1f6e6d5d4f
commit
fdf5ee915e
67 changed files with 48812 additions and 37055 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
public interface IBlogPost : IBaseTrackedEntity, IIdentified<long>, IRating<long>, ITitle
|
||||
public interface IBlogPost : ITrackedEntity, IIdentified<long>, IRating<long>, ITitle
|
||||
{
|
||||
string AuthorId { get; set; }
|
||||
string Content { get; set; }
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ using System;
|
|||
|
||||
namespace Yavsc
|
||||
{
|
||||
public interface IBaseTrackedEntity
|
||||
public interface ITrackedEntity
|
||||
{
|
||||
DateTime DateCreated { get; set; }
|
||||
string UserCreated { get; set; }
|
||||
|
|
|
|||
9
src/Yavsc.Abstract/Interfaces/Models/IComment.cs
Normal file
9
src/Yavsc.Abstract/Interfaces/Models/IComment.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
|
||||
public interface IComment<TReceiverId>
|
||||
{
|
||||
string Content { get; set; }
|
||||
TReceiverId ReceiverId { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IComment<T> : IIdentified<T>
|
||||
{
|
||||
T GetReceiverId();
|
||||
void SetReceiverId(T rid);
|
||||
string Content { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
9
src/Yavsc.Abstract/Messaging/Comment.cs
Normal file
9
src/Yavsc.Abstract/Messaging/Comment.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
using Yavsc.Interfaces;
|
||||
|
||||
public class CommentPost : IComment<long>
|
||||
{
|
||||
public long ReceiverId { get; set; }
|
||||
public long? ParentId { get; set; }
|
||||
public string Content { get; set; }
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@ using System;
|
|||
|
||||
namespace Yavsc.Abstract.Workflow
|
||||
{
|
||||
public interface IDecidableQuery: IBaseTrackedEntity, IQuery
|
||||
public interface IDecidableQuery: ITrackedEntity, IQuery
|
||||
{
|
||||
bool Decided { get; set; }
|
||||
bool Accepted { get; set; }
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ namespace Yavsc.Abstract.Workflow
|
|||
using Yavsc;
|
||||
using Yavsc.Billing;
|
||||
|
||||
public interface IQuery: IBaseTrackedEntity, IBillable
|
||||
public interface IQuery: ITrackedEntity, IBillable
|
||||
{
|
||||
QueryStatus Status { get; set; }
|
||||
string PaymentId { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue