| | |
| | | ***********************************************************************/ |
| | | |
| | | using System; |
| | | using System.ComponentModel; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using Chuanyin.Attribute; |
| | | using SqlSugar; |
| | | |
| | | namespace CoreCms.Net.Model.Entities |
| | |
| | | /// <summary> |
| | | /// 商品表 |
| | | /// </summary> |
| | | [SqlCodeFirst] |
| | | public partial class CoreCmsGoods |
| | | { |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "区域代码")] |
| | | public string areaCode { get; set; } |
| | | /// <summary> |
| | | /// 发布者cmsUserID |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "发布者cmsUserID",IsNullable =true)] |
| | | public int? publisherId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 审核者员工SYSUserID" |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "审核者员工SYSUserID", IsNullable = true)] |
| | | public int? approverId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 审核状态 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "审核状态", IsNullable = true)] |
| | | public AuditStatusType? auditStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 审核时间 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "审核时间", IsNullable = true)] |
| | | public DateTime? auditTime { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 拒绝原因 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "拒绝原因", IsNullable = true,Length =int.MaxValue)] |
| | | public string? auditRejectedReason { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 审核状态枚举,用于表示不同业务流程中的审核状态。 |
| | | /// </summary> |
| | | public enum AuditStatusType |
| | | { |
| | | /// <summary> |
| | | /// 待审核状态,表示审核尚未开始。 |
| | | /// </summary> |
| | | [Description("未审核")] |
| | | Pending = 0, |
| | | |
| | | /// <summary> |
| | | /// 已批准状态,表示审核已通过。 |
| | | /// </summary> |
| | | [Description("已审核")] |
| | | Approved = 1, |
| | | |
| | | /// <summary> |
| | | /// 已拒绝状态,表示审核未通过。 |
| | | /// </summary> |
| | | [Description("已拒绝")] |
| | | Rejected = 2, |
| | | |
| | | /// <summary> |
| | | /// 审核进行中状态,表示审核正在处理中。 |
| | | /// </summary> |
| | | [Description("审核进行中")] |
| | | InProgress = 3, |
| | | |
| | | /// <summary> |
| | | /// 已取消状态,表示审核已被取消。 |
| | | /// </summary> |
| | | [Description("取消")] |
| | | Cancelled = 4 |
| | | } |
| | | } |