DigitalFactory/Admin.NET/Admin.NET.Application/Service/Materials/Dto/MaterialsOutput.cs

168 lines
3.3 KiB
C#

namespace Admin.NET.Application;
/// <summary>
/// 物料输出参数
/// </summary>
public class MaterialsOutput
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 分类
/// </summary>
public long Classify { get; set; }
/// <summary>
/// 编码
/// </summary>
public string? CodeNum { get; set; }
/// <summary>
/// 别名
/// </summary>
public string? AliasName { get; set; }
/// <summary>
/// 助记码
/// </summary>
public string? SimpleNumber { get; set; }
/// <summary>
/// 规格型号
/// </summary>
public string? Specifications { get; set; }
/// <summary>
/// 可用状态
/// </summary>
public bool IsEnable { get; set; }
/// <summary>
/// 品牌
/// </summary>
public string? Brand { get; set; }
/// <summary>
/// 保质期
/// </summary>
public int? ShelfLife { get; set; }
/// <summary>
/// 保质期单位
/// </summary>
public string? ShelfLifeUnit { get; set; }
/// <summary>
/// 统一零售价
/// </summary>
public decimal? Price { get; set; }
/// <summary>
/// 条形码
/// </summary>
public string? BarCode { get; set; }
/// <summary>
/// 单位组ID
/// </summary>
public long? UnitGroupId { get; set; }
/// <summary>
/// 基本单位
/// </summary>
public string? Unit { get; set; }
/// <summary>
/// 生产单位
/// </summary>
public string? ProductUnit { get; set; }
/// <summary>
/// 采购单位
/// </summary>
public string? ProcureUnit { get; set; }
/// <summary>
/// 库存单位
/// </summary>
public string? InventoryUnit { get; set; }
/// <summary>
/// 销售单位
/// </summary>
public string? SaleUnit { get; set; }
/// <summary>
/// 分销单位
/// </summary>
public string? RetailStoreUnit { get; set; }
/// <summary>
/// 包装关系ID
/// </summary>
public long? PackagId { get; set; }
public List<PackageInfoOutput>? PackageInfos { get; set; }
/// <summary>
/// 推广ID
/// </summary>
public long? PromotionId { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remarks { get; set; }
/// <summary>
/// 租户Id
/// </summary>
public long? TenantId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
/// <summary>
/// 创建者Id
/// </summary>
public long? CreateUserId { get; set; }
/// <summary>
/// 创建者姓名
/// </summary>
public string? CreateUserName { get; set; }
/// <summary>
/// 修改者Id
/// </summary>
public long? UpdateUserId { get; set; }
/// <summary>
/// 修改者姓名
/// </summary>
public string? UpdateUserName { get; set; }
/// <summary>
/// 软删除
/// </summary>
public bool IsDelete { get; set; }
}