using FreeSql.DatabaseModel; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using FreeSql.DataAnnotations; namespace FuelServer.Core.Entity { /// /// 站点表 /// [JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)] public partial class businessunitinfo { [JsonProperty, Column(IsPrimary = true)] public Guid Buid { get; set; } /// /// 油站地址 /// [JsonProperty, Column(IsNullable = false)] public string Address { get; set; } /// /// 小程序appid /// [JsonProperty, Column(StringLength = 100)] public string Appid { get; set; } [JsonProperty, Column(StringLength = 100)] public string CreateBy { get; set; } [JsonProperty, Column(DbType = "timestamp", InsertValueSql = "CURRENT_TIMESTAMP")] public DateTime CreateTime { get; set; } /// /// 油站经纬度 /// [JsonProperty, Column(StringLength = 100, IsNullable = false)] public string GpsCoordinates { get; set; } /// /// 油站名称 /// [JsonProperty, Column(IsNullable = false)] public string Name { get; set; } /// /// 联系人 /// [JsonProperty, Column(StringLength = 100)] public string Phone { get; set; } /// /// 小程序secret /// [JsonProperty, Column(StringLength = 100)] public string Secret { get; set; } /// /// 预支付:1,后支付:0 /// [JsonProperty] public int PaymentMode { get; set; } } }