You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.0 KiB

4 weeks ago
  1. using Shentun.Peis.Models;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.ComponentModel.DataAnnotations.Schema;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using Volo.Abp.Domain.Entities;
  10. namespace Shentun.Peis.Models
  11. {
  12. /// <summary>
  13. /// 组合项目对应的互斥项目
  14. /// </summary>
  15. [Table("asbitem_mutual_exclusion")]
  16. public class AsbitemMutualExclusion : Entity, IHasConcurrencyStamp
  17. {
  18. [Key]
  19. [Column("asbitem_id")]
  20. public Guid AsbitemId { get; set; }
  21. /// <summary>
  22. /// 项目编码
  23. /// </summary>
  24. [Key]
  25. [Column("mutual_exclusion_asbitem_id")]
  26. public Guid MutualExclusionAsbitemId { get; set; }
  27. [Column("concurrency_stamp")]
  28. public string ConcurrencyStamp { get; set; }
  29. public override object[] GetKeys()
  30. {
  31. return new object[] { AsbitemId, MutualExclusionAsbitemId };
  32. }
  33. }
  34. }