/*********************************************************************** * 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("CoreCmsBrand",TableDescription = "品牌表")] public partial class CoreCmsBrand { /// /// 品牌表 /// public CoreCmsBrand() { } /// /// 品牌ID /// [Display(Name = "品牌ID")] [SugarColumn(ColumnDescription = "品牌ID", 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; } /// /// 品牌LOGO /// [Display(Name = "品牌LOGO")] [SugarColumn(ColumnDescription = "品牌LOGO", IsNullable = true)] [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")] public System.String logoImageUrl { get; set; } /// /// 品牌排序 /// [Display(Name = "品牌排序")] [SugarColumn(ColumnDescription = "品牌排序", IsNullable = true)] public System.Int32? sort { get; set; } /// /// 是否显示 /// [Display(Name = "是否显示")] [SugarColumn(ColumnDescription = "是否显示")] [Required(ErrorMessage = "请输入{0}")] public System.Boolean isShow { get; set; } /// /// 更新时间 /// [Display(Name = "更新时间")] [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)] public System.DateTime? createTime { get; set; } } }