OrderSendBills.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Abp.Domain.Entities;
  9. namespace ShwasherSys.OrderSendInfo
  10. {
  11. [Table("OrderSendBills")]
  12. public class OrderSendBill:Entity<string>
  13. {
  14. public const int CustomerIdMaxLength = 30;
  15. public const int SendAddressMaxLength = 250;
  16. public const int ContactTelsMaxLength = 50;
  17. public const int ContactManMaxLength = 50;
  18. public const int UserIDLastModMaxLength = 20;
  19. public const int ExpressBillNoMaxLength = 50;
  20. public const int IsDoBillMaxLength = 1;
  21. [Required]
  22. [StringLength(CustomerIdMaxLength)]
  23. public string CustomerId { get; set; }
  24. [Column(TypeName = "smalldatetime")]
  25. public DateTime? SendDate { get; set; }
  26. [StringLength(SendAddressMaxLength)]
  27. public string SendAddress { get; set; }
  28. [StringLength(ContactTelsMaxLength)]
  29. public string ContactTels { get; set; }
  30. [StringLength(ContactManMaxLength)]
  31. public string ContactMan { get; set; }
  32. [Column(TypeName = "smalldatetime")]
  33. public DateTime? TimeCreated { get; set; }
  34. [Column(TypeName = "smalldatetime")]
  35. public DateTime? TimeLastMod { get; set; }
  36. [StringLength(UserIDLastModMaxLength)]
  37. public string UserIDLastMod { get; set; }
  38. [StringLength(IsDoBillMaxLength)]
  39. public string IsDoBill { get; set; }
  40. public int? ExpressId { get; set; }
  41. [StringLength(ExpressBillNoMaxLength)]
  42. public string ExpressBillNo { get; set; }
  43. }
  44. }