You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
692 B
C#
36 lines
692 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DB.Entity
|
|
{
|
|
public class ReadBufLog: BaseChimsDb
|
|
{
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 类别
|
|
/// </summary>
|
|
public string Category { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 条码
|
|
/// </summary>
|
|
public string BarCode { get; set; }
|
|
}
|
|
|
|
|
|
public class ReadBufLogMapper : SystemEntityTypeBuilder<ReadBufLog>
|
|
{
|
|
public ReadBufLogMapper() : base("ReadBufLog")
|
|
{
|
|
this.Property(x => x.Category).HasSize(4);
|
|
}
|
|
}
|
|
}
|