using System; using System.Collections.Generic; using System.Linq; using System.Text; [Serializable] public class oPromotion { private int _recId = 0; public int recId { get {return this._recId;} set {this._recId = value;} } private int _layoutTypeId = 0; public int layoutTypeId { get {return this._layoutTypeId;} set {this._layoutTypeId = value;} } private DateTime _startDate = DateTime.MinValue; public DateTime startDate { get {return this._startDate;} set {this._startDate = value;} } private DateTime _endDate = DateTime.MinValue; public DateTime endDate { get {return this._endDate;} set {this._endDate = value;} } private DateTime _dateSaved = DateTime.MinValue; public DateTime dateSaved { get {return this._dateSaved;} set {this._dateSaved = value;} } private bool _isActive = false; public bool isActive { get {return this._isActive;} set {this._isActive = value;} } private bool _hideTitle = false; public bool hideTitle { get {return this._hideTitle;} set {this._hideTitle = value;} } private bool _hideCaption = false; public bool hideCaption { get {return this._hideCaption;} set {this._hideCaption = value;} } private bool _showOnHome = false; public bool showOnHome { get {return this._showOnHome;} set {this._showOnHome = value;} } private string _title = String.Empty; public string title { get {return this._title;} set {this._title = value;} } private string _caption = String.Empty; public string caption { get {return this._caption;} set {this._caption = value;} } }