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

202 lines
5.4 KiB
C#

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZhongLianModel
{
/// <summary>
/// 工程实体
/// </summary>
[SugarTable("TPRZ_Project")]
public class ProjectDO
{
/// <summary>
/// 编号
/// </summary>
[SugarColumn(IsPrimaryKey = true, Length = 64)]
public string? Id { get; set; }
/// <summary>
/// 编码
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? Code { get; set; }
/// <summary>
/// 公司编号
/// </summary>
[SugarColumn(Length = 64, IsNullable = true)]
public string? CompanyId { get; set; }
/// <summary>
/// 工程名称
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? Name { get; set; }
/// <summary>
/// 区域
/// </summary>
[SugarColumn(Length = 60, IsNullable = true)]
public string? Area { get; set; }
/// <summary>
/// 工地名称
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? AddressName { get; set; }
/// <summary>
/// 地址
/// </summary>
[SugarColumn(Length = 500, IsNullable = true)]
public string? Address { get; set; }
/// <summary>
/// 定位
/// </summary>
[SugarColumn(Length = 20, IsNullable = true)]
public string? Location { get; set; }
/// <summary>
/// 施工单位
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? CU { get; set; }
/// <summary>
/// 施工许可证
/// </summary>
[SugarColumn(Length = 100, IsNullable = true)]
public string? CC { get; set; }
/// <summary>
/// 监理单位
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? SU { get; set; }
/// <summary>
/// 项目经理
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? PM { get; set; }
/// <summary>
/// 项目经理联系方式
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? PT { get; set; }
/// <summary>
/// 现场负责人
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? SM { get; set; }
/// <summary>
/// 现场负责人联系方式
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? ST { get; set; }
/// <summary>
/// 资料员
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? DR { get; set; }
/// <summary>
/// 资料员联系方式
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? DT { get; set; }
/// <summary>
/// 工地财务
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? FA { get; set; }
/// <summary>
/// 工地财务联系方式
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? FT { get; set; }
/// <summary>
/// 监理
/// </summary>
[SugarColumn(Length = 200, IsNullable = true)]
public string? SP { get; set; }
/// <summary>
/// 监理联系方式
/// </summary>
[SugarColumn(Length = 50, IsNullable = true)]
public string? SPT { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(Length = 500, IsNullable = true)]
public string? Remark { get; set; }
/// <summary>
/// 创建日期
/// </summary>
[SugarColumn(Length = 24, IsNullable = true)]
public string? CreateDate { get; set; }
/// <summary>
/// 删除标识
/// </summary>
[SugarColumn(Length = 1, IsNullable = true)]
public int? Deleted { get; set; }
/// <summary>
/// 省份码
/// </summary>
[SugarColumn(Length = 10,IsNullable = true)]
public string? ProvinceCode { get; set; }
/// <summary>
/// 省份名
/// </summary>
[SugarColumn(Length = 20, IsNullable = true)]
public string? ProvinceName { get; set; }
/// <summary>
/// 市级码
/// </summary>
[SugarColumn(Length = 10, IsNullable = true)]
public string? CityCode { get; set; }
/// <summary>
/// 市级名
/// </summary>
[SugarColumn(Length = 20, IsNullable = true)]
public string? CityName { get; set; }
/// <summary>
/// 区域码
/// </summary>
[SugarColumn(Length = 10, IsNullable = true)]
public string? AreaCode { get; set; }
/// <summary>
/// 区域名
/// </summary>
[SugarColumn(Length = 20, IsNullable = true)]
public string? AreaName { get; set; }
#region 业务字段
[SugarColumn(IsIgnore = true, IsNullable = true)]
public string? CompanyName { get; set; }
#endregion
}
}