Files
RBMESAPICore/Models/SelectJoinID.cs

27 lines
952 B
C#
Raw Normal View History

2025-09-09 22:41:29 +08:00
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace RB_MES_API.Models
{
/// <summary>
/// 查询类接口定义
/// </summary>
public class SelectJoinID
{
[Key]
[DisplayName("内码")]
public int FID { get; set; }
[DisplayName("接口名称")]
public int FFunctionID { get; set; }
[DisplayName("查询类型")]
[StringLength(80)]
public string FDocType { get; set; } = string.Empty;
[DisplayName("查询参数")]
[StringLength(80)]
public string FOptcode { get; set; } = string.Empty; //每个参数之间用'|'隔开如果需要转义格式A=B|C=D代表第一个参数传入的是A查询的是B第二个参数传入的是C查询的是D。
[ForeignKey("FFunctionID")]
public FunctionList functions { get; set; }
}
}