移动系统liao
2024-07-30 306ab8865840b2637590abb6e670e5614446f24d
CoreCms.Net.Model/Entities/Good/CoreCmsGoods.cs
@@ -9,7 +9,9 @@
 ***********************************************************************/
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Chuanyin.Attribute;
using SqlSugar;
namespace CoreCms.Net.Model.Entities
@@ -17,6 +19,7 @@
    /// <summary>
    ///     商品表
    /// </summary>
    [SqlCodeFirst]
    public partial class CoreCmsGoods
    {
        /// <summary>
@@ -256,5 +259,59 @@
        /// </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 AuditStatusTypoe? auditStatus { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        [SugarColumn(ColumnDescription = "审核时间", IsNullable = true)]
        public DateTime? auditTime { get; set; }
    }
    /// <summary>
    /// 审核状态枚举,用于表示不同业务流程中的审核状态。
    /// </summary>
    public enum AuditStatusTypoe
    {
        /// <summary>
        /// 待审核状态,表示审核尚未开始。
        /// </summary>
        Pending = 0,
        /// <summary>
        /// 已批准状态,表示审核已通过。
        /// </summary>
        Approved = 1,
        /// <summary>
        /// 已拒绝状态,表示审核未通过。
        /// </summary>
        Rejected = 2,
        /// <summary>
        /// 审核进行中状态,表示审核正在处理中。
        /// </summary>
        InProgress = 3,
        /// <summary>
        /// 已取消状态,表示审核已被取消。
        /// </summary>
        Cancelled = 4
    }
}