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/DjyUserConfig/Dto/DjyUserConfigInput.cs

79 lines
1.9 KiB
C#

using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
/// <summary>
/// 自定义配置输入参数
/// </summary>
public class DjyUserConfigInput
{
/// <summary>
/// 类型(列表显示列、查询条件自定义等)
/// </summary>
public virtual string Type { get; set; }
/// <summary>
/// 配置数据json
/// </summary>
public virtual string ConfigJson { get; set; }
}
/// <summary>
/// 自定义配置新增输入参数
/// </summary>
public class AddDjyUserConfigInput : DjyUserConfigInput
{
}
/// <summary>
/// 自定义配置修改输入参数
/// </summary>
public class UpdateDjyUserConfigInput : DjyUserConfigInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 自定义配置获取(删除)输入参数
/// </summary>
public class GetDjyUserConfigInput
{
/// <summary>
/// 主键
/// </summary>
[Required(ErrorMessage = "主键不能为空")]
public long Id { get; set; }
}
/// <summary>
/// 自定义配置查询输入参数
/// </summary>
public class QueryDjyUserConfigInput : 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; }
}
}