Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Commit

Permalink
Make MaxCharacter nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
pardahlman committed Apr 28, 2017
1 parent 3352895 commit 1b15b03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Akeneo/Model/Attributes/GenericAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class GenericAttribute : AttributeBase
/// <summary>
/// Number maximum of characters allowed for the value of the attribute when the attribute type is `pim_catalog_text`, `pim_catalog_textarea` or `pim_catalog_identifier`
/// </summary>
public int MaxCharacters { get; set; }
public int? MaxCharacters { get; set; }

/// <summary>
/// Validation rule type used to validate any attribute value when the attribute type is `pim_catalog_text` or `pim_catalog_identifier`
Expand Down
2 changes: 1 addition & 1 deletion Akeneo/Model/Attributes/IdentifierAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class IdentifierAttribute : TypedAttributeBase
/// <summary>
/// Number maximum of characters allowed for the value of the attribute when the attribute type is `pim_catalog_text`, `pim_catalog_textarea` or `pim_catalog_identifier`
/// </summary>
public int MaxCharacters { get; set; }
public int? MaxCharacters { get; set; }

/// <summary>
/// Validation rule type used to validate any attribute value when the attribute type is `pim_catalog_text` or `pim_catalog_identifier`
Expand Down
2 changes: 1 addition & 1 deletion Akeneo/Model/Attributes/TextAreaAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class TextAreaAttribute : TypedAttributeBase
/// <summary>
/// Number maximum of characters allowed for the value of the attribute when the attribute type is `pim_catalog_text`, `pim_catalog_textarea` or `pim_catalog_identifier`
/// </summary>
public int MaxCharacters { get; set; }
public int? MaxCharacters { get; set; }

/// <summary>
/// Whether the WYSIWYG interface is shown when the attribute type is `pim_catalog_textarea`
Expand Down
2 changes: 1 addition & 1 deletion Akeneo/Model/Attributes/TextAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class TextAttribute : TypedAttributeBase
/// <summary>
/// Number maximum of characters allowed for the value of the attribute when the attribute type is `pim_catalog_text`, `pim_catalog_textarea` or `pim_catalog_identifier`
/// </summary>
public int MaxCharacters { get; set; }
public int? MaxCharacters { get; set; }

/// <summary>
/// Validation rule type used to validate any attribute value when the attribute type is `pim_catalog_text` or `pim_catalog_identifier`
Expand Down

0 comments on commit 1b15b03

Please sign in to comment.