| | |
| | | using Admin.NET.Core; |
| | | using Admin.NET.Core.Service; |
| | | using Microsoft.EntityFrameworkCore; |
| | | using System.ComponentModel.DataAnnotations; |
| | | |
| | | namespace Admin.NET.Application |
| | | { |
| | | |
| | | /// <summary> |
| | | /// 往来关系查询参数 |
| | | /// 往来单位查询参数 |
| | | /// </summary> |
| | | public class BaseCustomerSearch : PageInputBase |
| | | { |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 往来关系不分页查询参数 |
| | | /// 往来单位不分页查询参数 |
| | | /// </summary> |
| | | public class BaseCustomerSearchNonPage : PageInputNonPageBase |
| | | { |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 往来关系输入参数 |
| | | /// 往来单位输入参数 |
| | | /// </summary> |
| | | public class BaseCustomerInput |
| | | { |
| | | { |
| | | /// <summary> |
| | | /// 客户编号 |
| | | /// </summary> |
| | | [Comment("客户编号")] |
| | | [MaxLength(50)] |
| | | public string CustCode { get; set; } |
| | | /// <summary> |
| | | /// 客户中文名称 |
| | | /// </summary> |
| | |
| | | /// 是否禁用 |
| | | /// </summary> |
| | | public virtual bool? IsDisabled { get; set; } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 往来关系新增参数 |
| | | /// 往来单位新增参数 |
| | | /// </summary> |
| | | public class AddBaseCustomerInput : BaseCustomerInput |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 往来关系删除参数 |
| | | /// 往来单位删除参数 |
| | | /// </summary> |
| | | public class DeleteBaseCustomerInput : BaseId |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 往来关系更新参数 |
| | | /// 往来单位更新参数 |
| | | /// </summary> |
| | | public class UpdateBaseCustomerInput : BaseCustomerInput |
| | | { |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 往来关系获取单个参数 |
| | | /// 往来单位获取单个参数 |
| | | /// </summary> |
| | | public class QueryeBaseCustomerInput : BaseId |
| | | { |