You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.5 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model
{
///<summary>
///通知公告表实体类
///</summary>
[Table("SysNotice")]
[SugarTable( "SysNotice", "admin_sqlite")]
public class SysNotice
{
/// <summary>
/// 公告ID
/// </summary>
[Key]
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
[Required]
public int NoticeID { get; set; }
/// <summary>
/// 公告标题
/// </summary>
public string NoticeTitle { get; set; }
/// <summary>
/// 公告类型1通知 2公告
/// </summary>
public int? NoticeType { get; set; }
/// <summary>
/// 公告内容
/// </summary>
public string NoticeContent { get; set; }
/// <summary>
/// 公告状态0正常 1关闭
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 创建者
/// </summary>
public string CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新者
/// </summary>
public string UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
}
}