Asp.net源码专业站
首页->商务办公->客户关系管理系统源码>>App-Code/EntityClass/EmployeeEntity.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:客户关系管理系统源码
当前文件:文件类型 myCRM/App_Code/EntityClass/EmployeeEntity.cs[2K,2009-6-12 11:48:08]打开代码结构图
普通视图
		            
1using System; 2 3/// <summary> 4/// 员工资料实体 5/// </summary> 6public class EmployeeEntity 7{ 8 //定义私有变量 9 private string _name = ""; 10 private string _sex = ""; 11 private string _phone = ""; 12 private string _mail = ""; 13 private DateTime _birthday; 14 private string _note = ""; 15 private string _depart = ""; 16 17 //无参数的构造函数 18 public EmployeeEntity() 19 { 20 } 21 22 /// <summary> 23 /// 有参数的构造函数,初始化联系资料 24 /// </summary> 25 /// <param name="name">姓名</param> 26 /// <param name="sex">性别</param> 27 /// <param name="phone">电话</param> 28 /// <param name="birthday">生日</param> 29 /// <param name="mail">邮箱</param> 30 /// <param name="note">备注</param> 31 /// <param name="depart">部门</param> 32 public EmployeeEntity(string name, string sex, string phone, DateTime birthday, string mail, string note, string depart) 33 { 34 //为私有变量赋值 35 this._depart = depart; 36 this._name = name; 37 this._sex = sex; 38 this._phone = phone; 39 this._birthday = birthday; 40 this._mail = mail; 41 this._note = note; 42 } 43 44 //员工姓名属性 45 public string Name 46 { 47 get { return _name; } 48 set { _name = value; } 49 } 50 //性别 51 public string Sex 52 { 53 get { return _sex; } 54 set { _sex = value; } 55 } 56 //电话属性 57 public string Phone 58 { 59 get { return _phone; } 60 set { _phone = value; } 61 } 62 //生日 63 public DateTime Birthday 64 { 65 get { return _birthday; } 66 set { _birthday = value; } 67 } 68 //Mail属性 69 public string Mail 70 { 71 get { return _mail; } 72 set { _mail = value; } 73 } 74 //备注属性 75 public string Note 76 { 77 get { return _note; } 78 set { _note = value; } 79 } 80 //员工所在部门 81 public string Depart 82 { 83 get { return _depart; } 84 set { _depart = value; } 85 } 86}
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:客户关系管理系统源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146