You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

155 lines
3.6 KiB

using FreeSql.DataAnnotations;
namespace Znyc.CloudCar.Model.Entities
{
/// <summary>
/// 设备信息表
/// </summary>
[Table(Name = "equipment")]
public class EquipmentEntity : EntityBase
{
/// <summary>
/// 用户Id
/// </summary>
public long UserId { get; set; }
/// <summary>
/// 标题
/// </summary>
[Column(StringLength = 25)]
public string Title { get; set; }
/// <summary>
/// 设备编号
/// </summary>
public long EquipmentNumber { get; set; }
/// <summary>
/// 设备类型
/// </summary>
public long EquipmentType { get; set; }
/// <summary>
/// 设备品牌
/// </summary>
public long EquipmentBrand { get; set; }
/// <summary>
/// 汽车底盘
/// </summary>
public long AutomobileChassis { get; set; }
/// <summary>
/// 臂架长度
/// </summary>
public long BoomLength { get; set; }
/// <summary>
/// 装载方量
/// </summary>
public long ReprintVolume { get; set; }
/// <summary>
/// 最大输送量
/// </summary>
public long MaxTransportation { get; set; }
/// <summary>
/// 设备型号
/// </summary>
[Column(StringLength = 15)]
public string EquipmentModel { get; set; }
/// <summary>
/// 设备吨位
/// </summary>
public int EquipmentTonnage { get; set; }
/// <summary>
/// 斗容
/// </summary>
public int Capacity { get; set; }
/// <summary>
/// 功率
/// </summary>
public string Power { get; set; }
/// <summary>
/// 设备介绍
/// </summary>
[Column(StringLength = 500)]
public string Introduction { get; set; }
/// <summary>
/// 出厂年限
/// </summary>
public int AppearanceDate { get; set; }
/// <summary>
/// 出售价格
/// </summary>
public decimal SellingPrice { get; set; }
/// <summary>
/// 车辆位置
/// </summary>
[Column(StringLength = 35)]
public string AutomobileLocation { get; set; }
/// <summary>
/// 联系人
/// </summary>
[Column(StringLength = 8)]
public string Contact { get; set; }
/// <summary>
/// 联系人电话
/// </summary>
[Column(StringLength = 11)]
public string ContactPhone { get; set; }
/// <summary>
/// 状态,10=出售中,11=审核中,30=未通过,40=已成交,99=未通过
/// </summary>
public int State { get; set; }
/// <summary>
/// 是否置顶
/// </summary>
public bool IsTop { get; set; }
/// <summary>
/// 置顶到期时间
/// </summary>
public DateTime TopExpireDate { get; set; }
/// <summary>
/// 刷新时间
/// </summary>
public DateTime RefreshDate { get; set; }
/// <summary>
/// 是否公开
/// </summary>
public bool IsPublic { get; set; }
/// <summary>
/// 浏览量
/// </summary>
public int PageView { get; set; }
/// <summary>
/// 省
/// </summary>
public long ProvinceId { get; set; }
/// <summary>
/// 省
/// </summary>
public long CityId { get; set; }
}
}