mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
788 B
34 lines
788 B
using ZeroLevel.Services.Serialization;
|
|
|
|
namespace ZeroLevel.DocumentObjectModel.Flow
|
|
{
|
|
public class Column :
|
|
ContentElement
|
|
{
|
|
public string Caption { get; set; }
|
|
|
|
public Column() : base(ContentElementType.Column)
|
|
{
|
|
}
|
|
|
|
public Column(string caption) : base(ContentElementType.Column)
|
|
{
|
|
this.Caption = caption;
|
|
}
|
|
public Column(IBinaryReader reader) : base(ContentElementType.Column)
|
|
{
|
|
Deserialize(reader);
|
|
}
|
|
|
|
public override void Deserialize(IBinaryReader reader)
|
|
{
|
|
Caption = reader.ReadString();
|
|
}
|
|
|
|
public override void Serialize(IBinaryWriter writer)
|
|
{
|
|
writer.WriteString(Caption);
|
|
}
|
|
}
|
|
}
|