using Hotline.Share.Dtos.File;
using SqlSugar;
using XF.Domain.Repository;
namespace Hotline.Orders;
///
/// 工单补充
///
public class OrderComplement : CreationEntity
{
public string OrderId { get; set; }
///
/// 工单
///
[Navigate(NavigateType.OneToOne, nameof(OrderId))]
public Order Order { get; set; }
///
/// 补充意见
///
[SugarColumn(ColumnDataType = "text")]
public string Opinion { get; set; }
///
/// 补充人员
///
public string? SupplyName { get; set; }
///
/// 补充时间
///
public DateTime? SupplyTime { get; set; }
///
/// 省平台业务编号
///
public string? DsBisId { get; set; }
///
/// 工单编号
///
public string? No { get; set; }
///
/// 是否省补充
///
[SugarColumn(DefaultValue = "f")]
public bool IsProComplement { get; set; }
///
/// 附件
///
[SugarColumn(ColumnDataType = "json", IsJson = true, IsNullable = true)]
public List FileJson { get; set; }
}