track/src/SJZY.Track.Domain/Aggregates/OrderAggregate/OrderFlightEntity.cs
2024-02-29 20:12:03 +08:00

50 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.OrderAggregate;
/// <summary>
/// 订单航班表(1:N)
/// </summary>
[SugarTable("t_order_flight")]
public class OrderFlightEntity : ICreateBaicEntity, ISoftDeleteBasicEntity, IEntity
{
/// <summary>
/// 自增主键
/// </summary>
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 班期
/// </summary>
[SugarColumn(ColumnName = "FlightDate")]
public DateTime FlightDate { get; set; }
/// <summary>
/// 航班号
/// </summary>
[SugarColumn(ColumnName = "FlightNo")]
public string FlightNo { get; set; } = null!;
/// <summary>
/// 订单id
/// </summary>
[SugarColumn(ColumnName = "OrderId")]
public int OrderId { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "CreateUserId")]
public int CreateUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "CreateTime")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 是否删除
/// </summary>
[SugarColumn(ColumnName = "IsDeleted")]
public bool IsDeleted { get; set; }
}