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/DjyTenantConfig/Dto/DjyTenantConfigInput.cs

79 lines
1.9 KiB
C#

2 years ago
using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
/// <summary>
/// 自定义配置输入参数
/// </summary>
public class DjyTenantConfigInput
{
/// <summary>
/// 类型(列表显示列、查询条件自定义等)
/// </summary>
public virtual string Type { get; set; }
/// <summary>
/// 配置数据json
/// </summary>
public virtual string ConfigJson { get; set; }
}
/// <summary>
/// 自定义配置新增输入参数
/// </summary>
public class AddDjyTenantConfigInput : DjyTenantConfigInput
{
}
/// <summary>
/// 自定义配置修改输入参数
/// </summary>
public class UpdateDjyTenantConfigInput : DjyTenantConfigInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 自定义配置获取(删除)输入参数
/// </summary>
public class GetDjyTenantConfigInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 自定义配置查询输入参数
/// </summary>
public class QueryDjyTenantConfigInput : PageInputBase
{
/// <summary>
/// 主键
/// </summary>
public virtual long Id { get; set; }
/// <summary>
/// 类型(列表显示列、查询条件自定义等)
/// </summary>
public virtual string Type { get; set; }
/// <summary>
/// 配置数据json
/// </summary>
public virtual string ConfigJson { get; set; }
}
}