35 lines
796 B
C#
35 lines
796 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using YLErp.Helpers;
|
|
|
|
namespace YLErp.DBModels
|
|
{
|
|
/// <summary>
|
|
/// 审批组
|
|
/// </summary>
|
|
[Table("approvalgroups")]
|
|
public class approvalgroups
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Key]
|
|
public int id { get; set; }
|
|
|
|
[DisplayName("组名")]
|
|
public string groupName { get; set; }
|
|
|
|
[NotMapped]
|
|
[DataChange]
|
|
public List<approvalgroupmembers> approvalgroupmembers { get; set; } = new List<approvalgroupmembers>();
|
|
}
|
|
|
|
public class ApprovalGroupRequest
|
|
{
|
|
/// <summary>
|
|
/// 成员名称
|
|
/// </summary>
|
|
public string MemberName { get; set; }
|
|
}
|
|
}
|