namespace SJZY.Track.Domain.Aggregates.ForewarningAggregate; [SugarTable("t_warning_rule")] public class WarningRuleEntity : IFullAuditedBasicEntitys { /// /// 自增主键 /// [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 预警id /// [SugarColumn(ColumnName = "WarningId")] public int WarningId { get; set; } /// /// 时效(小时) /// [SugarColumn(ColumnName = "TotalTimeSpan")] public float TotalTimeSpan { get; set; } /// /// 提醒的时间(小时) /// [SugarColumn(ColumnName = "WarnTimeSpan")] public float WarnTimeSpan { get; set; } /// /// 提醒次数 /// [SugarColumn(ColumnName = "WarnCount")] public int WarnCount { 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 = "CargoType", Length = 64)] public string? CargoType { get; set; } /// /// 月份 /// [SugarColumn(ColumnName = "Months", Length = 25)] public string? Months { get; set; } /// /// 区域 /// [SugarColumn(ColumnName = "AreaId")] public int? AreaId { get; set; } /// /// 是否中转 /// [SugarColumn(ColumnName = "IsTransit")] public bool? IsTransit { get; set; } /// /// 起运港口 /// [SugarColumn(ColumnName = "LeavePort")] public string? LeavePort { get; set; } /// /// 产品编码 /// [SugarColumn(ColumnName = "ProductCode")] public string? ProductCode { get; set; } }