using SqlSugar;
namespace BPA.KitChen.GroupMealOrder.Core.Entity
{
[SugarTable("BPA_SubOrder")]
public class BPA_SubOrder
{
///
///
///
public string Id { get; set; }
///
/// 主订单表Id
///
public string OrderId { get; set; }
///
/// 商品表Id
///
public string GoodId { get; set; }
///
/// 设备id
///
public string StoreId { get; set; }
///
/// 应付款
///
public decimal GooodOriginPrice { get; set; }
///
/// 商品平摊价格(实付款)
///
public decimal GoodsRealPrice { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 订单状态 1已下单(云服务将订单信息存放在redis) 2等待制作(上位机从redis取出) 3 制作中 4 制作完成待取餐 5 取餐完成
///
public int CookingStatus { get; set; }
///
/// 废弃状态 0 正常 1 废弃
///
public int IsVaild { get; set; }
///
/// 废弃时间
///
public string VaildTime { get; set; }
///
/// 开始制作时间 cookingStatu更新为3时更新此字段
///
public string StartCookingTime { get; set; }
///
/// 结束制作时间 cookingStatus跟新为4时更新此字段
///
public string EndCookingTime { get; set; }
///
/// 完成取餐时间 cookingStatus更新为5时更新此字段
///
public string CompleteTakeTime { get; set; }
///
/// 创建于
///
public string CreatedAt { get; set; }
///
/// 创建人
///
public string CreatedBy { get; set; }
///
/// 更新于
///
public string UpdatedAt { get; set; }
///
/// 更新人
///
public string UpdatedBy { get; set; }
///
/// 自动修改 记录最新的修改时间
///
public string UpdatedTs { get; set; }
///
/// 排序
///
public string SortNumber { get; set; }
///
/// 后厨小票打印次数
///
public int SalvePrintCount { get; set; }
///
/// 做法Id
///
public string MakeId { get; set; }
///
/// 做法名称
///
public string MakeName { get; set; }
///
/// 是否设备
///
public int IsDevice { get; set; }
///
/// 是否赠送 true 赠送
///
public bool IsGift { get; set; }
}
}