59 lines
1.7 KiB
C#
59 lines
1.7 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace JinYuan.DAL.Models
|
|
{
|
|
/// <summary>
|
|
/// 车间接口配置表
|
|
/// </summary>
|
|
[SugarTable("workshop_interface_config")]
|
|
public class WorkshopInterfaceConfig
|
|
{
|
|
/// <summary>
|
|
/// 主键ID
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车间编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "workshop_code", Length = 10, IsNullable = false)]
|
|
public string Workshop_Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 接口标识 (如 QueryTrayUrl)
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "interface_flag", Length = 50, IsNullable = false)]
|
|
public string Interface_Flag { get; set; }
|
|
|
|
/// <summary>
|
|
/// 接口名称 (如 料框查询)
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "interface_name", Length = 100, IsNullable = true)]
|
|
public string Interface_Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 接口URL地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "interface_url", Length = 500, IsNullable = true)]
|
|
public string Interface_Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// 逻辑删除标识 (0:正常, 1:已删除)
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "is_deleted", IsIgnore = true)]
|
|
public bool Is_Deleted { get; set; }
|
|
|
|
/// <summary>
|
|
/// 最后更新时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "update_time", IsOnlyIgnoreUpdate = true)]
|
|
public DateTime Update_Time { get; set; }
|
|
}
|
|
}
|