using SqlSugar; using System; namespace WWB.Park.Entity.Tenant { [SugarTable("pk_park")] public class Park : IAgentFilter { /// /// 代理id /// [SugarColumn(ColumnName = "agent_id")] public long AgentId { get; set; } /// /// 分组id /// [SugarColumn(ColumnName = "group_id", IsNullable = true)] public long? GroupId { get; set; } /// /// 小区名 /// [SugarColumn(ColumnName = "name", Length = 64)] public string Name { get; set; } /// /// 省 /// [SugarColumn(ColumnName = "province", Length = 32, IsNullable = true)] public string Province { get; set; } /// /// 市 /// [SugarColumn(ColumnName = "city", Length = 32, IsNullable = true)] public string City { get; set; } /// /// 区 /// [SugarColumn(ColumnName = "district", Length = 32, IsNullable = true)] public string District { get; set; } /// /// 详细地址 /// [SugarColumn(ColumnName = "address", Length = 64, IsNullable = true)] public string Address { get; set; } /// /// 经度 /// [SugarColumn(ColumnName = "longitude", ColumnDataType = "numeric(10,6)", IsNullable = true)] public decimal? Longitude { get; set; } /// /// 纬度 /// [SugarColumn(ColumnName = "latitude", ColumnDataType = "numeric(10,6)", IsNullable = true)] public decimal? Latitude { get; set; } /// /// 客服热线 /// [SugarColumn(ColumnName = "hotline", Length = 20)] public string Hotline { get; set; } /// /// 车位数量 /// [SugarColumn(ColumnName = "place_count")] public int PlaceCount { get; set; } /// /// 可选月份(多选逗号分割,例如1,3,6,12) /// [SugarColumn(ColumnName = "months", Length = 32)] public string Months { get; set; } /// /// 是否下发家庭成员 /// [SugarColumn(ColumnName = "family_open")] public int FamilyOpen { get; set; } /// /// 是否开启线上注册 1是 0否 /// [SugarColumn(ColumnName = "allow_register")] public int AllowRegister { get; set; } /// /// 基础电价 /// [SugarColumn(ColumnName = "electric_price", ColumnDataType = "numeric(10,2)", IsNullable = true)] public decimal? ElectricPrice { get; set; } /// /// 工本费 /// [SugarColumn(ColumnName = "deposit", IsNullable = true)] public int? Deposit { get; set; } /// /// 到期日期 /// [SugarColumn(ColumnName = "expire_date", ColumnDataType = "date", IsNullable = true)] public DateTime ExpireDate { get; set; } } }