40 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			C#
		
	
	
	
using Prism.Mvvm;
 | 
						|
using SqlSugar;
 | 
						|
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Linq;
 | 
						|
using System.Text;
 | 
						|
using System.Threading.Tasks;
 | 
						|
 | 
						|
namespace DM_Weight.Models
 | 
						|
{
 | 
						|
    [SugarTable("drug_manu_no")]
 | 
						|
    public class DrugManuNo:BindableBase
 | 
						|
    {
 | 
						|
        private string _id;
 | 
						|
        [SugarColumn(ColumnName = "dmnguid", IsPrimaryKey = true)]
 | 
						|
        public string Id { get=>_id; set=>SetProperty(ref _id,value); }
 | 
						|
 | 
						|
        private string _drugId;
 | 
						|
        [SugarColumn(ColumnName = "drug_id")]
 | 
						|
        public string DrugId { get=>_drugId; set=>SetProperty(ref _drugId,value); }
 | 
						|
 | 
						|
        private string _manuNo;
 | 
						|
        [SugarColumn(ColumnName = "manu_no")]
 | 
						|
        public string ManuNo { get=>_manuNo; set=>SetProperty(ref _manuNo,value); }
 | 
						|
 | 
						|
        private string _manuDate;
 | 
						|
        [SugarColumn(ColumnName = "manu_date")]
 | 
						|
        public string ManuDate { get=> _manuDate; set=>SetProperty(ref _manuDate,value); }
 | 
						|
 | 
						|
 | 
						|
        private string _effDate;
 | 
						|
        [SugarColumn(ColumnName = "eff_date")]
 | 
						|
        public string EffDate { get=>_effDate; set=>SetProperty(ref _effDate,value); }
 | 
						|
 | 
						|
        //private string _manuNoEffDate;
 | 
						|
        //[SugarColumn(IsIgnore = true)]
 | 
						|
        //public string ManuNoEffDate { get => _manuNoEffDate; set => SetProperty(ref _manuNoEffDate, value); }
 | 
						|
    }
 | 
						|
}
 |