OpenAuth.Net/OpenAuth.Repository/Domain/Category.cs

56 lines
1.6 KiB
C#
Raw Normal View History

2017-10-11 16:19:34 +08:00
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
2017-11-29 20:49:14 +08:00
namespace OpenAuth.Repository.Domain
2017-10-11 16:19:34 +08:00
{
/// <summary>
2017-11-29 20:49:14 +08:00
/// 分类表,表示一个全集,比如:男、女、未知。关联的分类类型表示按什么进行的分类,如:按照性别对人类对象集进行分类
2017-10-11 16:19:34 +08:00
/// </summary>
public partial class Category : Entity
{
public Category()
{
this.Name= string.Empty;
this.SortNo= 0;
2017-11-29 20:49:14 +08:00
this.Icon= string.Empty;
this.Description= string.Empty;
2017-10-11 16:19:34 +08:00
this.TypeId= string.Empty;
}
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
2017-11-29 20:49:14 +08:00
/// 是否可用
2017-10-11 16:19:34 +08:00
/// </summary>
2017-11-29 20:49:14 +08:00
public bool Disabled { get; set; }
2017-10-11 16:19:34 +08:00
/// <summary>
/// 排序号
/// </summary>
public int SortNo { get; set; }
/// <summary>
2017-11-29 20:49:14 +08:00
/// 分类图标
2017-10-11 16:19:34 +08:00
/// </summary>
2017-11-29 20:49:14 +08:00
public string Icon { get; set; }
/// <summary>
/// 分类描述
/// </summary>
public string Description { get; set; }
2017-10-11 16:19:34 +08:00
/// <summary>
2017-11-29 20:49:14 +08:00
/// 分类类型ID
2017-10-11 16:19:34 +08:00
/// </summary>
2017-11-29 20:49:14 +08:00
public string TypeId { get; set; }
2017-10-11 16:19:34 +08:00
}
}