fix 订餐返回当前信息,增加数量入参和响应

This commit is contained in:
2024-03-21 10:35:24 +08:00
parent 0e1f6cb4a0
commit 367ede2eeb
8 changed files with 113 additions and 42 deletions

View File

@@ -30,6 +30,12 @@ public class BookingMealRequest : IValidatableObject
[Required(ErrorMessage = "选菜不能为空")]
public string DishesCode { get; set; }
/// <summary>
/// 购买数量
/// </summary>
[Range(0, 100)]
public int Number { get; set; }
/// <summary>
/// 消费来源
/// </summary>