18 lines
460 B
C#
18 lines
460 B
C#
using System;
|
|
using xDataService.GraphQL;
|
|
using xContentService.Models.Entities;
|
|
|
|
namespace xContentService.Providers.GraphQL
|
|
{
|
|
public class XContentGraphType : XBaseGraphObjectType<XContent, Guid>
|
|
{
|
|
public XContentGraphType() : base()
|
|
{
|
|
Field(x => x.Title);
|
|
Field(x => x.OwnerId);
|
|
Field(x => x.CreatedOn);
|
|
Field(x => x.UpdatedAt);
|
|
Field(x => x.Description);
|
|
}
|
|
}
|
|
} |