You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.5 KiB
65 lines
1.5 KiB
using FreeSql.DataAnnotations;
|
|
|
|
namespace BBWYB.Server.Model.Db
|
|
{
|
|
|
|
/// <summary>
|
|
/// 订单成本表
|
|
/// </summary>
|
|
[Table(Name = "ordercost", DisableSyncStructure = true)]
|
|
public partial class OrderCost {
|
|
|
|
[Column(StringLength = 50, IsPrimary = true, IsNullable = false)]
|
|
public string OrderId { get; set; }
|
|
|
|
|
|
[Column(DbType = "datetime")]
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发货快递费
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? DeliveryExpressFreight { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 是否手动编辑过成本
|
|
/// </summary>
|
|
|
|
public bool? IsManualEdited { get; set; } = false;
|
|
|
|
/// <summary>
|
|
/// 平台扣点金额
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? PlatformCommissionAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 平台扣点百分比
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,5)")]
|
|
public decimal? PlatformCommissionRatio { get; set; }
|
|
|
|
/// <summary>
|
|
/// 优惠金额
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal PreferentialAmount { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 利润
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? Profit { get; set; } = 0.00M;
|
|
|
|
/// <summary>
|
|
/// 采购金额
|
|
/// </summary>
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? PurchaseAmount { get; set; } = 0.00M;
|
|
|
|
[Column(DbType = "decimal(20,2)")]
|
|
public decimal? TotalCost { get; set; } = 0.00M;
|
|
}
|
|
|
|
}
|
|
|