62 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			62 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Collections.Generic;
							 | 
						|||
| 
								 | 
							
								using System.Linq;
							 | 
						|||
| 
								 | 
							
								using System.Text;
							 | 
						|||
| 
								 | 
							
								using Ease.Core;
							 | 
						|||
| 
								 | 
							
								using Ease.Core.Model;
							 | 
						|||
| 
								 | 
							
								using System.Data;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace HRM.BO
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
								    #region Organization
							 | 
						|||
| 
								 | 
							
								    public class Organization : BasicBaseObject
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        #region Constructor
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public Organization()
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								           
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        #endregion
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        #region Properties
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public string Name { get; set; }
							 | 
						|||
| 
								 | 
							
								        public string Code { get; set; }
							 | 
						|||
| 
								 | 
							
								        public string Address { get; set; }
							 | 
						|||
| 
								 | 
							
								        public string AddressLine2 { get; set; }
							 | 
						|||
| 
								 | 
							
								        public string AddressLine3 { get; set; }
							 | 
						|||
| 
								 | 
							
								        public string RecipeintDesignation { get; set; }
							 | 
						|||
| 
								 | 
							
								        public int? CountryId { get; set; }
							 | 
						|||
| 
								 | 
							
								        public EnumLetterOrganizationType OrganizationType { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								    
							 | 
						|||
| 
								 | 
							
								        //#region Service Factory ILetterRequestService : ILetterRequestService
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        //internal static ILetterRequestService Service
							 | 
						|||
| 
								 | 
							
								        //{
							 | 
						|||
| 
								 | 
							
								        //    get { return Services.Factory.CreateService<ILetterRequestService>(typeof(ILetterRequestService)); }
							 | 
						|||
| 
								 | 
							
								        //}
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        //#endregion
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        #endregion
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								    #endregion
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								    #region IOrganizationService 
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								    public interface IOrganizationService
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        Organization Get(int id);
							 | 
						|||
| 
								 | 
							
								        List<Organization> Get(EnumStatus status);
							 | 
						|||
| 
								 | 
							
								        int Save(Organization item);
							 | 
						|||
| 
								 | 
							
								        void Delete(int id);
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								    #endregion
							 | 
						|||
| 
								 | 
							
								}
							 |