OpenAuth.Net/OpenAuth.Repository/Domain/Category.cs
2017-11-29 20:49:14 +08:00

56 lines
1.6 KiB
C#

//------------------------------------------------------------------------------
// <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;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 分类表,表示一个全集,比如:男、女、未知。关联的分类类型表示按什么进行的分类,如:按照性别对人类对象集进行分类
/// </summary>
public partial class Category : Entity
{
public Category()
{
this.Name= string.Empty;
this.SortNo= 0;
this.Icon= string.Empty;
this.Description= string.Empty;
this.TypeId= string.Empty;
}
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 是否可用
/// </summary>
public bool Disabled { get; set; }
/// <summary>
/// 排序号
/// </summary>
public int SortNo { get; set; }
/// <summary>
/// 分类图标
/// </summary>
public string Icon { get; set; }
/// <summary>
/// 分类描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 分类类型ID
/// </summary>
public string TypeId { get; set; }
}
}