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.
113 lines
3.3 KiB
113 lines
3.3 KiB
using System; |
|
using System.Collections.Generic; |
|
using System.ComponentModel.DataAnnotations.Schema; |
|
using System.Text; |
|
|
|
namespace Domain.Models.Waters |
|
{ |
|
[Table("water")] |
|
public class Water |
|
{ |
|
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> |
|
/// 坐标纬度 |
|
/// </summary> |
|
public float Latitude { get; set; } |
|
/// <summary> |
|
/// 坐标经度 |
|
/// </summary> |
|
public float Longitude { get; set; } |
|
/// <summary> |
|
/// 地址名称 |
|
/// </summary> |
|
[Column("location_name")] |
|
public string LocationName { get; set; } |
|
/// <summary> |
|
/// 单位分类ID,关联表building_category |
|
/// </summary> |
|
[Column("category_id")] |
|
public int CategoryId { get; set; } |
|
/// <summary> |
|
/// 水源类型 |
|
/// </summary> |
|
public short Type { get; set; } |
|
/// <summary> |
|
/// 水源编号 |
|
/// </summary> |
|
public string Code { get; set; } |
|
/// <summary> |
|
/// 水源状态:0.损坏 1.好用 2.不好用 |
|
/// </summary> |
|
public short Status { get; set; } |
|
/// <summary> |
|
/// 管网形式:0.环状 1.枝状 |
|
/// </summary> |
|
[Column("guanwang_type")] |
|
public short GuanangType { get; set; } |
|
/// <summary> |
|
/// 管网直径,单位(mm) |
|
/// </summary> |
|
[Column("guanwang_diam")] |
|
public float GuanwangDiam { get; set; } |
|
/// <summary> |
|
/// 管网压力 |
|
/// </summary> |
|
[Column("guanwang_pressure")] |
|
public float GuanwangPressure { get; set; } |
|
/// <summary> |
|
/// 供水单位 |
|
/// </summary> |
|
[Column("supply_company")] |
|
public string SupplyCompany { 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("install_date")] |
|
public string InstallDate { get; set; } |
|
/// <summary> |
|
/// 水源更新日期 |
|
/// </summary> |
|
[Column("change_date")] |
|
public string ChangeDate { get; set; } |
|
/// <summary> |
|
/// 水源注销日期 |
|
/// </summary> |
|
[Column("cancel_date")] |
|
public string CancelDate { get; set; } |
|
/// <summary> |
|
/// 水源照片 |
|
/// </summary> |
|
public string Imgs { get; set; } |
|
/// <summary> |
|
/// 备注 |
|
/// </summary> |
|
public string Remark { get; set; } |
|
/// <summary> |
|
/// 操作人 |
|
/// </summary> |
|
[Column("operator_id")] |
|
public int OperatorId { get; set; } |
|
[Column("upt_time")] |
|
public DateTime UpdateTime { get; set; } |
|
} |
|
}
|
|
|