90 lines
2.1 KiB
C#
90 lines
2.1 KiB
C#
using OpenAuth.Repository.Domain;
|
|
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OpenAuth.App.Response
|
|
{
|
|
///<summary>
|
|
///通知关联执法人
|
|
///</summary>
|
|
[SugarTable("drone_message_relevance")]
|
|
public partial class Sugar_Drone_message_relevance
|
|
{
|
|
public Sugar_Drone_message_relevance()
|
|
{
|
|
|
|
|
|
}
|
|
|
|
public void Init(SysUser user)
|
|
{
|
|
this.Id = Guid.NewGuid().ToString();
|
|
this.createtime = DateTime.Now;
|
|
this.createuser = user.Id.ToString();
|
|
this.is_delete = 0;
|
|
this.is_read = 0;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Desc:
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true)]
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:用户id
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string userid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:用户名
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string username { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:创建时间
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public DateTime? createtime { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:创建人
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string createuser { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:通知id
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public string messageid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:是否删除
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public int? is_delete { get; set; }
|
|
|
|
/// <summary>
|
|
/// Desc:是否已读
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
public int? is_read { get; set; }
|
|
}
|
|
}
|