track/src/SJZY.Track.Application.Contract/Dtos/ProvideServices/LinkOrderInput.cs

35 lines
751 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.ComponentModel.DataAnnotations;
namespace SJZY.Track.Application.Contract.Dtos.ProvideServices;
public class LinkOrderInput
{
/// <summary>
/// false解绑,true关联
/// </summary>
[Required]
public bool IsLink { get; set; }
/// <summary>
/// 订单类型,必填
/// </summary>
[Required]
public int OrderType { get; set; }
/// <summary>
/// 订单号,必填
/// </summary>
[Required]
public string OrderNo { get; set; }
/// <summary>
/// 关联单类型
/// </summary>
[Required]
public int LinkOrderType { get; set; }
/// <summary>
/// 关联的单号
/// </summary>
public List<string> LinkOrderNos { get; set; } = new();
}