You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
324 B
18 lines
324 B
2 years ago
|
namespace SiNan.Model.Dto
|
||
|
{
|
||
|
public class GOIResponse
|
||
|
{
|
||
|
public decimal Cost { get; set; }
|
||
|
|
||
|
public decimal Profit { get; set; }
|
||
|
|
||
|
public decimal GOI
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return Cost == 0M ? 0M : Math.Round(Profit / Cost, 2);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|