1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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
- {
- /// <summary>
- /// 物品详细信息 View
- /// </summary>
- public class GoodsInfoView:Pm_GoodsInfo
- {
- }
- /// <summary>
- /// 物品类型View
- /// </summary>
- [SugarTable("Sys_SetDataType")]
- public class GoodsTypeView
- {
- /// <summary>
- /// 物品类型Id
- /// </summary>
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public int Id { get; set; }
- public string Name { get; set; }
- [Navigate(NavigateType.OneToMany, nameof(GoodsSubTypeView.STid))]
- public List<GoodsSubTypeView> SubTypeItems { get; set; }
- public string Remark { get; set; }
-
- public int IsDel { get; set; }
- }
- /// <summary>
- /// 物品Sub类型
- /// View
- /// </summary>
- [SugarTable("Sys_SetData")]
- public class GoodsSubTypeView
- {
- /// <summary>
- /// 物品类型Id
- /// </summary>
- [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; }
- }
- }
|