|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Domain.Models.Units
|
|
|
|
|
{
|
|
|
|
|
[Table("unit")]
|
|
|
|
|
public class Unit
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 微擎小程序/公众号ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Uniacid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 团体ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("group_id")]
|
|
|
|
|
public int GroupId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单位分类ID,关联表building_category
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("category_id")]
|
|
|
|
|
public int CategoryId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 坐标纬度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float Latitude { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 坐标经度
|
|
|
|
|
/// </summary>
|
|
|
|
|
public float Longitude { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 地址名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("location_name")]
|
|
|
|
|
public string LocationName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 单位名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重要等级
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("important_rating")]
|
|
|
|
|
public Int16 ImportantRating { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 监管等级
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("supervise_level")]
|
|
|
|
|
public Int16 SuperviseLevel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 上级单位ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("parent_unit_id")]
|
|
|
|
|
public int ParentUnitId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 负责人姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("principal_name")]
|
|
|
|
|
public string PrincipalName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 负责人联系电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("principal_phone_num")]
|
|
|
|
|
public string PrincipalPhoneNum { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("people_num")]
|
|
|
|
|
public Int16 PeopleNum { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 占地面积
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("cover_area")]
|
|
|
|
|
public int CoverArea { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 使用面积
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("use_area")]
|
|
|
|
|
public int UseArea { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 图片集合
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Imgs { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 附件信息集合
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Attachments { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作员ID,关联表gate_member
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("operator_id")]
|
|
|
|
|
public int OperatorId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Column("upt_time")]
|
|
|
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|