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