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.
 
 
 

78 lines
1.9 KiB

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