LocationPropertyDto.cs 552 B

123456789101112131415161718192021222324
  1. using DbCommon.Enties.DbModels;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel.DataAnnotations;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace ProjectManagementSystem.Common.Models
  9. {
  10. public class LocationPropertyDto
  11. {
  12. [Required]
  13. [MaxLength(50)]
  14. public string LocationCode { get; set; }
  15. [Required]
  16. public LocationStatus Status { get; set; }
  17. [Required]
  18. [MaxLength(50)]
  19. public string MaterialId { get; set; }
  20. }
  21. }