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.
64 lines
1.5 KiB
C#
64 lines
1.5 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProductionSystem_Model.DbModel.Test
|
|
{
|
|
/// <summary>
|
|
/// 测试步骤配置表
|
|
/// </summary>
|
|
[SugarTable("test_step")]
|
|
public class Test_Step
|
|
{
|
|
public Test_Step()
|
|
{
|
|
Id = Guid.NewGuid().ToString();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsNullable = false)]
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 测试名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "test_name")]
|
|
public string TestName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 测试内容
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "test_content")]
|
|
public string TestContent { get; set; }
|
|
|
|
/// <summary>
|
|
/// 索引
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "index")]
|
|
public int Index { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否启用
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "is_enable")]
|
|
public bool IsEnable { get; set; }
|
|
|
|
/// <summary>
|
|
/// 产品类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "product_type")]
|
|
public string ProductType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "remark")]
|
|
public string Remark { get; set; }
|
|
}
|
|
}
|