123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- 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_GoodsAudit", tableDescription: "物品确认审核表")]
- public class Pm_GoodsAudit : EntityBase
- {
-
-
-
-
- [SugarColumn(ColumnDescription = "审核类型", IsNullable = true, ColumnDataType = "int")]
- public int Type { get; set; } = 1;
-
-
-
- [SugarColumn(ColumnDescription = "审核部门", IsNullable = true, ColumnDataType = "bit")]
- public GoodsAuditDepEnum Dep { get; set; }
-
-
-
- [SugarColumn(ColumnDescription = "DataId", IsNullable = true, ColumnDataType = "int")]
- public int DataId { get; set; } = 0;
-
-
-
- [SugarColumn(ColumnDescription = "审核状态", IsNullable = true, ColumnDataType = "bit")]
- public GoodsConfirmEnum AuditStatus { get; set; } = GoodsConfirmEnum.WaitConfirm;
-
-
-
-
- [SugarColumn(ColumnDescription = "审核人Id", IsNullable = true, ColumnDataType = "int")]
- public int AuditUserId { get; set; }
-
-
-
- [SugarColumn(ColumnDescription = "审核时间", IsNullable = true, ColumnDataType = "datetime")]
- public DateTime AuditTime { get; set; }
- public Pm_GoodsAudit(){}
-
-
-
-
-
-
-
-
-
-
-
- public Pm_GoodsAudit(int type, GoodsAuditDepEnum dep, int dataId, GoodsConfirmEnum auditStatus,int currUserId)
- {
- this.Type = type;
- this.Dep = dep;
- this.DataId = dataId;
- this.AuditStatus = auditStatus;
- this.AuditTime = DateTime.Now;
- this.CreateUserId = currUserId;
- }
-
-
-
-
-
-
-
-
-
-
-
-
- public Pm_GoodsAudit(int type, GoodsAuditDepEnum dep, int dataId, GoodsConfirmEnum auditStatus, int auditorId, int currUserId)
- {
- this.Type = type;
- this.Dep = dep;
- this.DataId = dataId;
- this.AuditStatus = auditStatus;
- this.AuditUserId = currUserId;
- this.AuditTime = DateTime.Now;
- this.CreateUserId = currUserId;
- }
- }
- }
|