26 lines
582 B
C#
26 lines
582 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace YLErp.DBModels
|
|
{
|
|
/// <summary>
|
|
/// 分红率
|
|
/// </summary>
|
|
[Table("underlying_dividend")]
|
|
public class UnderlyingDividend : DBModelWithOperator
|
|
{
|
|
public DateTime ValueDate { get; set; }
|
|
|
|
public int UnderlyingId { get; set; }
|
|
|
|
public double DividendRate { get; set; }
|
|
}
|
|
|
|
[NotMapped]
|
|
public class UnderlyingDividendDto : UnderlyingDividend
|
|
{
|
|
public string UnderlyingCode { get; set; }
|
|
|
|
public string UnderlyingName { get; set; }
|
|
}
|
|
}
|