feat: 数据库迁移
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace Yi.Furion.Core.App.Dtos.Trends
|
||||
{
|
||||
/// <summary>
|
||||
/// Trends输入创建对象
|
||||
/// </summary>
|
||||
public class TrendsCreateInput
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
public List<long>? Images { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
using Yi.Framework.Infrastructure.Ddd.Dtos;
|
||||
|
||||
namespace Yi.Furion.Core.App.Dtos.Trends
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询参数
|
||||
/// </summary>
|
||||
public class TrendsGetListInput : PagedAllResultRequestDto
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
using Yi.Framework.Infrastructure.Ddd.Dtos.Abstract;
|
||||
|
||||
namespace Yi.Furion.Core.App.Dtos.Trends
|
||||
{
|
||||
public class TrendsGetListOutputDto : IEntityDto<long>
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Content { get; set; }
|
||||
public long UserId { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
public List<long>? Images { get; set; }
|
||||
public DateTime CreationTime { get; set; }
|
||||
public long? CreatorId { get; set; }
|
||||
public long? LastModifierId { get; set; }
|
||||
public DateTime? LastModificationTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using Yi.Framework.Infrastructure.Ddd.Dtos.Abstract;
|
||||
|
||||
namespace Yi.Furion.Core.App.Dtos.Trends
|
||||
{
|
||||
public class TrendsGetOutputDto : IEntityDto<long>
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public string Title { get; set; }
|
||||
public string Content { get; set; }
|
||||
public long UserId { get; set; }
|
||||
public bool IsDeleted { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
public List<long>? Images { get; set; }
|
||||
public DateTime CreationTime { get; set; }
|
||||
public long? CreatorId { get; set; }
|
||||
public long? LastModifierId { get; set; }
|
||||
public DateTime? LastModificationTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Yi.Furion.Core.App.Dtos.Trends
|
||||
{
|
||||
public class TrendsUpdateInputVo
|
||||
{
|
||||
public string? Title { get; set; }
|
||||
public string? Content { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
public List<long>? Images { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user