namespace SJZY.Track.Domain.Aggregates.OrderAggregate;
///
/// 轨迹订单关联表(1:N)
///
[SugarTable("t_order_link")]
public class OrderLinkEntity : ICreateBaicEntity, ISoftDeleteBasicEntity, IEntity
{
///
/// 自增主键
///
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 订单id
///
[SugarColumn(ColumnName = "OrderId")]
public int OrderId { get; set; }
///
/// 关联的订单id
///
[SugarColumn(ColumnName = "LinkOrderId")]
public int LinkOrderId { get; set; }
///
/// 订单类型
///
[SugarColumn(ColumnName = "OrderType")]
public int OrderType { get; set; }
///
/// 订单号
///
[SugarColumn(ColumnName = "OrderNo")]
public string OrderNo { get; set; } = null!;
///
/// 关联的订单类型
///
[SugarColumn(ColumnName = "LinkOrderType")]
public int LinkOrderType { get; set; }
///
/// 关联的订单号
///
[SugarColumn(ColumnName = "LinkOrderNo")]
public string LinkOrderNo { get; set; } = null!;
///
/// 创建人
///
[SugarColumn(ColumnName = "CreateUserId")]
public int CreateUserId { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CreateTime")]
public DateTime? CreateTime { get; set; }
///
/// 是否删除
///
[SugarColumn(ColumnName = "IsDeleted")]
public bool IsDeleted { get; set; }
}