Files
BeWoPlaner/Data/Entities/ImageSimple.cs
2024-08-26 15:51:36 +02:00

71 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using BS.Shared;
using BS.Shared.Core;
namespace BeWo.Data.Entities
{
public class ImageSimple : BeWoEntityBase
{
private BeWoEntityBase _Parent;
private string _Filename;
private string _Fullname;
private byte[] _ImageData;
public ImageSimple()
{
_Tid = TableID.ImageSimple;
}
public virtual BeWoEntityBase Parent
{
get { return _Parent; }
set
{
if (!AreDifferent(_Parent, value))
return;
_Parent = value;
}
}
public virtual string Filename
{
get { return _Filename; }
set
{
if (!AreDifferent(_Filename, value))
return;
_Filename = value;
}
}
public virtual string Fullname
{
get { return _Fullname; }
set
{
if (!AreDifferent(_Fullname, value))
return;
_Fullname = value;
}
}
public virtual byte[] ImageData
{
get { return _ImageData; }
set
{
if (!AreDifferent(_ImageData, value))
return;
_ImageData = value;
}
}
}
}