98 lines
2.6 KiB
C#
98 lines
2.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using SqlSugar;
|
|
using OfficeOpenXml.Attributes;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ARW.Model.Models.Business.LogisticsManage.DeliveryRules
|
|
{
|
|
/// <summary>
|
|
/// 配送模板区域及运费,数据实体对象
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-06-16
|
|
/// </summary>
|
|
[SugarTable("tb_delivery_rule")]
|
|
public class DeliveryRule : BusinessBase
|
|
{
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "delivery_rule_id")]
|
|
public int DeliveryRuleId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "delivery_rule_guid")]
|
|
public long DeliveryRuleGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :配送模板guid
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[JsonConverter(typeof(ValueToStringConverter))]
|
|
[SugarColumn(ColumnName = "delivery_guid")]
|
|
public long DeliveryGuid { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :可配送区域(城市id集)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "delivery_rule_region")]
|
|
public string DeliveryRuleRegion { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :可配送区域(文字展示)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "delivery_rule_region_text")]
|
|
public string DeliveryRuleRegionText { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :首件(个)/首重(Kg)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "delivery_rule_first")]
|
|
public decimal DeliveryRuleFirst { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :运费(元)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "delivery_rule_first_fee")]
|
|
public decimal DeliveryRuleFirstFee { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :续件/续重
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "delivery_rule_additional")]
|
|
public decimal DeliveryRuleAdditional { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 描述 :续费(元)
|
|
/// 空值 : false
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "delivery_rule_additional_fee")]
|
|
public decimal DeliveryRuleAdditionalFee { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
} |