source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet.EHR/Model/CiaDivision.cs@ 1146

Last change on this file since 1146 was 1146, checked in by Sam Habiel, 13 years ago

Initial Import of BMX4

File size: 918 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using IndianHealthService.BMXNet.Model;
5
6namespace IndianHealthService.BMXNet.EHR.Model
7{
8 internal class CiaDivision:CiaObject,Division
9 {
10 public override bool Equals(object obj)
11 {
12 CiaDivision div = obj as CiaDivision;
13 if (div == null)
14 {
15 return false;
16 }
17 else
18 {
19 return this.Ien.Equals(div.Ien);
20 }
21 }
22
23 public override int GetHashCode()
24 {
25 return this.Ien.GetHashCode();
26 }
27 private String _name = null;
28
29 public String Name
30 {
31 get { return _name; }
32 set { _name = value; }
33 }
34
35 public override string ToString()
36 {
37 return this.Name;
38 }
39 }
40}
41
Note: See TracBrowser for help on using the repository browser.