command pattern
This commit is contained in:
18
PacticeSolution/CommandPatternSample/Model/Emp.cs
Normal file
18
PacticeSolution/CommandPatternSample/Model/Emp.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CommandPatternSample.Model
|
||||
{
|
||||
internal class Emp
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Job { get; set; }
|
||||
public override string ToString()
|
||||
{
|
||||
return $"[ {this.Name}, {this.Job} ]";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user