base_project.cs 3.82 KB
using System;
using SqlSugar;

namespace Hh.Mes.POJO.Entity
{
	[SugarTable("base_project")]
	public partial class base_project : base_Entity
	{
		/// <summary>
		/// 主键
		/// </summary>
		[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
		public int id { get; set; }

		[SugarColumn(IsNullable = false)]
		public Guid keys { get; set; }

		/// <summary>
		/// 项目编码
		/// </summary>
		[SugarColumn(Length = 60, ColumnDescription = "项目编码", IsNullable = false)]
		public string projectCode { get; set; }


		/// <summary>
		/// 项目名称
		/// </summary>
		[SugarColumn(Length = 50, ColumnDescription = "项目名称", IsNullable = false)]
		public string projectName { get; set; }


		/// <summary>
		/// 类别  读取字典keys projectType
		/// </summary>
		[SugarColumn(Length = 50, ColumnDescription = "类别", IsNullable = false)]
		public string projectType { get; set; }


		/// <summary>
		/// 经度
		/// </summary>
		[SugarColumn(ColumnDescription = "经度", IsNullable = false)]
		public decimal longitude { get; set; }

		/// <summary>
		/// 纬度
		/// </summary>
		[SugarColumn(ColumnDescription = "纬度", IsNullable = false)]
		public decimal latitude { get; set; }

		/// <summary>
		/// 项目地址 根据经度维护自动生成地址,也可以手动输入
		/// </summary>
		[SugarColumn(Length = 100, ColumnDescription = "项目地址 根据经度维护自动生成地址,也可以手动输入", IsNullable = true)]
		public string projectAddress { get; set; }

		/// <summary>
		/// 项目经理
		/// </summary>
		[SugarColumn(Length = 50, ColumnDescription = "项目经理", IsNullable = true)]
		public string projectManager { get; set; }

		/// <summary>
		/// 电话
		/// </summary>
		[SugarColumn(Length = 20, ColumnDescription = "电话", IsNullable = true)]
		public string telephone { get; set; }

		/// <summary>
		/// 图片
		/// </summary>
		[SugarColumn(Length = 100, ColumnDescription = "图片", IsNullable = true)]
		public string picture { get; set; }

		/// <summary>
		/// 项目状态,记录项目的当前状态,如进行中、已完成、已取消等
		/// </summary>
		[SugarColumn(Length = 50, ColumnDescription = "项目状态,记录项目的当前状态,如进行中、已完成、已取消等", IsNullable = true)]
		public string projectStatus { get; set; }

		/// <summary>
		/// 项目的开始日期
		/// </summary>
		[SugarColumn(ColumnDescription = "项目的开始日期", IsNullable = true)]
		public DateTime projectStartTime { get; set; }

		/// <summary>
		/// 项目的结束日期
		/// </summary>
		[SugarColumn(ColumnDescription = "项目的结束日期", IsNullable = true)]
		public DateTime projectEndTime { get; set; }

		/// <summary>
		/// 项目描述:对项目的详细描述或摘要
		/// </summary>
		[SugarColumn(Length = 500, ColumnDescription = "项目描述:对项目的详细描述或摘要", IsNullable = true)]
		public string projectDescribe { get; set; }

        /// <summary>
        /// 项目工商信息Keys
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public Guid projectClientInfoKeys { get; set; }

        /// <summary>
        /// 项目工商信息 企业名称
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string projectClientName { get; set; }


        /// <summary>
        /// 设备总数
        /// </summary>
        [SugarColumn(Length = 1000, ColumnDescription = "设备总数", IsNullable = true)]
        public int eqCount { get; set; }


        [SugarColumn(Length = 50, IsNullable = true)]
		public string createBy { get; set; }

		[SugarColumn(IsNullable = true)]
		public DateTime createTime { get; set; }

		[SugarColumn(IsNullable = true)]
		public DateTime updateTime { get; set; }

		[SugarColumn(Length = 50, IsNullable = true)]
		public string updateBy { get; set; }

	}
}