Skip to content

Commit

Permalink
update coefficient dto
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Aug 28, 2023
1 parent 1f353dc commit baa900e
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,20 @@ export class IndicatorCoefficientsDto {
@IsNotEmpty()
@IsNumber()
[INDICATOR_NAME_CODES.SATELLIGENCE_DEFORESTATION_RISK]: number;

@ApiPropertyOptional()
@IsOptional()
@Max(1000000)
@Min(0)
@IsNotEmpty()
@IsNumber()
[INDICATOR_NAME_CODES.NATURAL_ECOSYSTEM_CONVERSION_RISK]: number;

@ApiPropertyOptional()
@IsOptional()
@Max(1000000)
@Min(0)
@IsNotEmpty()
@IsNumber()
[INDICATOR_NAME_CODES.WATER_QUALITY_RISK]: number;
}

0 comments on commit baa900e

Please sign in to comment.