You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
48 lines
1.4 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Volo.Abp.Domain.Entities;
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
namespace Shentun.Peis.Models
|
|
{
|
|
/// <summary>
|
|
/// 总检建议内容
|
|
/// </summary>
|
|
[Table("sum_suggestion_content")]
|
|
public class SumSuggestionContent: AuditedEntity<Guid>, IHasConcurrencyStamp
|
|
{
|
|
/// <summary>
|
|
/// 建议头ID
|
|
/// </summary>
|
|
[Column("sum_suggestion_header_id")]
|
|
public Guid SumSuggestionHeaderId { get; set; }
|
|
[Column("suggestion_type")]
|
|
[StringLength(1)]
|
|
public string SuggestionType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 建议内容
|
|
/// </summary>
|
|
[Column("suggestion_content")]
|
|
[StringLength(100)]
|
|
public string SuggestionContent { get; set; } = null!;
|
|
[Column("display_order")]
|
|
public int? DisplayOrder { get; set; }
|
|
|
|
[Column("concurrency_stamp")]
|
|
public string ConcurrencyStamp { get; set; }
|
|
|
|
|
|
[ForeignKey(nameof(SumSuggestionHeaderId))]
|
|
[InverseProperty("SumSuggestionContents")]
|
|
public virtual SumSuggestionHeader SumSuggestionHeader { get; set; } = null!;
|
|
|
|
//public override object[] GetKeys()
|
|
//{
|
|
// return new object[] { SumSuggestionContentId };
|
|
//}
|
|
}
|
|
}
|