Model/CategoryInfo.cs

(完整代码) 1KB

using System;

namespace MyShop.Model
{
    [Serializable]
     public   class CategoryInfo
    {
        private int _categoryId = 0;
        private string _categoryName = "";
        private int _productKindId = 1;
        private string _description = "";
        private int _isDisabled = 0;
        private int _orderId = 1;

        public CategoryInfo() { }
         public CategoryInfo(int categoryId, string categoryName, int productKindId, string description, int isDisabled, int orderId)
         {
             this._categoryId = categoryId;
             this._categoryName = categoryName;
             this._productKindId = productKindId;
             this._description = description;
             this._isDisabled = isDisabled;
             this._orderId = orderId;

         }
         public int CategoryId
         {
             get { return this._categoryId; }
             set { this._categoryId = value; }
         }
         public string CategoryName
         {
             get { return this._categoryName; }
             set { this._categoryName = value; }

         }
         public int ProductKindId
         {
             get { return this._productKindId; }
             set { this._productKindId = value; }
         }
         public string Description
         {
             get { return this._description; }
             set { this._description = value; }

         }
         public int IsDisabled { get { return this._isDisabled; } set { this._isDisabled = value; } }
         public int OrderId { get { return this._orderId; } set { this._orderId = value; } }
     }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。