Adding
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using LCU.Library.Internal.LcuEvaluationModels.Entities;
|
||||
namespace LCU.Library.Internal.LoanRateModels.Entities;
|
||||
|
||||
public class RateEvaluation
|
||||
{
|
||||
public int RateEvaluationId { get; set; }
|
||||
public int RateId { get; set; }
|
||||
public int EvaluationDetailId { get; set; }
|
||||
|
||||
[ForeignKey("EvaluationDetailId")]
|
||||
public EvaluationDetail EvaluationDetail { get; set; }
|
||||
|
||||
public RateEvaluation ShallowCopyNewRate()
|
||||
{
|
||||
var newRateRule = (RateEvaluation)MemberwiseClone();
|
||||
newRateRule.RateEvaluationId = 0;
|
||||
newRateRule.RateId = 0;
|
||||
return newRateRule;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user