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_ProOutOrder), "成品出库单")] public class Dt_ProOutOrder : 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 ProOutOrderNo { get; set; } /// /// 订单类型 /// [SugarColumn(IsNullable = false, ColumnDescription = "订单类型")] public int ProOrderType { get; set; } /// /// 订单状态 /// [SugarColumn(IsNullable = false, ColumnDescription = "订单状态")] public int ProOrderStatus { get; set; } /// /// 计划出货时间 /// [SugarColumn(IsNullable = false, ColumnDescription = "计划出货时间")] public DateTime PlantShipDate { get; set; } /// /// 备注 /// [SugarColumn(IsNullable = true,Length = 200, ColumnDescription = "备注")] public string Remark { get; set; } /// /// 成品出库单详情 /// [Navigate(NavigateType.OneToMany, nameof(Dt_ProOutOrderDetail.ProOrderId), nameof(Id))] public List Details { get; set; } } }