using OASystem.Domain.Entities.PersonnelModule; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.ViewModels.PersonnelModule { /// /// 物品详细信息 View /// public class GoodsInfoView:Pm_GoodsInfo { } /// /// 物品类型View /// [SugarTable("Sys_SetDataType")] public class GoodsTypeView { /// /// 物品类型Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } public string Name { get; set; } [Navigate(NavigateType.OneToMany, nameof(GoodsSubTypeView.STid))] public List SubTypeItems { get; set; } public string Remark { get; set; } public int IsDel { get; set; } } /// /// 物品Sub类型 /// View /// [SugarTable("Sys_SetData")] public class GoodsSubTypeView { /// /// 物品类型Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } public int STid { get; set; } public string Name { get; set; } public int IsDel { get; set; } } }