businessunitinfo.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using FreeSql.DatabaseModel;
  2. using System;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Reflection;
  7. using System.Threading.Tasks;
  8. using Newtonsoft.Json;
  9. using FreeSql.DataAnnotations;
  10. namespace FuelServer.Core.Entity
  11. {
  12. /// <summary>
  13. /// 站点表
  14. /// </summary>
  15. [JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
  16. public partial class businessunitinfo {
  17. [JsonProperty, Column(IsPrimary = true)]
  18. public Guid Buid { get; set; }
  19. /// <summary>
  20. /// 油站地址
  21. /// </summary>
  22. [JsonProperty, Column(IsNullable = false)]
  23. public string Address { get; set; }
  24. /// <summary>
  25. /// 小程序appid
  26. /// </summary>
  27. [JsonProperty, Column(StringLength = 100)]
  28. public string Appid { get; set; }
  29. [JsonProperty, Column(StringLength = 100)]
  30. public string CreateBy { get; set; }
  31. [JsonProperty, Column(DbType = "timestamp", InsertValueSql = "CURRENT_TIMESTAMP")]
  32. public DateTime CreateTime { get; set; }
  33. /// <summary>
  34. /// 油站经纬度
  35. /// </summary>
  36. [JsonProperty, Column(StringLength = 100, IsNullable = false)]
  37. public string GpsCoordinates { get; set; }
  38. /// <summary>
  39. /// 油站名称
  40. /// </summary>
  41. [JsonProperty, Column(IsNullable = false)]
  42. public string Name { get; set; }
  43. /// <summary>
  44. /// 联系人
  45. /// </summary>
  46. [JsonProperty, Column(StringLength = 100)]
  47. public string Phone { get; set; }
  48. /// <summary>
  49. /// 小程序secret
  50. /// </summary>
  51. [JsonProperty, Column(StringLength = 100)]
  52. public string Secret { get; set; }
  53. /// <summary>
  54. /// 预支付:1,后支付:0
  55. /// </summary>
  56. [JsonProperty]
  57. public int PaymentMode { get; set; }
  58. }
  59. }