using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { /// /// /出入库策略 /// [SugarTable(nameof(Dt_Tactics), "出入库策略")] public class Dt_Tactics : BaseEntity { /// /// 主键 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] public int Id { get; set; } /// /// 策略名称 /// [SugarColumn(IsNullable = false, Length =50,ColumnDescription = "策略名称")] public string TacticeName { get; set; } /// /// 选择策略 /// [SugarColumn(IsNullable = false,ColumnDescription = "选择策略")] public int SelectTactice { get; set; } } /// /// 出入库策略 /// public enum TacticsEnum { /// /// 先进先出 /// [Description("先进先出")] FirstOFout=1, /// /// 临期先出 /// [Description("临期先出")] ComeOutonFirstTime, /// /// 整件先出 /// //[Description("整件先出")] //WholePieceComesFirst, } }