You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BookingHeChuan/Myshipping.Core/Service/DjyApiAuth/Dto/DjyApiAuthInput.cs

122 lines
2.9 KiB
C#

2 years ago
using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
/// <summary>
/// 接口授权输入参数
/// </summary>
public class DjyApiAuthInput
{
/// <summary>
/// 接口代码
/// </summary>
public virtual string ApiCode { get; set; }
/// <summary>
/// 接口名称
/// </summary>
public virtual string ApiName { get; set; }
///// <summary>
///// 接口KEY
///// </summary>
//public virtual string ApiKey { get; set; }
2 years ago
///// <summary>
///// 接口秘钥
///// </summary>
//public virtual string ApiSecret { get; set; }
2 years ago
/// <summary>
/// 有效截止日期
/// </summary>
2 years ago
public virtual DateTime? ExpireDate { get; set; }
2 years ago
/// <summary>
/// 租户Id
/// </summary>
public virtual long TenantId { get; set; }
/// <summary>
/// 租户名称
/// </summary>
public virtual string TenantName { get; set; }
/// <summary>
/// 用户ID
/// </summary>
public virtual long UserId { get; set; }
/// <summary>
/// 用户代码
/// </summary>
public virtual string UserCode { get; set; }
/// <summary>
/// 用户姓名
/// </summary>
public virtual string UserName { get; set; }
}
/// <summary>
2 years ago
/// 接口授权修改保存参数
2 years ago
/// </summary>
2 years ago
public class SaveDjyApiAuthInput : DjyApiAuthInput
2 years ago
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 接口授权获取(删除)输入参数
/// </summary>
public class GetDjyApiAuthInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 接口授权查询输入参数
/// </summary>
public class QueryDjyApiAuthInput : PageInputBase
2 years ago
{
2 years ago
/// <summary>
/// 接口代码
/// </summary>
public virtual string ApiCode { get; set; }
/// <summary>
/// 接口名称
/// </summary>
public virtual string ApiName { get; set; }
/// <summary>
/// 禁用标志
/// </summary>
2 years ago
public virtual bool? IsDisable { get; set; }
2 years ago
/// <summary>
/// 租户名称
/// </summary>
public virtual string TenantName { get; set; }
/// <summary>
/// 用户姓名
/// </summary>
public virtual string UserName { get; set; }
}
}