mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-05-14 01:17:20 +08:00
添加项目文件。
This commit is contained in:
114
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoice.cs
Normal file
114
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoice.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("CoreCmsInvoice",TableDescription = "发票表")]
|
||||
public partial class CoreCmsInvoice
|
||||
{
|
||||
/// <summary>
|
||||
/// 发票表
|
||||
/// </summary>
|
||||
public CoreCmsInvoice()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 开票类型
|
||||
/// </summary>
|
||||
[Display(Name = "开票类型")]
|
||||
[SugarColumn(ColumnDescription = "开票类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
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; }
|
||||
/// <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}")]
|
||||
[StringLength(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; }
|
||||
/// <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.Int32 status { get; set; }
|
||||
/// <summary>
|
||||
/// 开票备注
|
||||
/// </summary>
|
||||
[Display(Name = "开票备注")]
|
||||
[SugarColumn(ColumnDescription = "开票备注", IsNullable = true)]
|
||||
[StringLength(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; }
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[Display(Name = "更新时间")]
|
||||
[SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
|
||||
public System.DateTime? updateTime { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
/***********************************************************************
|
||||
* 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 CoreCmsInvoice
|
||||
{
|
||||
/// <summary>
|
||||
/// 分类名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string categoryName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 类型名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string typeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态名称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string statusName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户昵称
|
||||
/// </summary>
|
||||
[SugarColumn(IsIgnore = true)]
|
||||
public string userNickName { get; set; }
|
||||
}
|
||||
}
|
||||
59
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoiceRecord.cs
Normal file
59
CoreCms.Net.Model/Entities/Financial/CoreCmsInvoiceRecord.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsInvoiceRecord",TableDescription = "发票信息记录")]
|
||||
public partial class CoreCmsInvoiceRecord
|
||||
{
|
||||
/// <summary>
|
||||
/// 发票信息记录
|
||||
/// </summary>
|
||||
public CoreCmsInvoiceRecord()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 发票抬头
|
||||
/// </summary>
|
||||
[Display(Name = "发票抬头")]
|
||||
[SugarColumn(ColumnDescription = "发票抬头")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(80, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 发票税号
|
||||
/// </summary>
|
||||
[Display(Name = "发票税号")]
|
||||
[SugarColumn(ColumnDescription = "发票税号")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(30, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 被使用次数
|
||||
/// </summary>
|
||||
[Display(Name = "被使用次数")]
|
||||
[SugarColumn(ColumnDescription = "被使用次数")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 frequency { get; set; }
|
||||
}
|
||||
}
|
||||
84
CoreCms.Net.Model/Entities/Financial/CoreCmsPayments.cs
Normal file
84
CoreCms.Net.Model/Entities/Financial/CoreCmsPayments.cs
Normal file
@@ -0,0 +1,84 @@
|
||||
/***********************************************************************
|
||||
* 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("CoreCmsPayments",TableDescription = "支付方式表")]
|
||||
public partial class CoreCmsPayments
|
||||
{
|
||||
/// <summary>
|
||||
/// 支付方式表
|
||||
/// </summary>
|
||||
public CoreCmsPayments()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 id { get; set; }
|
||||
/// <summary>
|
||||
/// 支付类型名称
|
||||
/// </summary>
|
||||
[Display(Name = "支付类型名称")]
|
||||
[SugarColumn(ColumnDescription = "支付类型名称", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String name { get; set; }
|
||||
/// <summary>
|
||||
/// 支付类型编码
|
||||
/// </summary>
|
||||
[Display(Name = "支付类型编码")]
|
||||
[SugarColumn(ColumnDescription = "支付类型编码", IsNullable = true)]
|
||||
[StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String code { get; set; }
|
||||
/// <summary>
|
||||
/// 是否线上支付
|
||||
/// </summary>
|
||||
[Display(Name = "是否线上支付")]
|
||||
[SugarColumn(ColumnDescription = "是否线上支付")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isOnline { get; set; }
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
[Display(Name = "参数")]
|
||||
[SugarColumn(ColumnDescription = "参数", IsNullable = true)]
|
||||
public System.String parameters { get; set; }
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
[Display(Name = "排序")]
|
||||
[SugarColumn(ColumnDescription = "排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Int32 sort { get; set; }
|
||||
/// <summary>
|
||||
/// 方式描述
|
||||
/// </summary>
|
||||
[Display(Name = "方式描述")]
|
||||
[SugarColumn(ColumnDescription = "方式描述", IsNullable = true)]
|
||||
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
|
||||
public System.String memo { get; set; }
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
[Display(Name = "是否启用")]
|
||||
[SugarColumn(ColumnDescription = "是否启用")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public System.Boolean isEnable { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user