using System; using System.Collections.Generic; using System.Linq; using SqlSugar; using LearningOfficer.OA.Core.Entities; namespace LearningOfficer.OA.Core.Entities.OA.PointsGoods { /// /// 商品库存明细表 /// [SugarTable("points_goods_inventory")] public class PointsGoodsInventory : BaseEntity { /// /// 备 注:商品id /// 默认值: /// [SugarColumn(ColumnName = "goods_id" )] public long GoodsId { get; set; } /// /// 备 注:库存变化数量(正负区分出入库) /// 默认值: /// [SugarColumn(ColumnName = "change_count" )] public int ChangeCount { get; set; } /// /// 备 注:商品库存变化后的数目 /// 默认值: /// [SugarColumn(ColumnName = "goods_count" )] public int GoodsCount { get; set; } /// /// 备 注:时间 /// 默认值: /// [SugarColumn(ColumnName = "add_time" )] public DateTime AddTime { get; set; } /// /// 备 注:操作用户id /// 默认值: /// [SugarColumn(ColumnName = "add_userid" )] public long AddUserid { get; set; } /// /// 备 注:用户类型(默认0学习官/组长/部长/总部长、1管理员) /// 默认值: /// [SugarColumn(ColumnName = "usertype" )] public int Usertype { get; set; } /// /// 备 注:变化类型(默认0用户兑换、1管理添加) /// 默认值: /// [SugarColumn(ColumnName = "change_type" )] public int ChangeType { get; set; } } }