using SJZY.Track.Domain.Enums;
namespace SJZY.Track.Domain.Aggregates.ForewarningAggregate;
[SugarTable("t_warning_notify")]
public class WarningNotifyEntity : IFullAuditedBasicEntitys, IEntity
{
///
/// 自增主键
///
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 预警id
///
[SugarColumn(ColumnName = "WarningId")]
public int WarningId { get; set; }
///
/// 起始轨迹状态id
///
[SugarColumn(ColumnName = "StartTrackStatusId", IsNullable = false)]
public int StartTrackStatusId { get; set; }
///
/// 终止轨迹状态id
///
[SugarColumn(ColumnName = "EndTrackStatusId", IsNullable = false)]
public int EndTrackStatusId { get; set; }
///
/// 通知方式
///
[SugarColumn(ColumnName = "NotifyMode")]
public NotifyMode NotifyMode { get; set; }
///
/// 通知模板
///
[SugarColumn(ColumnName = "NotifyTemplate", Length = 256)]
public string NotifyTemplate { get; set; } = null!;
///
/// 通知人
///
[SugarColumn(ColumnName = "NotifyUserId")]
public int NotifyUserId { get; set; }
}