mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-24 20:37:20 +08:00
添加项目文件。
This commit is contained in:
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersales.cs
Normal file
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersales.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillAftersales",TableDescription = "退货单表")]
|
||||
public partial class CoreCmsBillAftersales
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单表
|
||||
/// </summary>
|
||||
public CoreCmsBillAftersales()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 售后单id
|
||||
/// </summary>
|
||||
[Display(Name = "售后单id")]
|
||||
[SugarColumn(ColumnDescription = "售后单id", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单ID
|
||||
/// </summary>
|
||||
[Display(Name = "订单ID")]
|
||||
[SugarColumn(ColumnDescription = "订单ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[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 = "退款金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal refundAmount { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 退款原因
|
||||
/// </summary>
|
||||
[Display(Name = "退款原因")]
|
||||
[SugarColumn(ColumnDescription = "退款原因")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String reason { get; set; }
|
||||
/// <summary>
|
||||
/// 卖家备注,如果审核失败了,会显示到前端
|
||||
/// </summary>
|
||||
[Display(Name = "卖家备注,如果审核失败了,会显示到前端")]
|
||||
[SugarColumn(ColumnDescription = "卖家备注,如果审核失败了,会显示到前端", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mark { 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillAftersalesImages",TableDescription = "商品图片关联表")]
|
||||
public partial class CoreCmsBillAftersalesImages
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品图片关联表
|
||||
/// </summary>
|
||||
public CoreCmsBillAftersalesImages()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 售后单id
|
||||
/// </summary>
|
||||
[Display(Name = "售后单id")]
|
||||
[SugarColumn(ColumnDescription = "售后单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 图片地址
|
||||
/// </summary>
|
||||
[Display(Name = "图片地址")]
|
||||
[SugarColumn(ColumnDescription = "图片地址")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String imageUrl { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sortId { get; set; }
|
||||
}
|
||||
}
|
||||
120
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersalesItem.cs
Normal file
120
CoreCms.Net.Model/Entities/Bill/CoreCmsBillAftersalesItem.cs
Normal file
@@ -0,0 +1,120 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillAftersalesItem",TableDescription = "售后单明细表")]
|
||||
public partial class CoreCmsBillAftersalesItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 售后单明细表
|
||||
/// </summary>
|
||||
public CoreCmsBillAftersalesItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 售后单id
|
||||
/// </summary>
|
||||
[Display(Name = "售后单id")]
|
||||
[SugarColumn(ColumnDescription = "售后单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单明细ID 关联order_items.id
|
||||
/// </summary>
|
||||
[Display(Name = "订单明细ID 关联order_items.id")]
|
||||
[SugarColumn(ColumnDescription = "订单明细ID 关联order_items.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 orderItemsId { 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 = "商品名称", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[Display(Name = "图片")]
|
||||
[SugarColumn(ColumnDescription = "图片")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(255, 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 = "货品明细序列号存储", 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using System.Collections.Generic;
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillAftersales
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品子集
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillAftersalesItem> items { get; set; } = new List<CoreCmsBillAftersalesItem>();
|
||||
|
||||
/// <summary>
|
||||
/// 图片子集
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillAftersalesImages> images { get; set; } = new List<CoreCmsBillAftersalesImages>();
|
||||
/// <summary>
|
||||
/// 退款单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsBillRefund billRefund { get; set; }
|
||||
/// <summary>
|
||||
/// 退货单
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsBillReship billReship { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态说明
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
|
||||
public string userNickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 关联订单数据
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public CoreCmsOrder order { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
163
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDelivery.cs
Normal file
163
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDelivery.cs
Normal file
@@ -0,0 +1,163 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/7/12 0:34:54
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillDelivery
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单序列
|
||||
/// </summary>
|
||||
[Display(Name = "发货单序列")]
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string deliveryId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
[Display(Name = "订单号")]
|
||||
[StringLength(500, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string orderId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 物流公司编码
|
||||
/// </summary>
|
||||
[Display(Name = "物流公司编码")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string logiCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 物流单号
|
||||
/// </summary>
|
||||
[Display(Name = "物流单号")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string logiNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 快递物流信息
|
||||
/// </summary>
|
||||
[Display(Name = "快递物流信息")]
|
||||
public string logiInformation { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 快递是否不更新
|
||||
/// </summary>
|
||||
[Display(Name = "快递是否不更新")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public bool logiStatus { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货地区ID
|
||||
/// </summary>
|
||||
[Display(Name = "收货地区ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public int shipAreaId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货详细地址
|
||||
/// </summary>
|
||||
[Display(Name = "收货详细地址")]
|
||||
[StringLength(200, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string shipAddress { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货人姓名
|
||||
/// </summary>
|
||||
[Display(Name = "收货人姓名")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string shipName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 收货电话
|
||||
/// </summary>
|
||||
[Display(Name = "收货电话")]
|
||||
[StringLength(50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string shipMobile { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public int status { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "备注")]
|
||||
[StringLength(255, ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public string memo { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 确认收货时间
|
||||
/// </summary>
|
||||
[Display(Name = "确认收货时间")]
|
||||
public DateTime? confirmTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Display(Name = "创建时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
public DateTime createTime { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
public DateTime? updateTime { get; set; }
|
||||
}
|
||||
}
|
||||
164
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDeliveryItem.cs
Normal file
164
CoreCms.Net.Model/Entities/Bill/CoreCmsBillDeliveryItem.cs
Normal file
@@ -0,0 +1,164 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/7/12 0:52:34
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单详情表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillDeliveryItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public CoreCmsBillDeliveryItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
[Display(Name = "订单编号")]
|
||||
|
||||
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String orderId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发货单号 关联bill_delivery.id
|
||||
/// </summary>
|
||||
[Display(Name = "发货单号 关联bill_delivery.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String deliveryId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品ID 关联goods.id
|
||||
/// </summary>
|
||||
[Display(Name = "商品ID 关联goods.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 goodsId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 货品ID 关联products.id
|
||||
/// </summary>
|
||||
[Display(Name = "货品ID 关联products.id")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 productId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 货品编码
|
||||
/// </summary>
|
||||
[Display(Name = "货品编码")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:30,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String sn { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品编码
|
||||
/// </summary>
|
||||
[Display(Name = "商品编码")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:30,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String bn { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
[Display(Name = "商品名称")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength:200,ErrorMessage = "{0}不能超过{1}字")]
|
||||
|
||||
|
||||
public System.String name { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 发货数量
|
||||
/// </summary>
|
||||
[Display(Name = "发货数量")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Int32 nums { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 重量
|
||||
/// </summary>
|
||||
[Display(Name = "重量")]
|
||||
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
|
||||
|
||||
public System.Decimal weight { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 货品明细序列号存储
|
||||
/// </summary>
|
||||
[Display(Name = "货品明细序列号存储")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public System.String addon { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 发货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillDelivery
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 物流名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String logiName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 所属区域三级全名
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String shipAreaIdName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
106
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLading.cs
Normal file
106
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLading.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillLading",TableDescription = "提货单表")]
|
||||
public partial class CoreCmsBillLading
|
||||
{
|
||||
/// <summary>
|
||||
/// 提货单表
|
||||
/// </summary>
|
||||
public CoreCmsBillLading()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 提货单号
|
||||
/// </summary>
|
||||
[Display(Name = "提货单号")]
|
||||
[SugarColumn(ColumnDescription = "提货单号", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String id { get; set; }
|
||||
/// <summary>
|
||||
/// 订单号
|
||||
/// </summary>
|
||||
[Display(Name = "订单号")]
|
||||
[SugarColumn(ColumnDescription = "订单号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[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 storeId { get; set; }
|
||||
/// <summary>
|
||||
/// 提货人姓名
|
||||
/// </summary>
|
||||
[Display(Name = "提货人姓名")]
|
||||
[SugarColumn(ColumnDescription = "提货人姓名", IsNullable = true)]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 提货手机号
|
||||
/// </summary>
|
||||
[Display(Name = "提货手机号")]
|
||||
[SugarColumn(ColumnDescription = "提货手机号", IsNullable = true)]
|
||||
[StringLength(15, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String mobile { get; set; }
|
||||
/// <summary>
|
||||
/// 处理店员ID
|
||||
/// </summary>
|
||||
[Display(Name = "处理店员ID")]
|
||||
[SugarColumn(ColumnDescription = "处理店员ID")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 clerkId { get; set; }
|
||||
/// <summary>
|
||||
/// 提货时间
|
||||
/// </summary>
|
||||
[Display(Name = "提货时间")]
|
||||
[SugarColumn(ColumnDescription = "提货时间", IsNullable = true)]
|
||||
public System.DateTime? pickUpTime { get; set; }
|
||||
/// <summary>
|
||||
/// 是否提货
|
||||
/// </summary>
|
||||
[Display(Name = "是否提货")]
|
||||
[SugarColumn(ColumnDescription = "是否提货")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean status { 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; }
|
||||
/// <summary>
|
||||
/// 删除时间
|
||||
/// </summary>
|
||||
[Display(Name = "删除时间")]
|
||||
[SugarColumn(ColumnDescription = "删除时间")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isDel { get; set; }
|
||||
}
|
||||
}
|
||||
52
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLadingPartial.cs
Normal file
52
CoreCms.Net.Model/Entities/Bill/CoreCmsBillLadingPartial.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using System.Collections.Generic;
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 提货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillLading
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 关联门店名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String storeName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String statusName { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 店员昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String clerkIdName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 关联订单项目
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsOrderItem> orderItems { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
129
CoreCms.Net.Model/Entities/Bill/CoreCmsBillPayments.cs
Normal file
129
CoreCms.Net.Model/Entities/Bill/CoreCmsBillPayments.cs
Normal file
@@ -0,0 +1,129 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/7/10 23:15:12
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using SqlSugar;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillPayments
|
||||
{
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
public CoreCmsBillPayments()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 支付单号
|
||||
/// </summary>
|
||||
[Display(Name = "支付单号")]
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 20, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String paymentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 资源编号
|
||||
/// </summary>
|
||||
[Display(Name = "资源编号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 20, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String sourceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付金额
|
||||
/// </summary>
|
||||
[Display(Name = "支付金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Decimal money { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 userId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单据类型
|
||||
/// </summary>
|
||||
[Display(Name = "单据类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付状态
|
||||
/// </summary>
|
||||
[Display(Name = "支付状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
|
||||
public System.Int32 status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付类型编码 关联payments.code
|
||||
/// </summary>
|
||||
[Display(Name = "支付类型编码 关联payments.code")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String paymentCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付单生成IP
|
||||
/// </summary>
|
||||
[Display(Name = "支付单生成IP")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String ip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付的时候需要的参数,存的是json格式的一维数组
|
||||
/// </summary>
|
||||
[Display(Name = "支付的时候需要的参数,存的是json格式的一维数组")]
|
||||
[StringLength(maximumLength: 200, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String parameters { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付回调后的状态描述
|
||||
/// </summary>
|
||||
[Display(Name = "支付回调后的状态描述")]
|
||||
[StringLength(maximumLength: 255, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String payedMsg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 第三方平台交易流水号
|
||||
/// </summary>
|
||||
[Display(Name = "第三方平台交易流水号")]
|
||||
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public System.String tradeNo { 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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
using System.Collections.Generic;
|
||||
using SqlSugar;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillPayments
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 支付代码描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String paymentCodeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 支付标题
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String payTitle { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public System.String userNickName { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
114
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefund.cs
Normal file
114
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefund.cs
Normal file
@@ -0,0 +1,114 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillRefund",TableDescription = "退款单表")]
|
||||
public partial class CoreCmsBillRefund
|
||||
{
|
||||
/// <summary>
|
||||
/// 退款单表
|
||||
/// </summary>
|
||||
public CoreCmsBillRefund()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 退款单ID
|
||||
/// </summary>
|
||||
[Display(Name = "退款单ID")]
|
||||
[SugarColumn(ColumnDescription = "退款单ID", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String refundId { get; set; }
|
||||
/// <summary>
|
||||
/// 售后单id
|
||||
/// </summary>
|
||||
[Display(Name = "售后单id")]
|
||||
[SugarColumn(ColumnDescription = "售后单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 退款金额
|
||||
/// </summary>
|
||||
[Display(Name = "退款金额")]
|
||||
[SugarColumn(ColumnDescription = "退款金额")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Decimal money { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
[SugarColumn(ColumnDescription = "用户ID 关联user.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 资源id,根据type不同而关联不同的表
|
||||
/// </summary>
|
||||
[Display(Name = "资源id,根据type不同而关联不同的表")]
|
||||
[SugarColumn(ColumnDescription = "资源id,根据type不同而关联不同的表")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String sourceId { get; set; }
|
||||
/// <summary>
|
||||
/// 资源类型1=订单,2充值单
|
||||
/// </summary>
|
||||
[Display(Name = "资源类型1=订单,2充值单")]
|
||||
[SugarColumn(ColumnDescription = "资源类型1=订单,2充值单")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 type { get; set; }
|
||||
/// <summary>
|
||||
/// 退款支付类型编码 默认原路返回 关联支付单表支付编码
|
||||
/// </summary>
|
||||
[Display(Name = "退款支付类型编码 默认原路返回 关联支付单表支付编码")]
|
||||
[SugarColumn(ColumnDescription = "退款支付类型编码 默认原路返回 关联支付单表支付编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String paymentCode { get; set; }
|
||||
/// <summary>
|
||||
/// 第三方平台交易流水号
|
||||
/// </summary>
|
||||
[Display(Name = "第三方平台交易流水号")]
|
||||
[SugarColumn(ColumnDescription = "第三方平台交易流水号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String tradeNo { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 退款失败原因
|
||||
/// </summary>
|
||||
[Display(Name = "退款失败原因")]
|
||||
[SugarColumn(ColumnDescription = "退款失败原因", IsNullable = true)]
|
||||
public System.String memo { 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; }
|
||||
}
|
||||
}
|
||||
39
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefundPartial.cs
Normal file
39
CoreCms.Net.Model/Entities/Bill/CoreCmsBillRefundPartial.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsBillRefund
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付代码描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string paymentCodeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReship.cs
Normal file
101
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReship.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillReship",TableDescription = "退货单表")]
|
||||
public partial class CoreCmsBillReship
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单表
|
||||
/// </summary>
|
||||
public CoreCmsBillReship()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 退货单号
|
||||
/// </summary>
|
||||
[Display(Name = "退货单号")]
|
||||
[SugarColumn(ColumnDescription = "退货单号", IsPrimaryKey = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String reshipId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单序列
|
||||
/// </summary>
|
||||
[Display(Name = "订单序列")]
|
||||
[SugarColumn(ColumnDescription = "订单序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 售后单序列
|
||||
/// </summary>
|
||||
[Display(Name = "售后单序列")]
|
||||
[SugarColumn(ColumnDescription = "售后单序列")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String aftersalesId { get; set; }
|
||||
/// <summary>
|
||||
/// 用户ID 关联user.id
|
||||
/// </summary>
|
||||
[Display(Name = "用户ID 关联user.id")]
|
||||
[SugarColumn(ColumnDescription = "用户ID 关联user.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 userId { get; set; }
|
||||
/// <summary>
|
||||
/// 物流公司编码
|
||||
/// </summary>
|
||||
[Display(Name = "物流公司编码")]
|
||||
[SugarColumn(ColumnDescription = "物流公司编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String logiCode { get; set; }
|
||||
/// <summary>
|
||||
/// 物流单号
|
||||
/// </summary>
|
||||
[Display(Name = "物流单号")]
|
||||
[SugarColumn(ColumnDescription = "物流单号", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String logiNo { get; set; }
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[Display(Name = "状态")]
|
||||
[SugarColumn(ColumnDescription = "状态")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[Display(Name = "备注")]
|
||||
[SugarColumn(ColumnDescription = "备注", IsNullable = true)]
|
||||
[StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String memo { 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; }
|
||||
}
|
||||
}
|
||||
119
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipItem.cs
Normal file
119
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipItem.cs
Normal file
@@ -0,0 +1,119 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsBillReshipItem",TableDescription = "退货单明细表")]
|
||||
public partial class CoreCmsBillReshipItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单明细表
|
||||
/// </summary>
|
||||
public CoreCmsBillReshipItem()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 退款单单id
|
||||
/// </summary>
|
||||
[Display(Name = "退款单单id")]
|
||||
[SugarColumn(ColumnDescription = "退款单单id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(20, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String reshipId { get; set; }
|
||||
/// <summary>
|
||||
/// 订单明细ID 关联order_items.id
|
||||
/// </summary>
|
||||
[Display(Name = "订单明细ID 关联order_items.id")]
|
||||
[SugarColumn(ColumnDescription = "订单明细ID 关联order_items.id")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 orderItemsId { 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 = "商品名称", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 图片
|
||||
/// </summary>
|
||||
[Display(Name = "图片")]
|
||||
[SugarColumn(ColumnDescription = "图片", IsNullable = true)]
|
||||
[StringLength(255, 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 = "货品明细序列号存储", 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; }
|
||||
}
|
||||
}
|
||||
48
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipPartial.cs
Normal file
48
CoreCms.Net.Model/Entities/Bill/CoreCmsBillReshipPartial.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System.Collections.Generic;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 退货单表
|
||||
/// </summary>
|
||||
public partial class CoreCmsBillReship
|
||||
{
|
||||
/// <summary>
|
||||
/// 物流名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string logiName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态中文描述
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 退货明细
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public List<CoreCmsBillReshipItem> items { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user