using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.CommMng.Models { [JsonObject] public class SourceModel { #region private Fields private string _sourceid = String.Empty; private string _sourceName = String.Empty; private string _corpid = String.Empty; #endregion #region Public Properties public string SourceID { get { return _sourceid; } set { _sourceid = value; } } public string SourceName { get { return _sourceName; } set { _sourceName = value; } } public string CorpID { get { return _corpid; } set { _corpid = value; } } public string SOURCECODE { get; set; } public string ENAME { get; set; } #endregion } [JsonObject] public class SourceDetailModel { #region private Fields private string _sourcedetailid = String.Empty; private string _sourceid = String.Empty; private string _sourcedetail = String.Empty; #endregion #region Public Properties public string SourceDetailID { get { return _sourcedetailid; } set { _sourcedetailid = value; } } public string SourceID { get { return _sourceid; } set { _sourceid = value; } } public string SourceDetail { get { return _sourcedetail; } set { _sourcedetail = value; } } public string ENAME { get; set; } #endregion } }