Files
2023-11-06 19:35:59 +08:00

140 lines
4.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.Common.Contracts;
using SqlSugar;
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; }
}
}