16 lines
376 B
C#
16 lines
376 B
C#
using Core.Abstractions.DomainObjects;
|
|
|
|
namespace Core.DomainObjects {
|
|
public class Image : DomainObjectBase<Image> {
|
|
public string Src { get; set; }
|
|
public string Alt { get; set; }
|
|
|
|
public override int GetHashCode() {
|
|
int hash = 17;
|
|
hash = hash * 23 + Src.GetHashCode();
|
|
hash = hash * 23 + Alt.GetHashCode();
|
|
return hash;
|
|
}
|
|
}
|
|
}
|