feat: 新增ai-stock模块
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Yi.Framework.Stock.Domain.Shared;
|
||||
|
||||
namespace Yi.Framework.Stock.Application.Contracts.Dtos.StockPrice
|
||||
{
|
||||
/// <summary>
|
||||
/// 股市价格记录DTO
|
||||
/// </summary>
|
||||
public class StockPriceRecordDto : EntityDto<Guid>
|
||||
{
|
||||
/// <summary>
|
||||
/// 股票ID
|
||||
/// </summary>
|
||||
public Guid StockId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 记录时间
|
||||
/// </summary>
|
||||
public DateTime CreationTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 当前价
|
||||
/// </summary>
|
||||
public decimal CurrentPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交易量
|
||||
/// </summary>
|
||||
public long Volume { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 交易额
|
||||
/// </summary>
|
||||
public decimal Turnover { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间周期类型
|
||||
/// </summary>
|
||||
public PeriodTypeEnum PeriodType { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using Volo.Abp.Application.Dtos;
|
||||
using Yi.Framework.Stock.Domain.Shared;
|
||||
|
||||
namespace Yi.Framework.Stock.Application.Contracts.Dtos.StockPrice
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取股市价格记录的输入DTO
|
||||
/// </summary>
|
||||
public class StockPriceRecordGetListInputDto : PagedAndSortedResultRequestDto
|
||||
{
|
||||
/// <summary>
|
||||
/// 股票ID
|
||||
/// </summary>
|
||||
public Guid? StockId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
public DateTime? StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
public DateTime? EndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 时间周期类型
|
||||
/// </summary>
|
||||
public PeriodTypeEnum? PeriodType { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user