22 lines
577 B
C#
22 lines
577 B
C#
using System;
|
|
using xDataService.GraphQL;
|
|
using xFileService.Models.Entities;
|
|
|
|
namespace xFileService.Providers.GraphQL
|
|
{
|
|
public class XFileGraphType : XBaseGraphObjectType<XFile, Guid>
|
|
{
|
|
public XFileGraphType() : base()
|
|
{
|
|
Field(x => x.Type);
|
|
Field(x => x.Name);
|
|
Field(x => x.Path);
|
|
Field(x => x.Thumb);
|
|
Field(x => x.OwnerId);
|
|
Field(x => x.FileName);
|
|
Field(x => x.ThumbPath);
|
|
Field(x => x.UploadedOn);
|
|
Field(x => x.References);
|
|
}
|
|
}
|
|
} |