提交
This commit is contained in:
77
api_v1/Appointment.Entity/Model/ApptSpring.cs
Normal file
77
api_v1/Appointment.Entity/Model/ApptSpring.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 温泉预订明细实体
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
[SugarTable("appt_spring")]
|
||||
public class ApptSpring
|
||||
{
|
||||
/// <summary>
|
||||
/// 自增主键
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int? Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// guid
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 同一个订单的的(暂订单、确认单)GUID相同
|
||||
/// </remarks>
|
||||
public string Guid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 所属预订主单
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "appt_id")]
|
||||
public int? ApptId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 温泉_日期
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "spring_time")]
|
||||
public DateTime SpringTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 总人数(自动计算):0-待定
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "people_num")]
|
||||
public int PeopleNum { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// spring_men
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "spring_men")]
|
||||
public int SpringMen { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 女性人数:0-待定
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "spring_women")]
|
||||
public int SpringWomen { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 二次消费
|
||||
/// </summary>
|
||||
public string Consume { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单价
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "spring_price")]
|
||||
public decimal SpringPrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string Remark { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user