2020-10-22 14:59:36 +08:00
|
|
|
|
//------------------------------------------------------------------------------
|
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;
|
2020-10-22 14:59:36 +08:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using OpenAuth.Repository.Core;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
|
2017-11-29 20:49:14 +08:00
|
|
|
|
namespace OpenAuth.Repository.Domain
|
2017-10-11 16:19:34 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 分类表,也可用作数据字典。表示一个全集,比如:男、女、未知。关联的分类类型表示按什么进行的分类,如:按照性别对人类对象集
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Table("Category")]
|
2021-03-13 16:21:56 +08:00
|
|
|
|
public partial class Category : StringEntity
|
2017-10-11 16:19:34 +08:00
|
|
|
|
{
|
|
|
|
|
public Category()
|
|
|
|
|
{
|
|
|
|
|
this.Name= string.Empty;
|
2020-10-22 14:59:36 +08:00
|
|
|
|
this.DtCode= string.Empty;
|
|
|
|
|
this.DtValue= string.Empty;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.SortNo= 0;
|
2017-11-29 20:49:14 +08:00
|
|
|
|
this.Description= string.Empty;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.TypeId= string.Empty;
|
2020-10-22 14:59:36 +08:00
|
|
|
|
this.CreateTime= DateTime.Now;
|
|
|
|
|
this.CreateUserId= string.Empty;
|
|
|
|
|
this.CreateUserName= string.Empty;
|
|
|
|
|
this.UpdateTime= DateTime.Now;
|
|
|
|
|
this.UpdateUserId= string.Empty;
|
|
|
|
|
this.UpdateUserName= string.Empty;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("名称")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("代码")]
|
|
|
|
|
public string DtCode { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 通常与字典代码标识一致,但万一有不一样的情况呢?
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("值")]
|
|
|
|
|
public string DtValue { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否可用
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("是否可用")]
|
|
|
|
|
public bool Enable { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 排序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("排序号")]
|
|
|
|
|
public int SortNo { get; set; }
|
2017-11-29 20:49:14 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("描述")]
|
2017-11-29 20:49:14 +08:00
|
|
|
|
public string Description { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 分类ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("分类标识")]
|
2017-11-29 20:49:14 +08:00
|
|
|
|
public string TypeId { get; set; }
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("创建时间")]
|
|
|
|
|
public System.DateTime CreateTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("创建人ID")]
|
|
|
|
|
[Browsable(false)]
|
|
|
|
|
public string CreateUserId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("创建人")]
|
|
|
|
|
public string CreateUserName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后更新时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("最后更新时间")]
|
|
|
|
|
public System.DateTime? UpdateTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后更新人ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("最后更新人ID")]
|
|
|
|
|
[Browsable(false)]
|
|
|
|
|
public string UpdateUserId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后更新人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("最后更新人")]
|
|
|
|
|
public string UpdateUserName { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
}
|
2016-01-07 11:47:43 +08:00
|
|
|
|
}
|