目录调整

This commit is contained in:
2023-05-05 19:44:24 +08:00
parent 40bca59440
commit 7a183ccd94
54 changed files with 22 additions and 29 deletions

View File

@@ -0,0 +1,142 @@
using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using Tnb.Common.Contracts;
namespace Tnb.ProductionMgr.Entities
{
/// <summary>
/// 模具信息表
///</summary>
[SugarTable("tool_molds")]
public class MoldsEntity : BaseEntity<string>
{
///// <summary>
///// 主键
/////</summary>
// [SugarColumn(ColumnName="id" ,IsPrimaryKey = true )]
// public string Id { get; set; }
/// <summary>
/// 磨具编号
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "mold_code")]
public string MoldCode { get; set; }
/// <summary>
/// 磨具名称
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "mold_name")]
public string MoldName { get; set; }
/// <summary>
/// 产品代码
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "item_id")]
public string ItemId { get; set; }
/// <summary>
/// 设备Id
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "eqp_id")]
public string EqpId { get; set; }
/// <summary>
/// 设备代码
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "eqp_code")]
public string EqpCode { get; set; }
/// <summary>
/// 生产模数
///</summary>
[SugarColumn(ColumnName = "production_modulus")]
public int? ProductionModulus { get; set; }
/// <summary>
/// 保养模次
///</summary>
[SugarColumn(ColumnName = "maintain_num")]
public int? MaintainNum { get; set; }
/// <summary>
/// 磨具使用状态
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "mold_status")]
public string MoldStatus { get; set; }
/// <summary>
/// 日定额
///</summary>
[SugarColumn(ColumnName = "daily_rate")]
public decimal? DailyRate { get; set; }
/// <summary>
/// 工时定额H/PCS
///</summary>
[SugarColumn(ColumnName = "hour_norm")]
public decimal? HourNorm { get; set; }
/// <summary>
/// 成长周期
///</summary>
[SugarColumn(ColumnName = "growth_cycle")]
public int? GrowthCycle { get; set; }
/// <summary>
/// 型腔数
///</summary>
[SugarColumn(ColumnName = "cavity_num")]
public int? CavityNum { get; set; }
/// <summary>
/// 模具寿命
///</summary>
[SugarColumn(ColumnName = "mold_life")]
public int? MoldLife { get; set; }
/// <summary>
/// 模具剩余寿命
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "mold_remaining_life")]
public string MoldRemainingLife { get; set; }
/// <summary>
/// 库房编号
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "warehosue_id")]
public string WarehosueId { get; set; }
/// <summary>
/// 库位编号
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "location_id")]
public string LocationId { get; set; }
/// <summary>
/// 备注
///</summary>
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
/// <summary>
/// 创建用户
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "create_id")]
public string CreateId { get; set; }
/// <summary>
/// 创建时间
///</summary>
[SugarColumn(ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
/// <summary>
/// 修改用户
/// 默认值: NULL::character varying
///</summary>
[SugarColumn(ColumnName = "modify_id")]
public string ModifyId { get; set; }
/// <summary>
/// 修改时间
///</summary>
[SugarColumn(ColumnName = "modify_time")]
public DateTime? ModifyTime { get; set; }
/// <summary>
/// 扩展字段
///</summary>
[SugarColumn(ColumnName = "extras")]
public string Extras { get; set; }
}
}