### 0.3.3 专业版:

【新增】后台新增支付单查询功能,实现支付单微信反馈支付数据,防止出现极端情况下,导致的支付数据回调失败而影响订单业务。#I4ZRMR
【新增】后台新增发票上传功能,前端小程序新增发票下载功能。#I4ZYT3
【新增】商家中心订单查询,增加发票下载查看功能。
【新增】代码生成器Controller模板的导出excel请求增加decimal类型的处理。
【优化】调整前端帮助文档默认传值问题,未指定具体分类情况下,默认取第一个栏目数据。
【修复】修复页面设计上传图片后不进行预览的问题。
This commit is contained in:
JianWeie
2022-03-29 17:07:26 +08:00
parent ad1ce9044e
commit c341aeb8c8
22 changed files with 15459 additions and 114 deletions

View File

@@ -3,11 +3,13 @@
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021-06-08 22:14:58
* Email: jianweie@163.com
* CreateTime: 2022/3/29 13:39:43
* Description: 暂无
***********************************************************************/
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
@@ -15,100 +17,172 @@ namespace CoreCms.Net.Model.Entities
/// <summary>
/// 发票表
/// </summary>
[SugarTable("CoreCmsInvoice",TableDescription = "发票表")]
public partial class CoreCmsInvoice
{
/// <summary>
/// 发票表
/// 构造函数
/// </summary>
public CoreCmsInvoice()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
public System.Int32 id { get; set; }
/// <summary>
/// 开票类型
/// </summary>
[Display(Name = "开票类型")]
[SugarColumn(ColumnDescription = "开票类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 category { get; set; }
public System.Int32 category { get; set; }
/// <summary>
/// 资源ID
/// </summary>
[Display(Name = "资源ID")]
[SugarColumn(ColumnDescription = "资源ID", IsNullable = true)]
[StringLength(32, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String sourceId { get; set; }
[StringLength(maximumLength:32,ErrorMessage = "{0}不能超过{1}字")]
public System.String sourceId { get; set; }
/// <summary>
/// 所属用户ID
/// </summary>
[Display(Name = "所属用户ID")]
[SugarColumn(ColumnDescription = "所属用户ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 userId { get; set; }
public System.Int32 userId { get; set; }
/// <summary>
/// 发票类型
/// </summary>
[Display(Name = "发票类型")]
[SugarColumn(ColumnDescription = "发票类型")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 type { get; set; }
public System.Int32 type { get; set; }
/// <summary>
/// 发票抬头
/// </summary>
[Display(Name = "发票抬头")]
[SugarColumn(ColumnDescription = "发票抬头")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(255, ErrorMessage = "{0}不能超过{1}字符长度")]
public System.String title { get; set; }
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String title { get; set; }
/// <summary>
/// 发票税号
/// </summary>
[Display(Name = "发票税号")]
[SugarColumn(ColumnDescription = "发票税号")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(32, ErrorMessage = "{0}不能超过{1}字符长度")]
public System.String taxNumber { get; set; }
[StringLength(maximumLength:32,ErrorMessage = "{0}不能超过{1}字")]
public System.String taxNumber { get; set; }
/// <summary>
/// 发票金额
/// </summary>
[Display(Name = "发票金额")]
[SugarColumn(ColumnDescription = "发票金额")]
[Required(ErrorMessage = "请输入{0}")]
public System.Decimal amount { get; set; }
public System.Decimal amount { get; set; }
/// <summary>
/// 开票状态
/// </summary>
[Display(Name = "开票状态")]
[SugarColumn(ColumnDescription = "开票状态")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 status { get; set; }
public System.Int32 status { get; set; }
/// <summary>
/// 开票备注
/// </summary>
[Display(Name = "开票备注")]
[SugarColumn(ColumnDescription = "开票备注", IsNullable = true)]
[StringLength(2000, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String remarks { get; set; }
[StringLength(maximumLength:2000,ErrorMessage = "{0}不能超过{1}字")]
public System.String remarks { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
public System.DateTime createTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[Display(Name = "更新时间")]
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
public System.DateTime? updateTime { get; set; }
public System.DateTime? updateTime { get; set; }
/// <summary>
/// 发票下载地址
/// </summary>
[Display(Name = "发票下载地址")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String fileUrl { get; set; }
}
}
}