using System;
using System.Collections.Generic;
using System.Text;
using Ubik.Engine.Client;
namespace StoresAndStockPricing.Model{
/// <summary>
/// Facilities include retail stores, warehouses, etc.
/// </summary>
public class Facility : Individual
{
NonEmptyTrackedString _name;
TrackedString _notes;
protected Facility(Session session)
: base(session)
{
_name = new NonEmptyTrackedString(this, "Name");
_notes = new TrackedString(this, "Notes", StandardFieldLengths.NotesLength);
}
public Facility(Session session, string name)
: this(session)
{
_name.Reset(name);
}
public string Name
{
get
{
return _name.Value;
}
set
{
_name.Value = value;
}
}
public string Notes
{
get
{
return _notes.Value;
}
set
{
_notes.Value = value;
}
}
}
}
|