product.cs

来自「简单手表销售管理(三层开发)源码」· CS 代码 · 共 52 行

CS
52
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace MyWatchShop.Models
{
    [Serializable]
   public  class Product
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private decimal oldprice;

        public decimal Oldprice
        {
            get { return oldprice; }
            set { oldprice = value; }
        }
        private decimal newprice;

        public decimal Newprice
        {
            get { return newprice; }
            set { newprice = value; }
        }
        private string smallpicture;

        public string Smallpicture
        {
            get { return smallpicture; }
            set { smallpicture = value; }
        }
           

        


    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?