FreeSql/FreeSql.Tests/FreeSql.Tests/Other/CustomerCheckupGroup.cs
2020-07-18 13:50:26 +08:00

90 lines
2.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
// Website: http://www.freesql.net
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace ZX.Model {
[JsonObject(MemberSerialization.OptIn)]
public class CustomerCheckupGroup {
[JsonProperty, Column(IsPrimary = true)]
public short ShopId { get => _ShopId; set {
if (_ShopId == value) return;
_ShopId = value;
} }
private short _ShopId;
[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true)]
public string Id { get; set; }
[JsonProperty, Column(DbType = "nvarchar(50)")]
public string MemberId { get => _MemberId; set {
if (_MemberId == value) return;
_MemberId = value;
} }
private string _MemberId;
[JsonProperty, Column(DbType = "varchar(50)")]
public string Discount { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string Doctor { get; set; }
[JsonProperty]
public DateTime? FirstTime { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string Group { get; set; }
[JsonProperty]
public DateTime? InsertTime { get; set; }
[JsonProperty, Column(Name = "isOK")]
public bool? IsOK { get; set; }
[JsonProperty, Column(Name = "isPay", DbType = "varchar(50)")]
public string IsPay { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string Office { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string PayType { get; set; }
[JsonProperty, Column(DbType = "decimal(9,2)")]
public decimal? Price { get; set; }
[JsonProperty]
public DateTime? UpdateTime { get; set; }
[JsonProperty, Column(DbType = "decimal(9,2)")]
public decimal? Value { get; set; }
#region => ManyToOne/OneToOne
[Navigate("ShopId, MemberId")]
public virtual CustomerMember CustomerMember { get; set; }
#endregion
#region => ManyToMany
#endregion
}
}