add 房屋相关单位信息维护

This commit is contained in:
2021-07-06 10:31:56 +08:00
parent 954e5291a3
commit 39d3a83a02
13 changed files with 759 additions and 87 deletions

View File

@@ -0,0 +1,36 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Application
{
[Table("bs_house_company")]
[Comment("房屋相关单位表")]
public class BsHouseCompany : Core.DEntityBase
{
/// <summary>
/// 单位类型,多选
/// </summary>
[Comment("单位类型,多选")]
[MaxLength(20)]
public string Type { get; set; }
/// <summary>
/// 单位名称
/// </summary>
[Comment("单位名称")]
[MaxLength(200)]
public string Name { get; set; }
/// <summary>
/// 信息
/// </summary>
[Comment("信息")]
public string Info { get; set; }
}
}

View File

@@ -1,55 +0,0 @@
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ewide.Application.Entity
{
public class BsHouseCompany : Core.DEntityBase
{
/// <summary>
/// 单位类型,多选
/// </summary>
[Comment("单位类型,多选")]
[MaxLength(20)]
public string Type { get; set; }
/// <summary>
/// 单位名称
/// </summary>
[Comment("单位名称")]
[MaxLength(200)]
public string CompanyName { get; set; }
/// <summary>
/// 单位负责人
/// </summary>
[Comment("单位负责人")]
[MaxLength(100)]
public string ChargePerson { get; set; }
/// <summary>
/// 单位负责人电话
/// </summary>
[Comment("单位负责人电话")]
[MaxLength(50)]
public string ChargePersonTel { get; set; }
/// <summary>
/// 单位联系人
/// </summary>
[Comment("单位联系人")]
[MaxLength(100)]
public string ContactPerson { get; set; }
/// <summary>
/// 单位联系人电话
/// </summary>
[Comment("单位联系人电话")]
[MaxLength(50)]
public string ContactPersonTel { get; set; }
}
}