20 lines
538 B
C#
20 lines
538 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace ApiExplorerWebSite
|
|
{
|
|
public class OrderDTO
|
|
{
|
|
public string CustomerId { get; set; }
|
|
|
|
[FromHeader(Name = "Referrer")]
|
|
public string ReferrerId { get; set; }
|
|
|
|
public OrderDetailsDTO Details { get; set; }
|
|
|
|
[FromForm]
|
|
public CustomerCommentsDTO Comments { get; set; }
|
|
}
|
|
} |