//-------------------------------------------- // Author : Santosh Poojari // Created Date : 22/02/2008 // Email ID : santosh.poojari@gmail.com //-------------------------------------------- #region References using System; using System.Collections.Generic; #endregion namespace Project.Practice.MVP.Domain { public class Demand { #region Private Members private int _demandID = int.MinValue; private string _demandName = string.Empty; #endregion #region Public Constructors /// <summary> /// Default Constructor /// </summary> public Demand() { } /// <summary> /// Parameterized Constructor /// </summary> /// <param name="demandID"></param> public Demand(int demandID) { _demandID = demandID; } /// <summary> /// Chain Constructor /// </summary> /// <param name="demandID"></param> /// <param name="demandName"></param> public Demand(int demandID, string demandName) : this(demandID) { _demandName = demandName; } #endregion #region Public Property public int DemandID { get { return _demandID; } set { _demandID = value; } } public string DemandName { get { return _demandName; } set { _demandName = value; } } #endregion } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)