OpenAuth.Net/OpenAuth.Repository/Domain/SysMessage.cs
yubaolee 9c2d044d12 增加雪花算法https://gitee.com/yitter/idgenerator
增加对数据库主键为numberic的支持
2021-03-13 16:21:56 +08:00

107 lines
3.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// <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.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 系统消息表
/// </summary>
[Table("SysMessage")]
public partial class SysMessage : StringEntity
{
public SysMessage()
{
this.TypeName= string.Empty;
this.TypeId= string.Empty;
this.FromId= string.Empty;
this.ToId= string.Empty;
this.FromName= string.Empty;
this.ToName= string.Empty;
this.FromStatus= 0;
this.ToStatus= 0;
this.Href= string.Empty;
this.Title= string.Empty;
this.Content= string.Empty;
this.CreateTime= DateTime.Now;
this.CreateId= string.Empty;
}
/// <summary>
/// 分类名称
/// </summary>
[Description("分类名称")]
public string TypeName { get; set; }
/// <summary>
/// 分类ID
/// </summary>
[Description("分类ID")]
public string TypeId { get; set; }
/// <summary>
/// 消息源头
/// </summary>
[Description("消息源头")]
public string FromId { get; set; }
/// <summary>
/// 到达
/// </summary>
[Description("到达")]
public string ToId { get; set; }
/// <summary>
/// 消息源头名称
/// </summary>
[Description("消息源头名称")]
public string FromName { get; set; }
/// <summary>
/// 消息到达名称
/// </summary>
[Description("消息到达名称")]
public string ToName { get; set; }
/// <summary>
/// -1:已删除0:默认
/// </summary>
[Description("-1:已删除0:默认")]
public int FromStatus { get; set; }
/// <summary>
/// -1:已删除0:默认未读1已读
/// </summary>
[Description("-1:已删除0:默认未读1已读")]
public int ToStatus { get; set; }
/// <summary>
/// 点击消息跳转的页面等
/// </summary>
[Description("点击消息跳转的页面等")]
public string Href { get; set; }
/// <summary>
/// 消息标题
/// </summary>
[Description("消息标题")]
public string Title { get; set; }
/// <summary>
/// 消息内容
/// </summary>
[Description("消息内容")]
public string Content { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateTime { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
[Description("创建人ID")]
public string CreateId { get; set; }
}
}