Class CategoryProductData
Namespace: BusinessSharedKernel.ValueObjects
Assembly: BusinessSharedKernel.dll
public class CategoryProductData : ValueObject
Inheritance
object ← ValueObject ← CategoryProductData
Inherited Members
ValueObject.NotEqualOperator\(ValueObject, ValueObject\), ValueObject.GetEqualityComponents\(\), ValueObject.Equals\(object?\), ValueObject.GetHashCode\(\), ValueObject.GetCopy\(\), object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
CategoryProductData\(\)
public CategoryProductData()
Properties
CategoryName
[MaxLength(50)]
public string CategoryName { get; set; }
Property Value
ServingPeriod
public ServingPeriod ServingPeriod { get; init; }
Property Value
Methods
GetEqualityComponents\(\)
protected override IEnumerable<object> GetEqualityComponents()
Returns
IEnumerable < object \>
SetCategoryName\(string\)
public void SetCategoryName(string categoryName)
Parameters
categoryName string
Last modified: 21 May 2024