using Myshipping.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.Core.Service
{
///
/// 租户参数类别表输入参数
///
public class DJYTenantParamInput
{
///
/// 类别代码
///
public virtual string ParaCode { get; set; }
///
/// 类别名称
///
public virtual string ParaName { get; set; }
///
/// 业务大类
///
public virtual string Type { get; set; }
///
/// 备注
///
public virtual string Remark { get; set; }
///
/// 排序
///
public virtual int Sort { get; set; }
}
///
/// 租户参数类别表新增输入参数
///
public class AddDJYTenantParamInput : DJYTenantParamInput
{
}
///
/// 租户参数类别表修改输入参数
///
public class UpdateDJYTenantParamInput : DJYTenantParamInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 租户参数类别表获取(删除)输入参数
///
public class GetDJYTenantParamInput
{
///
/// 主键Id
///
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
///
/// 租户参数类别表查询输入参数
///
public class QueryDJYTenantParamInput : PageInputBase
{
///
/// 类别代码
///
public virtual string ParaCode { get; set; }
///
/// 类别名称
///
public virtual string ParaName { get; set; }
///
/// 业务大类
///
public virtual string Type { get; set; }
}
///
/// 租户参数值查询输入参数
///
public class QueryTenantParamValueInput : PageInputBase
{
///
/// 类别代码
///
public virtual string ParaCode { get; set; }
///
/// 租户id
///
public long? TenantId { get; set; }
}
}