19 lines
390 B
C#
19 lines
390 B
C#
|
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} ]";
|
|||
|
}
|
|||
|
}
|
|||
|
}
|