Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
djesusnet authored Oct 28, 2024
1 parent 115131b commit ab04f96
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ using Maskify.Core.Annotations;

public class Customer
{
[MaskSensitiveData(MaskSensitiveDataAttribute.DataType.RG, MaskCharacter = '*', ErrorMessage = "Invalid RG.")]
public string RG { get; set; }

[MaskSensitiveData(MaskSensitiveDataAttribute.DataType.CPF, MaskCharacter = '#', ErrorMessage = "Invalid CPF.")]
public string CPF { get; set; }

Expand All @@ -180,6 +183,10 @@ public class Customer

[MaskSensitiveData(MaskSensitiveDataAttribute.DataType.MobilePhone, MaskCharacter = '*', ErrorMessage = "Invalid mobile number.")]
public string MobilePhone { get; set; }

[MaskSensitiveData(MaskSensitiveDataAttribute.DataType.VehicleLicensePlate, MaskCharacter = '#', ErrorMessage = "Invalid vehicle license plate.")]
public string VehicleLicensePlate { get; set; }

}
```

Expand Down

0 comments on commit ab04f96

Please sign in to comment.