| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- using Prism.Mvvm;
- using SqlSugar;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace TeamAAS_VP.Models
- {
- [SugarTable("ProductWithMes")]
- public class ProductWithMes : BindableBase
- {
- //[SugarColumn(IsPrimaryKey = true)]
- //public Guid Id { get; set; } = Guid.NewGuid();
-
- private string _ProductName;
- [SugarColumn(IsPrimaryKey = true)]
- /// <summary>
- /// 产品名称
- /// </summary>
- public string ProductName
- {
- get { return _ProductName; }
- set { SetProperty(ref _ProductName, value); }
- }
- private string _ProductCode;
- /// <summary>
- /// 产品编码
- /// </summary>
- public string ProductCode
- {
- get { return _ProductCode; }
- set { SetProperty(ref _ProductCode, value); }
- }
-
- private string _ProductColor = "";
- /// <summary>
- /// 产品颜色
- /// </summary>
- public string ProductColor
- {
- get { return _ProductColor; }
- set { SetProperty(ref _ProductColor, value); }
- }
- }
- }
|