using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
///
/// 成品领料出库单
///
[SugarTable(nameof(Dt_ProCollectOutOrder), "成品领料出库单")]
public class Dt_ProCollectOutOrder : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 仓库主键
///
[SugarColumn(IsNullable = false, ColumnDescription = "仓库主键")]
public int WarehouseId { get; set; }
///
/// 成品领料出库单号
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "成品领料出库单号")]
public string ProCollectOutOrderNo { get; set; }
///
/// 订单类型
///
[SugarColumn(IsNullable = false, ColumnDescription = "订单类型")]
public int ProOrderType { get; set; }
///
/// 订单状态
///
[SugarColumn(IsNullable = false, ColumnDescription = "订单状态")]
public int ProOrderStatus { get; set; }
///
/// 成品领料出库单详情
///
[Navigate(NavigateType.OneToMany, nameof(Dt_ProCollectOutOrderDetail.ProCollectOrderId), nameof(Id))]
public List Details { get; set; }
}
}