DTO (Data Transfer Object) - smudge202/clean-living GitHub Wiki

Usage

A DTO is used to transfer a set of properties between other objects, normally services or larger components in a system. It helps to reduce dependencies by ensuring services are not dependent on each others models. It shouldn't transform data or have any logic.

Generally accepted as being a pattern.

Example

public class Order 
{
  public int Id { get; set; }
  public DateTime When { get; set; }
  public double Value { get; set; 
}

References