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.
|
|
|
|
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; }
|
|
|
|
|
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 接口秘钥
|
|
|
|
|
///// </summary>
|
|
|
|
|
//public virtual string ApiSecret { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 有效截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual DateTime? ExpireDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <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>
|
|
|
|
|
/// 接口授权修改保存参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SaveDjyApiAuthInput : DjyApiAuthInput
|
|
|
|
|
{
|
|
|
|
|
/// <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
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 接口代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string ApiCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 接口名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string ApiName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 禁用标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual bool? IsDisable { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string TenantName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string UserName { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|