Initial_commit_SecMPS_v2
This commit is contained in:
136
api_sqlsugar/VolPro.Entity/DomainModels/Product/Demo_Product.cs
Normal file
136
api_sqlsugar/VolPro.Entity/DomainModels/Product/Demo_Product.cs
Normal file
@@ -0,0 +1,136 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
[Entity(TableCnName = "产品管理",TableName = "Demo_Product",DetailTable = new Type[] { typeof(Demo_ProductColor),typeof(Demo_ProductSize)},DetailTableCnName = "颜色,尺寸",DBServer = "SysDbContext")]
|
||||
public partial class Demo_Product:SysEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Key]
|
||||
[Display(Name ="ProductId")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public Guid ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///商品名称
|
||||
/// </summary>
|
||||
[Display(Name ="商品名称")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string ProductName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///商品编号
|
||||
/// </summary>
|
||||
[Display(Name ="商品编号")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="varchar(100)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string ProductCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///价格
|
||||
/// </summary>
|
||||
[Display(Name ="价格")]
|
||||
[DisplayFormat(DataFormatString="18,2")]
|
||||
[Column(TypeName="decimal")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public decimal Price { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///审核状态
|
||||
/// </summary>
|
||||
[Display(Name ="审核状态")]
|
||||
[Column(TypeName="int")]
|
||||
public int? AuditStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///备注
|
||||
/// </summary>
|
||||
[Display(Name ="备注")]
|
||||
[MaxLength(500)]
|
||||
[Column(TypeName="nvarchar(500)")]
|
||||
[Editable(true)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="CreateID")]
|
||||
[Column(TypeName="int")]
|
||||
public int? CreateID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建人
|
||||
/// </summary>
|
||||
[Display(Name ="创建人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
[Editable(true)]
|
||||
public string Creator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建时间
|
||||
/// </summary>
|
||||
[Display(Name ="创建时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="ModifyID")]
|
||||
[Column(TypeName="int")]
|
||||
public int? ModifyID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///修改人
|
||||
/// </summary>
|
||||
[Display(Name ="修改人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
[Editable(true)]
|
||||
public string Modifier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///修改时间
|
||||
/// </summary>
|
||||
[Display(Name ="修改时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? ModifyDate { get; set; }
|
||||
|
||||
[Display(Name ="颜色")]
|
||||
[ForeignKey("ProductId")][Navigate(NavigateType.OneToMany,nameof(ProductId),nameof(ProductId))]
|
||||
public List<Demo_ProductColor> Demo_ProductColor { get; set; }
|
||||
|
||||
|
||||
[Display(Name ="尺寸")]
|
||||
[ForeignKey("ProductId")][Navigate(NavigateType.OneToMany,nameof(ProductId),nameof(ProductId))]
|
||||
public List<Demo_ProductSize> Demo_ProductSize { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
[Entity(TableCnName = "产品颜色",TableName = "Demo_ProductColor",DetailTable = new Type[] { typeof(Demo_ProductColorSub)},DetailTableCnName = "产品颜色明细",DBServer = "SysDbContext")]
|
||||
public partial class Demo_ProductColor:SysEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Key]
|
||||
[Display(Name ="ProductColorId")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public Guid ProductColorId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///商品id
|
||||
/// </summary>
|
||||
[Display(Name ="商品id")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Editable(true)]
|
||||
public Guid? ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///颜色
|
||||
/// </summary>
|
||||
[Display(Name ="颜色")]
|
||||
[MaxLength(50)]
|
||||
[Column(TypeName="nvarchar(50)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string Color { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///数量
|
||||
/// </summary>
|
||||
[Display(Name ="数量")]
|
||||
[MaxLength(50)]
|
||||
[Column(TypeName="nvarchar(50)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string Qty { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///单位
|
||||
/// </summary>
|
||||
[Display(Name ="单位")]
|
||||
[MaxLength(50)]
|
||||
[Column(TypeName="nvarchar(50)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///图片
|
||||
/// </summary>
|
||||
[Display(Name ="图片")]
|
||||
[MaxLength(500)]
|
||||
[Column(TypeName="nvarchar(500)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string Img { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///备注
|
||||
/// </summary>
|
||||
[Display(Name ="备注")]
|
||||
[MaxLength(500)]
|
||||
[Column(TypeName="nvarchar(500)")]
|
||||
[Editable(true)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="CreateID")]
|
||||
[Column(TypeName="int")]
|
||||
public int? CreateID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建人
|
||||
/// </summary>
|
||||
[Display(Name ="创建人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
public string Creator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建时间
|
||||
/// </summary>
|
||||
[Display(Name ="创建时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="ModifyID")]
|
||||
[Column(TypeName="int")]
|
||||
public int? ModifyID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///修改人
|
||||
/// </summary>
|
||||
[Display(Name ="修改人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
public string Modifier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///修改时间
|
||||
/// </summary>
|
||||
[Display(Name ="修改时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
public DateTime? ModifyDate { get; set; }
|
||||
|
||||
[Display(Name ="产品颜色明细")]
|
||||
[ForeignKey("ProductColorId")][Navigate(NavigateType.OneToMany,nameof(ProductColorId),nameof(ProductColorId))]
|
||||
public List<Demo_ProductColorSub> Demo_ProductColorSub { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
[Entity(TableCnName = "产品颜色明细",TableName = "Demo_ProductColorSub",DBServer = "SysDbContext")]
|
||||
public partial class Demo_ProductColorSub:SysEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Key]
|
||||
[Display(Name ="ProductColorSubId")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public Guid ProductColorSubId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///产品颜色Id
|
||||
/// </summary>
|
||||
[Display(Name ="产品颜色Id")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Editable(true)]
|
||||
public Guid? ProductColorId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///生产地
|
||||
/// </summary>
|
||||
[Display(Name ="生产地")]
|
||||
[MaxLength(255)]
|
||||
[Column(TypeName="varchar(255)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string FactoryLocation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///生产商
|
||||
/// </summary>
|
||||
[Display(Name ="生产商")]
|
||||
[MaxLength(255)]
|
||||
[Column(TypeName="varchar(255)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string Manufacturer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///生产日期
|
||||
/// </summary>
|
||||
[Display(Name ="生产日期")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? ProductionDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///数量
|
||||
/// </summary>
|
||||
[Display(Name ="数量")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public int Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///价格
|
||||
/// </summary>
|
||||
[Display(Name ="价格")]
|
||||
[DisplayFormat(DataFormatString="10,2")]
|
||||
[Column(TypeName="decimal")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public decimal Price { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///备注
|
||||
/// </summary>
|
||||
[Display(Name ="备注")]
|
||||
[MaxLength(500)]
|
||||
[Column(TypeName="nvarchar(500)")]
|
||||
[Editable(true)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="CreateID")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? CreateID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建人
|
||||
/// </summary>
|
||||
[Display(Name ="创建人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
[Editable(true)]
|
||||
public string Creator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建时间
|
||||
/// </summary>
|
||||
[Display(Name ="创建时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="ModifyID")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? ModifyID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="Modifier")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
[Editable(true)]
|
||||
public string Modifier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="ModifyDate")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? ModifyDate { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
[Entity(TableCnName = "产品尺寸",TableName = "Demo_ProductSize",DetailTable = new Type[] { typeof(Demo_ProductSizeSub)},DetailTableCnName = "产品尺寸明细",DBServer = "SysDbContext")]
|
||||
public partial class Demo_ProductSize:SysEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Key]
|
||||
[Display(Name ="ProductSizeId")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public Guid ProductSizeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///商品id
|
||||
/// </summary>
|
||||
[Display(Name ="商品id")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Editable(true)]
|
||||
public Guid? ProductId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///尺寸
|
||||
/// </summary>
|
||||
[Display(Name ="尺寸")]
|
||||
[MaxLength(50)]
|
||||
[Column(TypeName="nvarchar(50)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string Size { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///单位
|
||||
/// </summary>
|
||||
[Display(Name ="单位")]
|
||||
[MaxLength(50)]
|
||||
[Column(TypeName="nvarchar(50)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string Unit { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///备注
|
||||
/// </summary>
|
||||
[Display(Name ="备注")]
|
||||
[MaxLength(500)]
|
||||
[Column(TypeName="nvarchar(500)")]
|
||||
[Editable(true)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="CreateID")]
|
||||
[Column(TypeName="int")]
|
||||
public int? CreateID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建人
|
||||
/// </summary>
|
||||
[Display(Name ="创建人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
public string Creator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建时间
|
||||
/// </summary>
|
||||
[Display(Name ="创建时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="ModifyID")]
|
||||
[Column(TypeName="int")]
|
||||
public int? ModifyID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///修改人
|
||||
/// </summary>
|
||||
[Display(Name ="修改人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
public string Modifier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///修改时间
|
||||
/// </summary>
|
||||
[Display(Name ="修改时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
public DateTime? ModifyDate { get; set; }
|
||||
|
||||
[Display(Name ="产品尺寸明细")]
|
||||
[ForeignKey("ProductSizeId")][Navigate(NavigateType.OneToMany,nameof(ProductSizeId),nameof(ProductSizeId))]
|
||||
public List<Demo_ProductSizeSub> Demo_ProductSizeSub { get; set; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SqlSugar;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
[Entity(TableCnName = "产品尺寸明细",TableName = "Demo_ProductSizeSub",DBServer = "SysDbContext")]
|
||||
public partial class Demo_ProductSizeSub:SysEntity
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true)]
|
||||
[Key]
|
||||
[Display(Name ="ProductSizeSubId")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public Guid ProductSizeSubId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///产品尺寸ID
|
||||
/// </summary>
|
||||
[Display(Name ="产品尺寸ID")]
|
||||
[Column(TypeName="uniqueidentifier")]
|
||||
[Editable(true)]
|
||||
public Guid? ProductSizeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///胸围尺寸
|
||||
/// </summary>
|
||||
[Display(Name ="胸围尺寸")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string ChestCircumference { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///腰围尺寸
|
||||
/// </summary>
|
||||
[Display(Name ="腰围尺寸")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string WaistCircumference { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///臀围尺寸
|
||||
/// </summary>
|
||||
[Display(Name ="臀围尺寸")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string HipCircumference { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///肩宽尺寸
|
||||
/// </summary>
|
||||
[Display(Name ="肩宽尺寸")]
|
||||
[MaxLength(100)]
|
||||
[Column(TypeName="nvarchar(100)")]
|
||||
[Editable(true)]
|
||||
[Required(AllowEmptyStrings=false)]
|
||||
public string ShoulderWidth { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///备注
|
||||
/// </summary>
|
||||
[Display(Name ="备注")]
|
||||
[MaxLength(500)]
|
||||
[Column(TypeName="nvarchar(500)")]
|
||||
[Editable(true)]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="CreateID")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? CreateID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建人
|
||||
/// </summary>
|
||||
[Display(Name ="创建人")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
[Editable(true)]
|
||||
public string Creator { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///创建时间
|
||||
/// </summary>
|
||||
[Display(Name ="创建时间")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? CreateDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="ModifyID")]
|
||||
[Column(TypeName="int")]
|
||||
[Editable(true)]
|
||||
public int? ModifyID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="Modifier")]
|
||||
[MaxLength(30)]
|
||||
[Column(TypeName="nvarchar(30)")]
|
||||
[Editable(true)]
|
||||
public string Modifier { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Display(Name ="ModifyDate")]
|
||||
[Column(TypeName="datetime")]
|
||||
[Editable(true)]
|
||||
public DateTime? ModifyDate { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
|
||||
public partial class Demo_Product
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上 [NotMapped]属性,否则会异常
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
|
||||
public partial class Demo_ProductColor
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上 [NotMapped]属性,否则会异常
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
|
||||
public partial class Demo_ProductColorSub
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上 [NotMapped]属性,否则会异常
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
|
||||
public partial class Demo_ProductSize
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上 [NotMapped]属性,否则会异常
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using VolPro.Entity.SystemModels;
|
||||
|
||||
namespace VolPro.Entity.DomainModels
|
||||
{
|
||||
|
||||
public partial class Demo_ProductSizeSub
|
||||
{
|
||||
//此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上 [NotMapped]属性,否则会异常
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user