码迷,mamicode.com
首页 > 其他好文 > 详细

员工类

时间:2017-04-12 23:18:23      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:app   collect   generic   oid   blog   bsp   orm   span   hid   

技术分享
 1 using System;
 2 using System.Collections.Generic;
 3 using System.Linq;
 4 using System.Text;
 5 using System.Threading.Tasks;
 6 
 7 namespace WindowsFormsApplication2
 8 {
 9     //员工类
10    public  class Employee
11     {
12         public int Age { get; set; }
13         public string ID { get; set; }
14         public string Name { get; set; }
15         public List<Abctract> WorKList { get; set; }
16 
17         //构造函数
18         public Employee(string id, int age, string name, List<Abctract> WorKList)
19         {
20             this.ID = id;
21             this.Age = age;
22             this.Name = name;
23             this.WorKList = WorKList;
24 
25 
26 
27         }
28         virtual public string DOWork()
29         {
30 
31             return "";
32         }
33         public void info()
34         {
35 
36         }
37     }
38 }
View Code

 

员工类

标签:app   collect   generic   oid   blog   bsp   orm   span   hid   

原文地址:http://www.cnblogs.com/nancheng/p/6701693.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!