Files
RBMESAPICore/Models/APIGrou.cs
yuyubohh e8494ba988 qqq
2025-09-09 22:41:29 +08:00

40 lines
1.2 KiB
C#
Raw 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 System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace RB_MES_API.Models
{
/// <summary>
/// API分类
/// </summary>
public class APIGrou
{
/// <summary>
/// 主键
/// </summary>
[Key]
public int FID { get; set; }
/// <summary>
/// 根据ERP类型划分按接入的ERP类型先后添加历史版本不需要追加
/// </summary>
[Required]
[DisplayName("接口名称")]
[StringLength(250)]
public string FName { get; set; }=string.Empty;
/// <summary>
/// ERP版本号不同的项目使用相同ERP也可以通过这个字段来区分
/// </summary>
[Required]
[DisplayName("版本")]
[StringLength(250)]
public string FVersion { get; set; }=string.Empty;
/// <summary>
/// ERP版本号不同的项目使用相同ERP也可以通过这个字段来区分
/// </summary>
[Required]
[DisplayName("令牌地址")]
[StringLength(2000)]
public string FTokenUrl { get; set; } = string.Empty;
}
}