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 nozzle {
[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
public int Id { get; set; }
[JsonProperty]
public Guid? Buid { get; set; }
///
/// 油品id
///
[JsonProperty]
public int? ProductID { get; set; }
///
/// 油罐ID
///
[JsonProperty]
public int? TankId { get; set; }
///
/// 外部枪号
///
[JsonProperty, Column(StringLength = 50, IsNullable = false)]
public int? ExternalGunNumber { get; set; }
///
/// 内部枪号
///
[JsonProperty, Column(StringLength = 50, IsNullable = false)]
public int? InternalGunNumber { get; set; }
///
/// 加油点
///
[JsonProperty, Column(StringLength = 100, IsNullable = false)]
public int? PumpId { get; set; }
///
/// 1:在线、2:离线、3:正在加油
///
[JsonProperty]
public int? Status { get; set; }
}
}