using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Dtos.Resource
{
#region 供应商查询参数实体
public class Search_ResItemVendorDto : DtoBase
{
///
/// 查询类型(int)
///
/// - 1:对象
/// - 2:列表
///
///
public int SearchType { get; set; }
#region 对象 只需要Id
///
/// 供应商Id
///
public int VendorId { get; set; }
#endregion
///
/// 供应商名称
///
public string VendorName { get; set; }
///
/// 供应商地址
///
public string VendorAddress { get; set; }
///
/// 供应商联系人
///
public string VendorLinker { get; set; }
///
/// 供应商联系方式
///
public string VendorMobile { get; set; }
///
/// 供应商经营范围,单数值
///
public string BusRange { get; set; }
}
#endregion
#region 供应商编辑参数实体
public class Edit_ResItemVendorDto
{
public int VendorId { get; set; }
public string VendorFullName { get; set; }
public string VendorShortName { get; set; }
public string VendorAddress { get; set; }
public string VendorLinker { get; set; }
public string VendorMobile { get; set; }
public string VendorJob { get; set; }
public string Remark { get; set; }
public int SysUserId { get; set; }
public string BusRange { get; set; }
///
/// 0:添加,1:修改,-1:删除
///
public int EditType { get; set; }
}
#endregion
#region 物料信息查询参数实体
public class Search_ItemInfoDto : DtoBase
{
///
/// 查询类型(int)
///
/// - 1:对象
/// - 2:列表
///
///
public int SearchType { get; set; }
#region 对象 只需要Id
///
/// 物料Id
///
public int ItemId { get; set; }
#endregion
///
/// 供应商Id
///
public int VendorId { get; set; }
///
/// 物料名称
///
public string ItemName { get; set; }
///
/// 类型Id
///
public int ItemTypeId { get; set; }
///
/// 价格区间(最低)
///
public decimal MinRate { get; set; }
///
/// 价格区间(最高)
///
public decimal MaxRate { get; set; }
}
#endregion
#region 物料信息编辑参数实体
public class Edit_ResItemInfoDto
{
public int ItemId { get; set; }
public int VendorId { get; set; }
public string ItemName { get; set; }
public int ItemTypeId { get; set; }
public decimal CurrRate { get; set; }
public string Remark { get; set; }
public int SysUserId { get; set; }
///
/// 0:添加,1:修改,-1:删除
///
public int EditType { get; set; }
}
#endregion
}