|
@@ -1,4 +1,5 @@
|
|
using Ant.Core.SqlServer.BaseEntities;
|
|
using Ant.Core.SqlServer.BaseEntities;
|
|
|
|
+using Central.Control.WebApi.Enum;
|
|
using System;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations;
|
|
@@ -51,5 +52,13 @@ namespace Central.Control.WebApi.Models
|
|
/// 进货价
|
|
/// 进货价
|
|
/// </summary>
|
|
/// </summary>
|
|
public decimal BuyingPrice { set; get; }
|
|
public decimal BuyingPrice { set; get; }
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 库存
|
|
|
|
+ /// </summary>
|
|
|
|
+ public int Stock { set; get; }
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 售卖状态
|
|
|
|
+ /// </summary>
|
|
|
|
+ public SaleEnum Sale { set; get; } = SaleEnum.Off;
|
|
}
|
|
}
|
|
}
|
|
}
|