67 lines
1.7 KiB
C#
67 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using ARW.Model.Models.Business.LogisticsManage.DeliveryRules;
|
|
|
|
namespace ARW.Model.Dto.Business.LogisticsManage.DeliveryRules
|
|
{
|
|
/// <summary>
|
|
/// 配送模板区域及运费输入对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-06-16
|
|
/// </summary>
|
|
public class DeliveryRuleDto
|
|
{
|
|
|
|
public int DeliveryRuleId { get; set; }
|
|
|
|
public long DeliveryRuleGuid { get; set; }
|
|
|
|
[Required(ErrorMessage = "配送模板guid不能为空")]
|
|
public long DeliveryGuid { get; set; }
|
|
|
|
[Required(ErrorMessage = "可配送区域(城市id集)不能为空")]
|
|
public string DeliveryRuleRegion { get; set; }
|
|
|
|
[Required(ErrorMessage = "可配送区域(文字展示)不能为空")]
|
|
public string DeliveryRuleRegionText { get; set; }
|
|
|
|
[Required(ErrorMessage = "首件(个)/首重(Kg)不能为空")]
|
|
public decimal DeliveryRuleFirst { get; set; }
|
|
|
|
[Required(ErrorMessage = "运费(元)不能为空")]
|
|
public decimal DeliveryRuleFirstFee { get; set; }
|
|
|
|
[Required(ErrorMessage = "续件/续重不能为空")]
|
|
public decimal DeliveryRuleAdditional { get; set; }
|
|
|
|
[Required(ErrorMessage = "续费(元)不能为空")]
|
|
public decimal DeliveryRuleAdditionalFee { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// 配送模板区域及运费查询对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-06-16
|
|
/// </summary>
|
|
public class DeliveryRuleQueryDto : PagerInfo
|
|
{
|
|
|
|
public long? DeliveryGuid { get; set; }
|
|
|
|
public string ids { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|