/*********************************************************************** * Project: baifenBinfa * ProjectName: 百分兵法管理系统 * Web: http://chuanyin.com * Author: * Email: 34161541@qq.com * CreateTime: 2024-03-01 22:14:58 * Description: 暂无 ***********************************************************************/ using SqlSugar; using System.ComponentModel.DataAnnotations; namespace CoreCms.Net.Model.Entities { /// /// 支付方式表 /// [SugarTable("CoreCmsPayments",TableDescription = "支付方式表")] public partial class CoreCmsPayments { /// /// 支付方式表 /// public CoreCmsPayments() { } /// /// 序列 /// [Display(Name = "序列")] [SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)] [Required(ErrorMessage = "请输入{0}")] public System.Int32 id { get; set; } /// /// 支付类型名称 /// [Display(Name = "支付类型名称")] [SugarColumn(ColumnDescription = "支付类型名称", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String name { get; set; } /// /// 支付类型编码 /// [Display(Name = "支付类型编码")] [SugarColumn(ColumnDescription = "支付类型编码", IsNullable = true)] [StringLength(50, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String code { get; set; } /// /// 是否线上支付 /// [Display(Name = "是否线上支付")] [SugarColumn(ColumnDescription = "是否线上支付")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean isOnline { get; set; } /// /// 参数 /// [Display(Name = "参数")] [SugarColumn(ColumnDescription = "参数", IsNullable = true)] public System.String parameters { get; set; } /// /// 排序 /// [Display(Name = "排序")] [SugarColumn(ColumnDescription = "排序")] [Required(ErrorMessage = "请输入{0}")] public System.Int32 sort { get; set; } /// /// 方式描述 /// [Display(Name = "方式描述")] [SugarColumn(ColumnDescription = "方式描述", IsNullable = true)] [StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String memo { get; set; } /// /// 是否启用 /// [Display(Name = "是否启用")] [SugarColumn(ColumnDescription = "是否启用")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean isEnable { get; set; } } }