mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:23:27 +08:00
添加项目文件。
This commit is contained in:
523
CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs
Normal file
523
CoreCms.Net.Model/Entities/Order/CoreCmsOrder.cs
Normal file
@@ -0,0 +1,523 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/10/18 11:51:30
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public CoreCmsOrder()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
[Display(Name = "订单号")]
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String orderId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品总价
|
||||
/// </summary>
|
||||
[Display(Name = "商品总价")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal goodsAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 已支付的金额
|
||||
/// </summary>
|
||||
[Display(Name = "已支付的金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal payedAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单实际销售总额
|
||||
/// </summary>
|
||||
[Display(Name = "订单实际销售总额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal orderAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付状态
|
||||
/// </summary>
|
||||
[Display(Name = "支付状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 payStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发货状态
|
||||
/// </summary>
|
||||
[Display(Name = "发货状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 shipStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单状态
|
||||
/// </summary>
|
||||
[Display(Name = "订单状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 status { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型
|
||||
/// </summary>
|
||||
[Display(Name = "订单类型")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 orderType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货方式
|
||||
/// </summary>
|
||||
[Display(Name = "收货方式")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 receiptType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付方式代码
|
||||
/// </summary>
|
||||
[Display(Name = "支付方式代码")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String paymentCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付时间
|
||||
/// </summary>
|
||||
[Display(Name = "支付时间")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.DateTime? paymentTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 配送方式ID 关联ship.id
|
||||
/// </summary>
|
||||
[Display(Name = "配送方式ID 关联ship.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 logisticsId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 配送方式名称
|
||||
/// </summary>
|
||||
[Display(Name = "配送方式名称")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String logisticsName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 配送费用
|
||||
/// </summary>
|
||||
[Display(Name = "配送费用")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal costFreight { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 userId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 店铺ID 关联seller.id
|
||||
/// </summary>
|
||||
[Display(Name = "店铺ID 关联seller.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 sellerId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 售后状态
|
||||
/// </summary>
|
||||
[Display(Name = "售后状态")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 confirmStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 确认收货时间
|
||||
/// </summary>
|
||||
[Display(Name = "确认收货时间")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.DateTime? confirmTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 自提门店ID,0就是不门店自提
|
||||
/// </summary>
|
||||
[Display(Name = "自提门店ID,0就是不门店自提")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 storeId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货地区ID
|
||||
/// </summary>
|
||||
[Display(Name = "收货地区ID")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 shipAreaId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货详细地址
|
||||
/// </summary>
|
||||
[Display(Name = "收货详细地址")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String shipAddress { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货人姓名
|
||||
/// </summary>
|
||||
[Display(Name = "收货人姓名")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String shipName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货电话
|
||||
/// </summary>
|
||||
[Display(Name = "收货电话")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String shipMobile { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品总重量
|
||||
/// </summary>
|
||||
[Display(Name = "商品总重量")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal weight { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 开发票
|
||||
/// </summary>
|
||||
[Display(Name = "开发票")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 taxType { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 税号
|
||||
/// </summary>
|
||||
[Display(Name = "税号")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String taxCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发票抬头
|
||||
/// </summary>
|
||||
[Display(Name = "发票抬头")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String taxTitle { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 使用积分
|
||||
/// </summary>
|
||||
[Display(Name = "使用积分")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 point { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 积分抵扣金额
|
||||
/// </summary>
|
||||
[Display(Name = "积分抵扣金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal pointMoney { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单优惠金额
|
||||
/// </summary>
|
||||
[Display(Name = "订单优惠金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal orderDiscountAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品优惠金额
|
||||
/// </summary>
|
||||
[Display(Name = "商品优惠金额")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal goodsDiscountAmount { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券优惠额度
|
||||
/// </summary>
|
||||
[Display(Name = "优惠券优惠额度")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal couponDiscountAmount { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券信息
|
||||
/// </summary>
|
||||
[Display(Name = "优惠券信息")]
|
||||
|
||||
public System.String coupon { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 优惠信息
|
||||
/// </summary>
|
||||
[Display(Name = "优惠信息")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String promotionList { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 买家备注
|
||||
/// </summary>
|
||||
[Display(Name = "买家备注")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String memo { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 下单IP
|
||||
/// </summary>
|
||||
[Display(Name = "下单IP")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String ip { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 卖家备注
|
||||
/// </summary>
|
||||
[Display(Name = "卖家备注")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:510,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String mark { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单来源
|
||||
/// </summary>
|
||||
[Display(Name = "订单来源")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 source { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否评论
|
||||
/// </summary>
|
||||
[Display(Name = "是否评论")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Boolean isComment { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 删除标志
|
||||
/// </summary>
|
||||
[Display(Name = "删除标志")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Boolean isdel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联营销类型对象序列
|
||||
/// </summary>
|
||||
[Display(Name = "关联营销类型对象序列")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 objectId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
public System.DateTime? updateTime { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
170
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs
Normal file
170
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItem.cs
Normal file
@@ -0,0 +1,170 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:58
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单明细表
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsOrderItem",TableDescription = "订单明细表")]
|
||||
public partial class CoreCmsOrderItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单明细表
|
||||
/// </summary>
|
||||
public CoreCmsOrderItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[Display(Name = "序号")]
|
||||
[SugarColumn(ColumnDescription = "序号", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 订单ID 关联order.id
|
||||
/// </summary>
|
||||
[Display(Name = "订单ID 关联order.id")]
|
||||
[SugarColumn(ColumnDescription = "订单ID 关联order.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 商品ID 关联goods.id
|
||||
/// </summary>
|
||||
[Display(Name = "商品ID 关联goods.id")]
|
||||
[SugarColumn(ColumnDescription = "商品ID 关联goods.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 goodsId { get; set; }
|
||||
/// <summary>
|
||||
/// 货品ID 关联products.id
|
||||
/// </summary>
|
||||
[Display(Name = "货品ID 关联products.id")]
|
||||
[SugarColumn(ColumnDescription = "货品ID 关联products.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 productId { get; set; }
|
||||
/// <summary>
|
||||
/// 货品编码
|
||||
/// </summary>
|
||||
[Display(Name = "货品编码")]
|
||||
[SugarColumn(ColumnDescription = "货品编码", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String sn { get; set; }
|
||||
/// <summary>
|
||||
/// 商品编码
|
||||
/// </summary>
|
||||
[Display(Name = "商品编码")]
|
||||
[SugarColumn(ColumnDescription = "商品编码", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String bn { get; set; }
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
[SugarColumn(ColumnDescription = "商品名称")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 货品价格单价
|
||||
/// </summary>
|
||||
[Display(Name = "货品价格单价")]
|
||||
[SugarColumn(ColumnDescription = "货品价格单价")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal price { get; set; }
|
||||
/// <summary>
|
||||
/// 货品成本价单价
|
||||
/// </summary>
|
||||
[Display(Name = "货品成本价单价")]
|
||||
[SugarColumn(ColumnDescription = "货品成本价单价")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal costprice { get; set; }
|
||||
/// <summary>
|
||||
/// 市场价
|
||||
/// </summary>
|
||||
[Display(Name = "市场价")]
|
||||
[SugarColumn(ColumnDescription = "市场价")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal mktprice { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[Display(Name = "图片")]
|
||||
[SugarColumn(ColumnDescription = "图片")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String imageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
[Display(Name = "数量")]
|
||||
[SugarColumn(ColumnDescription = "数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 nums { get; set; }
|
||||
/// <summary>
|
||||
/// 总价
|
||||
/// </summary>
|
||||
[Display(Name = "总价")]
|
||||
[SugarColumn(ColumnDescription = "总价")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal amount { get; set; }
|
||||
/// <summary>
|
||||
/// 商品优惠总金额
|
||||
/// </summary>
|
||||
[Display(Name = "商品优惠总金额")]
|
||||
[SugarColumn(ColumnDescription = "商品优惠总金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal promotionAmount { get; set; }
|
||||
/// <summary>
|
||||
/// 促销信息
|
||||
/// </summary>
|
||||
[Display(Name = "促销信息")]
|
||||
[SugarColumn(ColumnDescription = "促销信息", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String promotionList { get; set; }
|
||||
/// <summary>
|
||||
/// 总重量
|
||||
/// </summary>
|
||||
[Display(Name = "总重量")]
|
||||
[SugarColumn(ColumnDescription = "总重量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal weight { get; set; }
|
||||
/// <summary>
|
||||
/// 发货数量
|
||||
/// </summary>
|
||||
[Display(Name = "发货数量")]
|
||||
[SugarColumn(ColumnDescription = "发货数量")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sendNums { get; set; }
|
||||
/// <summary>
|
||||
/// 货品明细序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "货品明细序列号存储")]
|
||||
[SugarColumn(ColumnDescription = "货品明细序列号存储", IsNullable = true)]
|
||||
public System.String addon { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
|
||||
public System.DateTime? updateTime { get; set; }
|
||||
}
|
||||
}
|
||||
41
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItemPartial.cs
Normal file
41
CoreCms.Net.Model/Entities/Order/CoreCmsOrderItemPartial.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单明细表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrderItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货商品数量
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int reshipNums { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 已发货的退货商品
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int reshipedNums { get; set; } = 0;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当前退货数量
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int atPresentReshipNums { get; set; } = 0;
|
||||
|
||||
[SugarColumn(IsIgnore = true)] public object promotionObj { get; set; }
|
||||
}
|
||||
}
|
||||
77
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLog.cs
Normal file
77
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLog.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021-06-08 22:14:58
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单记录表
|
||||
/// </summary>
|
||||
[SugarTable("CoreCmsOrderLog",TableDescription = "订单记录表")]
|
||||
public partial class CoreCmsOrderLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单记录表
|
||||
/// </summary>
|
||||
public CoreCmsOrderLog()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
[Display(Name = "ID")]
|
||||
[SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 订单ID
|
||||
/// </summary>
|
||||
[Display(Name = "订单ID")]
|
||||
[SugarColumn(ColumnDescription = "订单ID", IsNullable = true)]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID")]
|
||||
[SugarColumn(ColumnDescription = "用户ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
[Display(Name = "类型")]
|
||||
[SugarColumn(ColumnDescription = "类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 描述介绍
|
||||
/// </summary>
|
||||
[Display(Name = "描述介绍")]
|
||||
[SugarColumn(ColumnDescription = "描述介绍", IsNullable = true)]
|
||||
[StringLength(100, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String msg { get; set; }
|
||||
/// <summary>
|
||||
/// 请求的数据json
|
||||
/// </summary>
|
||||
[Display(Name = "请求的数据json")]
|
||||
[SugarColumn(ColumnDescription = "请求的数据json", IsNullable = true)]
|
||||
public System.String data { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[SugarColumn(ColumnDescription = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.DateTime createTime { get; set; }
|
||||
}
|
||||
}
|
||||
26
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLogPartial.cs
Normal file
26
CoreCms.Net.Model/Entities/Order/CoreCmsOrderLogPartial.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单记录表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrderLog
|
||||
{
|
||||
/// <summary>
|
||||
/// 类型说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string typeText { get; set; }
|
||||
}
|
||||
}
|
||||
230
CoreCms.Net.Model/Entities/Order/CoreCmsOrderPartial.cs
Normal file
230
CoreCms.Net.Model/Entities/Order/CoreCmsOrderPartial.cs
Normal file
@@ -0,0 +1,230 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单详情
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsOrderItem> items { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户信息
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsUser user { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付单关系
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillPayments> paymentItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 退款单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillRefund> refundItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 提货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillLading> ladingItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 退货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillReship> returnItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillAftersales> aftersalesItem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillDelivery> delivery { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 门店
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsStore store { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送方式
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsShip logistics { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取订单全局状态
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public int globalStatus { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 获取订单全局状态描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string globalStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 收货地区三级地址
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string shipAreaName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付方式中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string paymentName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券列表
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsCoupon> couponObj { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// 促销信息
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public object promotionObj { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 倒计时标准时间
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public DateTime? remainingTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 倒计时文字说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string remaining { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发票信息
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public object invoice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后单号
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string billAftersalesId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 已经退过款的金额
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public decimal refunded { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 是否能发起售后
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public bool addAftersalesStatus { get; set; } = false;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 操作日志
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsOrderLog> orderLog { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string payStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发货状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string shipStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 来源状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string sourceText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 订单类型状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string typeText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 发票类型
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string taxTypeText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付方式说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string paymentCodeText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 确认收货状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string confirmStatusText { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 操作码
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string operating { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 售后情况
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string afterSaleStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user