// 大名科技(天津)有限公司版权所有 电话:18020030720 QQ:515096995
//
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
using System.ComponentModel.DataAnnotations;
using Admin.NET.Core;
using Bodk.NET.Customer.Entities;
namespace Bodk.NET.Customer.Models;
///
/// 新增客户ID入参
///
public class AddCustomerInput : BodkCustomer
{
private new long Id { get; set; }
///
/// 客户姓名
///
[Required(ErrorMessage = "客户姓名不能为空")]
public override string Name { get; set; }
///
/// 客户身份证号
///
[Required(ErrorMessage = "客户身份证号不能为空")]
public override string IdCard { get; set; }
///
/// 客户性别
///
[Required(ErrorMessage = "客户性别不能为空")]
public override bool IsMale { get; set; }
///
/// 客户手机号
///
[Required(ErrorMessage = "客户手机号不能为空")]
public override string Phone { get; set; }
}
///
/// 更新客户ID入参
///
public class UpdateCustomerInput : BodkCustomer
{
///
/// 客户Id
///
[Required(ErrorMessage = "客户Id不能为空")]
public override long Id { get; set; }
}
///
/// 分页获取客户列表入参
///
public class PageCustomerInput : BasePageInput
{
///
/// 组织机构Id列表
///
public long[]? OrgIds { get; set; }
}
///
/// 查询单个客户入参
///
public class SingleCustomerInput
{
///
/// 名称
///
public string? Name { get; set; }
///
/// 身份证号
///
public string? IdCard { get; set; }
///
/// 手机号
///
public string? Phone { get; set; }
}