key1_beacon_api/ARW.Model/Dto/Business/LogisticsManage/Deliverys/DeliveryDto.cs
2023-06-16 20:42:23 +08:00

62 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ARW.Model.Models.Business.LogisticsManage.Deliverys;
namespace ARW.Model.Dto.Business.LogisticsManage.Deliverys
{
/// <summary>
/// 配送模板输入对象
///
/// @author 黎文豪
/// @date 2023-06-16
/// </summary>
public class DeliveryDto
{
public int DeliveryId { get; set; }
public long DeliveryGuid { get; set; }
[Required(ErrorMessage = "店铺guid不能为空")]
public long ShopGuid { get; set; }
[Required(ErrorMessage = "模板名称不能为空")]
public string DeliveryName { get; set; }
[Required(ErrorMessage = "计费方式不能为空")]
public int DeliveryBillingMethod { get; set; }
[Required(ErrorMessage = "排序不能为空")]
public int DeliverySort { get; set; }
}
/// <summary>
/// 配送模板查询对象
///
/// @author 黎文豪
/// @date 2023-06-16
/// </summary>
public class DeliveryQueryDto : PagerInfo
{
public long? ShopGuid { get; set; }
public string DeliveryName { get; set; }
public int? DeliveryBillingMethod { get; set; }
public string ids { get; set; }
}
}