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