Hidistro.Entities/Settings/FreeShipping.cs
(完整代码) 1KBnamespace Hidistro.Entities.Settings
{
using Hishop.Components.Validation.Validators;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public class FreeShipping
{
private IList<FreeShippingRegion> freeShippingRegions;
[RegexValidator(@"(^\d+(\$\d+)?$)", Ruleset="ValFree", MessageTemplate="包邮条件未设置!")]
public string ConditionNumber { get; set; }
public int ConditionType { get; set; }
public int FreeId { get; set; }
public IList<FreeShippingRegion> FreeShippingRegions
{
get
{
return this.freeShippingRegions;
}
set
{
this.freeShippingRegions = value;
}
}
[RangeValidator(1, RangeBoundaryType.Inclusive, 10, RangeBoundaryType.Inclusive, Ruleset="ValFree", MessageTemplate="运输方式参数不正确!")]
public int ModeId { get; set; }
public string RegionIds { get; set; }
public int TemplateId { get; set; }
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
