50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
namespace SJZY.Track.Domain.Aggregates.OrderAggregate;
|
||
|
||
/// <summary>
|
||
/// 轨迹订单模板表(1:N)
|
||
/// </summary>
|
||
[SugarTable("t_order_template")]
|
||
public class OrderTemplateEntity : ICreateBaicEntity, ISoftDeleteBasicEntity, IEntity
|
||
{
|
||
/// <summary>
|
||
/// 自增主键
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||
public int Id { get; set; }
|
||
|
||
/// <summary>
|
||
/// 订单id
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "OrderId")]
|
||
public int OrderId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 服务商id
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "ServiceProviderId")]
|
||
public int ServiceProviderId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 模板id
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "TrackTemplateId")]
|
||
public int TrackTemplateId { 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; }
|
||
} |