irc-netcore-api/IRaCIS.Core.Domain/Financial/PaymentAdjustment.cs

34 lines
1.1 KiB
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace IRaCIS.Core.Domain.Models
{
[Table("PaymentAdjustment")]
public partial class PaymentAdjustment : Entity, IAuditUpdate, IAuditAdd
{
public Guid ReviewerId { get; set; }
public DateTime YearMonthDate { get; set; }
public string YearMonth { get; set; }
[Column(TypeName = "decimal(18,2)")]
public decimal AdjustmentUSD { get; set; }
[Column(TypeName = "decimal(18,4)")]
public decimal AdjustmentCNY { get; set; }
public Guid TrialId { get; set; } = Guid.Empty;
[Column(TypeName = "decimal(18,2)")]
public decimal ExchangeRate { get; set; }
public bool IsLock { get; set; } = false;
public string Note { get; set; } = string.Empty;
public Guid CreateUserId { get; set; } = Guid.Empty;
public DateTime CreateTime { get; set; } = DateTime.Now;
public Guid UpdateUserId { get; set; } = Guid.Empty;
public DateTime UpdateTime { get; set; } = DateTime.Now;
}
}