Some checks failed
Build and Deploy / deploy (push) Failing after 45s
新增 ChangePostShipStatus,限制发货后四态白名单,妥投成功仅可进入不可改出。 Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
829 B
C#
30 lines
829 B
C#
using System.ComponentModel.DataAnnotations;
|
||
|
||
namespace Oms.Application.Dtos.Orders;
|
||
|
||
/// <summary>
|
||
/// 出库后状态校正入参:仅允许在待上网 / 运输中 / 派送成功 / 派送失败之间变更;派送成功只进不出。
|
||
/// </summary>
|
||
public class OrderChangePostShipStatusInput
|
||
{
|
||
/// <summary>
|
||
/// 订单主键。
|
||
/// </summary>
|
||
[Required]
|
||
public int Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// 目标订单状态(pendingOnline / shipping / deliverySuccess / deliveryFailed)。
|
||
/// </summary>
|
||
[Required]
|
||
[StringLength(32)]
|
||
public string TargetStatus { get; set; } = string.Empty;
|
||
|
||
/// <summary>
|
||
/// 变更备注(必填,落操作日志)。
|
||
/// </summary>
|
||
[Required]
|
||
[StringLength(512)]
|
||
public string Remark { get; set; } = string.Empty;
|
||
}
|