删除以前的业务代码
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SimpleAdmin.Application.Entity
|
||||
{
|
||||
[SugarTable("WeiBingJu_Medicinal", TableDescription = "药材管理")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
[CodeGen]
|
||||
public class Medicinal : DataEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 药材
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "药材")]
|
||||
public string MedicinalName { get; set; }
|
||||
/// <summary>
|
||||
/// 数量(g)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "数量(g)")]
|
||||
public decimal Number { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SimpleAdmin.Application.Entity
|
||||
{
|
||||
[SugarTable("WeiBingJu_MedicinalAddLog", TableDescription = "药材添加记录")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
[CodeGen]
|
||||
public class MedicinalAddLog : DataEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 药材关联id
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "药材关联id")]
|
||||
public long MedicinalId { get; set; }
|
||||
/// <summary>
|
||||
/// 添加重量(g)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "添加重量(g)")]
|
||||
public decimal AddWeight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 药材单价
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "药材单价")]
|
||||
public decimal UnitPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总价
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "总价")]
|
||||
public decimal TotalPrice { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SimpleAdmin.Application.Entity
|
||||
{
|
||||
[SugarTable("WeiBingJu_Person", TableDescription = "人员表(员工和员工亲戚)")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
[CodeGen]
|
||||
public class Person : DataEntityBase
|
||||
{
|
||||
[SugarColumn(Length = 128, ColumnDescription = "姓名")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 若非空,表示此 person 是某员工的家属
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "关联员工Id", IsNullable = true)]
|
||||
public long? EmployeeId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnDescription = "关系配置id", IsNullable = true)]
|
||||
public long? RelationShip { get; set; }
|
||||
|
||||
[SugarColumn(ColumnDescription = "出生日期", IsNullable = true)]
|
||||
public string Birthday { get; set; }
|
||||
|
||||
/// <summary>单位 cm,保留两位小数</summary>
|
||||
[SugarColumn(ColumnDescription = "身高(cm)", IsNullable = true)]
|
||||
public decimal? Height { get; set; }
|
||||
|
||||
[SugarColumn(ColumnDescription = "1领导,2普通员工,3其他", IsNullable = true)]
|
||||
public int? Type { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SimpleAdmin.Application.Entity
|
||||
{
|
||||
[SugarTable("WeiBingJu_Prescription", TableDescription = "处方管理")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
[CodeGen]
|
||||
public class Prescription : DataEntityBase
|
||||
{
|
||||
[SugarColumn(ColumnDescription = "处方对象 PersonId")]
|
||||
public long PersonId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnDescription = "诊断结果", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||||
public string DiagnosisResult { get; set; }
|
||||
|
||||
[SugarColumn(ColumnDescription = "用药建议", ColumnDataType = StaticConfig.CodeFirst_BigString)]
|
||||
public string UserMedicinaAdvice { get; set; }
|
||||
|
||||
[SugarColumn(ColumnDescription = "就诊时间")]
|
||||
public DateTime? VisitDate { get; set; }
|
||||
|
||||
|
||||
/// <summary>单位 kg,保留两位小数</summary>
|
||||
[SugarColumn(ColumnDescription = "体重(kg)", IsNullable = true)]
|
||||
public decimal? Weight { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
// Copyright (c) 2022-Now 少林寺驻北固山办事处大神父王喇嘛
|
||||
//
|
||||
// SimpleAdmin 基于 Apache License Version 2.0 协议发布,可用于商业项目,但必须遵守以下补充条款:
|
||||
// 1.请不要删除和修改根目录下的LICENSE文件。
|
||||
// 2.请不要删除和修改SimpleAdmin源码头部的版权声明。
|
||||
// 3.分发源码时候,请注明软件出处 https://gitee.com/dotnetmoyu/SimpleAdmin
|
||||
// 4.基于本软件的作品,只能使用 SimpleAdmin 作为后台服务,除外情况不可商用且不允许二次分发或开源。
|
||||
// 5.请不得将本软件应用于危害国家安全、荣誉和利益的行为,不能以任何形式用于非法为目的的行为。
|
||||
// 6.任何基于本软件而产生的一切法律纠纷和责任,均于我司无关。
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SimpleAdmin.Application.Entity
|
||||
{
|
||||
[SugarTable("WeiBingJu_PrescriptionHerb", TableDescription = "处方消耗药材表")]
|
||||
[Tenant(SqlSugarConst.DB_DEFAULT)]
|
||||
[CodeGen]
|
||||
public class PrescriptionHerb : DataEntityBase
|
||||
{
|
||||
[SugarColumn(ColumnDescription = "处方Id")]
|
||||
public long PrescriptionId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnDescription = "药材Id")]
|
||||
public long MedicinalId { get; set; }
|
||||
|
||||
/// <summary>消耗克数,单位 g</summary>
|
||||
[SugarColumn(ColumnDescription = "消耗(g)")]
|
||||
public decimal AmountG { get; set; }
|
||||
|
||||
[SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "用量说明/备注")]
|
||||
public string Note { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user