using System; using Lottomat.Application.Code; using Lottomat.Util; namespace Lottomat.Application.Entity.GalleryManage { /// /// 版 本 /// Copyright (c) 2016-2017 /// 创 建:开发者账号 /// 日 期:2017-10-19 14:24 /// 描 述:图库标题表 /// public class Tk_Gallery : BaseEntity { #region 实体成员 /// /// PK /// /// //public int? PK { get; set; } /// /// 主键 /// /// public string ID { get; set; } /// /// 图库编号 /// /// public int? GalleryNumber { get; set; } /// /// 图库名称 /// /// public string GalleryName { get; set; } /// /// 分类ID /// /// public string CategoryId { get; set; } /// /// 排序码 /// /// public int? SortCode { get; set; } /// /// 是否压缩 /// /// public bool? IsPicZip { get; set; } /// /// 备注 /// /// public string Reamrk { get; set; } /// /// SEO关键字 /// /// public string SeoKey { get; set; } /// /// 创建时间 /// /// public DateTime? CreateTime { get; set; } /// /// 创建人ID /// /// public string CreateUserId { get; set; } /// /// 创建人 /// /// public string CreateUserName { get; set; } /// /// 是否删除 /// /// public bool? IsDelete { get; set; } /// /// 区域编码,值为A-B-C /// /// public string AreaCode { get; set; } /// /// 热门期数 /// /// public int? HotNumber { get; set; } #endregion #region 扩展操作 /// /// 新增调用 /// public override void Create() { this.ID = CommonHelper.GetGuid().ToString(); this.CreateUserId = OperatorProvider.Provider.Current().UserId; this.CreateUserName = OperatorProvider.Provider.Current().UserName; this.CreateTime = DateTime.Now; this.HotNumber = 0; this.IsDelete = false; } /// /// 编辑调用 /// /// public override void Modify(string keyValue) { this.ID = keyValue; } #endregion } }