track/src/SJZY.Track.Domain/Aggregates/TrackPullAggregate/TrackPullConfigEntity.cs
2024-02-28 11:40:15 +08:00

44 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace SJZY.Track.Domain.Aggregates.TrackPullAggregate;
/// <summary>
/// 轨迹拉取配置表
/// </summary>
[SugarTable("t_track_pull_config")]
public class TrackPullConfigEntity : IFullAuditedBasicEntitys, IAggregateRoot
{
/// <summary>
/// 自增主键
/// </summary>
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 解析方式,1取接口通返参映射后的,2取服务商原返参
/// </summary>
[SugarColumn(ColumnName = "ParseMethod")]
public int ParseMethod { get; set; }
/// <summary>
/// 服务商拉取频率(分钟)
/// </summary>
[SugarColumn(ColumnName = "PullInterval")]
public int PullInterval { get; set; }
/// <summary>
/// 服务商id
/// </summary>
[SugarColumn(ColumnName = "ServiceProviderId")]
public int ServiceProviderId { get; set; }
/// <summary>
/// 子系统id
/// </summary>
[SugarColumn(ColumnName = "SubSystemId")]
public int SubSystemId { get; set; }
/// <summary>
/// 模板id
/// </summary>
[SugarColumn(ColumnName = "TrackTemplateId")]
public int TrackTemplateId { get; set; }
}