/// 
///Data Object 
///BASIC CLASS FOR TABLE t_PublicNews
///By wm  
///on 08/04/2023
/// 
 
using System;
using System.Data;
using DeiNiu.Data.BaseObject;
 
namespace  DeiNiu.wms.Data.Model
{
	#region PublicNews_base
	/// 
	/// This object represents the properties and methods of a PublicNews_base.
    /// 
    [Serializable]
	public class PublicNews_base  : BaseModel { 
                       
                    internal string _news_title = String.Empty,_Onews_title= String.Empty;   
                    internal string _news_content = String.Empty,_Onews_content= String.Empty;   
                    internal bool _news_alert,_Onews_alert;   
                    internal int _news_authority,_Onews_authority;   
                    internal string _news_startdate = String.Empty,_Onews_startdate= String.Empty;   
                    internal string _news_endDate = String.Empty,_Onews_endDate= String.Empty;   
                       
                    internal string _create_time = String.Empty,_Ocreate_time= String.Empty;   
                       
		
		public  PublicNews_base () {
		}
		public  PublicNews_base (int id) {
			_id=id;
			getModel();
		}
		public  PublicNews_base(DataRow dr)
        {
            getModel(dr);
        }
          public PublicNews_base(System.Data.SqlClient.SqlConnection _Conn)
            : base(_Conn) 
        {
        }
          protected override void getImp()
        {
            model_imp = new PublicNews_base_Imp();  
        }
		#region Public Properties 
        public string  news_title{
			get {return _news_title;}
			 set {_news_title = value;}    
		}  
        
        public string  news_content{
			get {return _news_content;}
			 set {_news_content = value;}    
		}  
        
        public  bool   news_alert{
			get {return _news_alert;}
			 set {_news_alert = value;}    
		}  
        
        public  int   news_authority{
			get {return _news_authority;}
			 set {_news_authority = value;}    
		}  
        
        public string  news_startdate{
			get {return _news_startdate;}
			 set {_news_startdate = value;}    
		}  
        
        public string  news_endDate{
			get {return _news_endDate;}
			 set {_news_endDate = value;}    
		}  
        
        public  bool   dr{
			get {return _dr;}
			   
		}  
        
        public string  create_time{
			get {return _create_time;}
			 set {_create_time = value;}    
		}  
        
        public string  lastmodified{
			get {return _lastmodified;}
			   
		}  
        
		 
		#endregion
                 
      #region fieldNames 
      public enum fields{news_title,news_content,news_alert,news_authority,news_startdate,news_endDate}
      #endregion
    
	
	}
	#endregion
}