using Microsoft.EntityFrameworkCore; using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Znyc.Admin.Commons.Entitys; namespace Znyc.Admin.Security.Entitys { /// /// 公司表 /// [Table("dc_company")] [Comment("公司表")] public class Company : BaseEntity { /// /// 公司名称 /// [Comment("公司名称")] public string CompanyName { get; set; } /// /// 公司Logo /// [Comment("公司Logo")] public string CompanyLogo { get; set; } /// /// 联系人 /// [Comment("联系人")] [Required, MaxLength(30)] public string ContactPerson { get; set; } /// /// 联系人电话 /// [Comment("联系人电话")] [Required, MaxLength(11)] public string ContactPhone { get; set; } /// /// 精度 /// [Comment("精度")] public decimal Longitude { get; set; } /// /// 纬度 /// [Comment("纬度")] public decimal Latitude { get; set; } /// /// 地址 /// [Comment("地址")] [MaxLength(35)] public string Address { get; set; } /// /// 审核时间 /// public DateTime AuditTime { get; set; } /// /// 状态(字典 0正常 1停用 2删除) /// [Comment("状态")] public int Status { get; set; } /// /// 停留标示Id /// [Comment("停留标示Id")] public long StopTag { get; set; } } }