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