| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- 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 _ProductKBSN;
- /// <summary>
- /// 产品编码
- /// </summary>
- public string ProductKBSN
- {
- get { return _ProductKBSN; }
- set { SetProperty(ref _ProductKBSN, value); }
- }
- private string _ProductColor = "";
- /// <summary>
- /// 产品颜色
- /// </summary>
- public string ProductColor
- {
- get { return _ProductColor; }
- set { SetProperty(ref _ProductColor, value); }
- }
- private int _ProductLoadMode;
- /// <summary>
- /// 产品加载编号
- /// </summary>
- public int ProductLoadMode
- {
- get { return _ProductLoadMode; }
- set { SetProperty(ref _ProductLoadMode, value); }
- }
- ///// <summary>
- ///// 产品集合
- ///// </summary>
- //private List<string> _ProductLoadList = new List<string>();
- //public List<string> ProductLoadList
- //{
- // get { return _ProductLoadList; }
- // set { SetProperty(ref _ProductLoadList, value); }
- //}
-
- private string _ProductLoad;
- /// <summary>
- /// 产品集合
- /// </summary>
- [SugarColumn(Length =2550)]
- public string ProductLoad
- {
- get { return _ProductLoad; }
- set { SetProperty(ref _ProductLoad, value); }
- }
- }
- }
|