z8018
2 天以前 d8dc91f9c1fece5711e38edd1b1274cb9e579015
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
 
namespace WIDESEA_Model.Models
{
    /// <summary>
    /// 字符映射表
    /// </summary>
    [SugarTable(nameof(Dt_CharMapping), TableDescription = "字符映射表")]
    public class Dt_CharMapping
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 输入字符
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 1, ColumnDescription = "输入字符")]
        public string InputChar { get; set; } = null!;
 
        /// <summary>
        /// 映射字符
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 1, ColumnDescription = "映射字符")]
        public string OutputChar { get; set; } = null!;
 
        /// <summary>
        /// 映射偏移量
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "映射偏移量")]
        public int ShiftFactor { get; set; }
    }
}