bug,设备迁移

This commit is contained in:
2023-06-26 17:02:04 +08:00
parent 2e90f164a0
commit 5a918b25ad
12 changed files with 274 additions and 3 deletions

View File

@@ -0,0 +1,72 @@
using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.EquipMgr.Entities;
/// <summary>
/// 设备使用车间变更记录
/// </summary>
[SugarTable("eqp_workshop_change_log")]
public partial class EqpWorkshopChangeLog : BaseEntity<string>
{
public EqpWorkshopChangeLog()
{
id = SnowflakeIdHelper.NextId();
}
/// <summary>
/// 设备id
/// </summary>
public string equip_id { get; set; } = string.Empty;
/// <summary>
/// 旧车间id
/// </summary>
public string? old_workshop_id { get; set; }
/// <summary>
/// 新车间id
/// </summary>
public string? new_workshop_id { get; set; }
/// <summary>
/// 旧安装地点
/// </summary>
public string? old_installation_location { get; set; }
/// <summary>
/// 新安装地点
/// </summary>
public string? new_installation_location { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? remark { get; set; }
/// <summary>
/// 创建用户
/// </summary>
public string? create_id { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? create_time { get; set; }
/// <summary>
/// 修改用户
/// </summary>
public string? modify_id { get; set; }
/// <summary>
/// 修改时间
/// </summary>
public DateTime? modify_time { get; set; }
/// <summary>
/// 所属组织
/// </summary>
public string? org_id { get; set; }
}