using OASystem.Domain.Enums; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Entities.PersonnelModule { /// /// 物品领用表 /// [SugarTable(tableName: "Pm_GoodsReceive", tableDescription: "物品领用表")] public class Pm_GoodsReceive: EntityBase { /// /// 团组Id /// Grp_DelegationInfo Id /// [SugarColumn(ColumnDescription = "团组Id", IsNullable = true, ColumnDataType = "int")] public int GroupId { get; set; } /// /// 物资入库批次信息 /// {storageId:1,quantity:10} /// [SugarColumn(ColumnDescription = "物资入库批次信息", IsNullable = true, ColumnDataType = "varchar(200)")] public string? GoodsStorageInfo { get; set; } /// /// 商品Id /// Pm_GoodsInfo Id /// [SugarColumn(ColumnDescription = "商品Id", IsNullable = true, ColumnDataType = "int")] public int GoodsId { get; set; } /// /// 领用数量 /// [SugarColumn(ColumnDescription = "领用数量", IsNullable = true, ColumnDataType = "decimal(8,2)")] public decimal Quantity { get; set; } /// /// 领用原因 /// [SugarColumn(ColumnDescription = "领用原因", IsNullable = true, ColumnDataType = "varchar(200)")] public string? Reason { get; set; } /// /// 审核状态 /// [SugarColumn(ColumnDescription = "审核状态", IsNullable = true, ColumnDataType = "int")] public GoodsAuditEnum AuditStatus { get; set; } = GoodsAuditEnum.Pending; /// /// 审核人 Id /// Sys_User Id /// [SugarColumn(ColumnDescription = "审核人Id", IsNullable = true, ColumnDataType = "int")] public int AuditUserId { get; set; } /// /// 审核时间 /// [SugarColumn(ColumnDescription = "审核时间", IsNullable = true, ColumnDataType = "datetime")] public DateTime AuditTime { get; set; } } }