重新生成实体类
This commit is contained in:
@@ -1,49 +1,32 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.BasicData.Entities
|
||||
namespace Tnb.BasicData.Entities;
|
||||
|
||||
/// <summary>
|
||||
/// 物料入场规格
|
||||
/// </summary>
|
||||
[SugarTable("bas_material_into_factory_specifications")]
|
||||
public partial class BasMaterialIntoFactorySpecifications : BaseEntity<string>
|
||||
{
|
||||
///<summary>
|
||||
///物料入场规格
|
||||
///</summary>
|
||||
[SugarTable("bas_material_into_factory_specifications")]
|
||||
public partial class BasMaterialIntoFactorySpecifications
|
||||
public BasMaterialIntoFactorySpecifications()
|
||||
{
|
||||
public BasMaterialIntoFactorySpecifications(){
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Desc:编号
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey=true)]
|
||||
public string id {get;set;} = SnowflakeIdHelper.NextId();
|
||||
|
||||
/// <summary>
|
||||
/// Desc:物料id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string material_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:单位id
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public string unit_id {get;set;} = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Desc:数量
|
||||
/// Default:
|
||||
/// Nullable:False
|
||||
/// </summary>
|
||||
public decimal num {get;set;}
|
||||
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 物料id
|
||||
/// </summary>
|
||||
public string material_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 单位id
|
||||
/// </summary>
|
||||
public string unit_id { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public decimal num { get; set; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user