83 lines
2.1 KiB
C#
83 lines
2.1 KiB
C#
namespace SJZY.Track.Domain.Aggregates.ForewarningAggregate;
|
|
|
|
[SugarTable("t_warning_rule")]
|
|
public class WarningRuleEntity : IFullAuditedBasicEntitys
|
|
{
|
|
/// <summary>
|
|
/// 自增主键
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 预警id
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "WarningId")]
|
|
public int WarningId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 时效(小时)
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "TotalTimeSpan")]
|
|
public float TotalTimeSpan { get; set; }
|
|
|
|
/// <summary>
|
|
/// 提醒的时间(小时)
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "WarnTimeSpan")]
|
|
public float WarnTimeSpan { get; set; }
|
|
|
|
/// <summary>
|
|
/// 提醒次数
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "WarnCount")]
|
|
public int WarnCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 起始轨迹状态id
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "StartTrackStatusId", IsNullable = false)]
|
|
public int StartTrackStatusId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 终止轨迹状态id
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "EndTrackStatusId", IsNullable = false)]
|
|
public int EndTrackStatusId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 货物类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "CargoType", Length = 64)]
|
|
public string? CargoType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 月份
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "Months", Length = 25)]
|
|
public string? Months { get; set; }
|
|
|
|
/// <summary>
|
|
/// 区域
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "AreaId")]
|
|
public int? AreaId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否中转
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "IsTransit")]
|
|
public bool? IsTransit { get; set; }
|
|
|
|
/// <summary>
|
|
/// 起运港口
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "LeavePort")]
|
|
public string? LeavePort { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "ProductCode")]
|
|
public string? ProductCode { get; set; }
|
|
} |