implemented the Edit prodict functionality for the RD,FD,DDS,LIC
This commit is contained in:
+13
-3
@@ -46,17 +46,27 @@ public class DelinquencyRange extends AbstractAuditableWithUTCDateTimeCustom<Lon
|
||||
@Column(name = "max_age_days", nullable = true)
|
||||
private Integer maximumAgeDays;
|
||||
|
||||
/**
|
||||
* Which ECL stage (1, 2 or 3) this range maps to under the RBI 2026 Directions. Nullable for ranges created
|
||||
* before this column existed; a range with no stage is treated as informational only and does not drive
|
||||
* staging or provisioning.
|
||||
*/
|
||||
@Column(name = "stage", nullable = true)
|
||||
private Integer stage;
|
||||
|
||||
@Version
|
||||
private Long version;
|
||||
|
||||
protected DelinquencyRange(@NotNull String classification, @NotNull Integer minimumAgeDays, Integer maximumAgeDays) {
|
||||
protected DelinquencyRange(@NotNull String classification, @NotNull Integer minimumAgeDays, Integer maximumAgeDays, Integer stage) {
|
||||
this.classification = classification;
|
||||
this.minimumAgeDays = minimumAgeDays;
|
||||
this.maximumAgeDays = maximumAgeDays;
|
||||
this.stage = stage;
|
||||
}
|
||||
|
||||
public static DelinquencyRange instance(@NotNull String classification, @NotNull Integer minimumAge, Integer maximumAge) {
|
||||
return new DelinquencyRange(classification, minimumAge, maximumAge);
|
||||
public static DelinquencyRange instance(@NotNull String classification, @NotNull Integer minimumAge, Integer maximumAge,
|
||||
Integer stage) {
|
||||
return new DelinquencyRange(classification, minimumAge, maximumAge, stage);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user