-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fec8cf7
commit dc6909a
Showing
23 changed files
with
1,240 additions
and
129 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
using Microsoft.EntityFrameworkCore; | ||
|
||
namespace Pims.Dal.Entities; | ||
|
||
[Table("PIMS_ACQ_FILE_ACQ_FL_TAKE_TYP")] | ||
[Index("AcquisitionFileId", Name = "AQFATT_ACQUISITION_FILE_ID_IDX")] | ||
[Index("AcqFileTakeTypeCode", Name = "AQFATT_ACQ_FILE_TAKE_TYPE_CODE_IDX")] | ||
public partial class PimsAcqFileAcqFlTakeTyp | ||
{ | ||
/// <summary> | ||
/// Generated surrogate primary key. | ||
/// </summary> | ||
[Key] | ||
[Column("ACQ_FILE_ACQ_FL_TAKE_TYPE_ID")] | ||
public long AcqFileAcqFlTakeTypeId { get; set; } | ||
|
||
/// <summary> | ||
/// Foreign key to the PIMS_ACQUISITION_FILE table. | ||
/// </summary> | ||
[Column("ACQUISITION_FILE_ID")] | ||
public long? AcquisitionFileId { get; set; } | ||
|
||
/// <summary> | ||
/// Foreign key to the PIMS_ACQ_FILE_TAKE_TYPE table. | ||
/// </summary> | ||
[Column("ACQ_FILE_TAKE_TYPE_CODE")] | ||
[StringLength(20)] | ||
public string AcqFileTakeTypeCode { get; set; } | ||
|
||
/// <summary> | ||
/// Application code is responsible for retrieving the row and then incrementing the value of the CONCURRENCY_CONTROL_NUMBER column by one prior to issuing an update. If this is done then the update will succeed, provided that the row was not updated by any o | ||
/// </summary> | ||
[Column("CONCURRENCY_CONTROL_NUMBER")] | ||
public long ConcurrencyControlNumber { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the user created the record. | ||
/// </summary> | ||
[Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime AppCreateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user account that created the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_CREATE_USERID")] | ||
[StringLength(30)] | ||
public string AppCreateUserid { get; set; } | ||
|
||
/// <summary> | ||
/// The GUID of the user account that created the record. | ||
/// </summary> | ||
[Column("APP_CREATE_USER_GUID")] | ||
public Guid? AppCreateUserGuid { get; set; } | ||
|
||
/// <summary> | ||
/// The directory of the user account that created the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_CREATE_USER_DIRECTORY")] | ||
[StringLength(30)] | ||
public string AppCreateUserDirectory { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the user updated the record. | ||
/// </summary> | ||
[Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime AppLastUpdateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user account that updated the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_LAST_UPDATE_USERID")] | ||
[StringLength(30)] | ||
public string AppLastUpdateUserid { get; set; } | ||
|
||
/// <summary> | ||
/// The GUID of the user account that updated the record. | ||
/// </summary> | ||
[Column("APP_LAST_UPDATE_USER_GUID")] | ||
public Guid? AppLastUpdateUserGuid { get; set; } | ||
|
||
/// <summary> | ||
/// The directory of the user account that updated the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_LAST_UPDATE_USER_DIRECTORY")] | ||
[StringLength(30)] | ||
public string AppLastUpdateUserDirectory { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the record was created. | ||
/// </summary> | ||
[Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime DbCreateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user or proxy account that created the record. | ||
/// </summary> | ||
[Required] | ||
[Column("DB_CREATE_USERID")] | ||
[StringLength(30)] | ||
public string DbCreateUserid { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the record was created or last updated. | ||
/// </summary> | ||
[Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime DbLastUpdateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user or proxy account that created or last updated the record. | ||
/// </summary> | ||
[Required] | ||
[Column("DB_LAST_UPDATE_USERID")] | ||
[StringLength(30)] | ||
public string DbLastUpdateUserid { get; set; } | ||
|
||
[ForeignKey("AcqFileTakeTypeCode")] | ||
[InverseProperty("PimsAcqFileAcqFlTakeTyps")] | ||
public virtual PimsAcqFileTakeType AcqFileTakeTypeCodeNavigation { get; set; } | ||
|
||
[ForeignKey("AcquisitionFileId")] | ||
[InverseProperty("PimsAcqFileAcqFlTakeTyps")] | ||
public virtual PimsAcquisitionFile AcquisitionFile { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
using Microsoft.EntityFrameworkCore; | ||
|
||
namespace Pims.Dal.Entities; | ||
|
||
[Table("PIMS_ACQ_FILE_ACQ_FL_TAKE_TYP_HIST")] | ||
[Index("AcqFileAcqFlTakeTypHistId", "EndDateHist", Name = "PIMS_AQFATT_H_UK", IsUnique = true)] | ||
public partial class PimsAcqFileAcqFlTakeTypHist | ||
{ | ||
[Key] | ||
[Column("_ACQ_FILE_ACQ_FL_TAKE_TYP_HIST_ID")] | ||
public long AcqFileAcqFlTakeTypHistId { get; set; } | ||
|
||
[Column("EFFECTIVE_DATE_HIST", TypeName = "datetime")] | ||
public DateTime EffectiveDateHist { get; set; } | ||
|
||
[Column("END_DATE_HIST", TypeName = "datetime")] | ||
public DateTime? EndDateHist { get; set; } | ||
|
||
[Column("ACQ_FILE_ACQ_FL_TAKE_TYPE_ID")] | ||
public long AcqFileAcqFlTakeTypeId { get; set; } | ||
|
||
[Column("ACQUISITION_FILE_ID")] | ||
public long? AcquisitionFileId { get; set; } | ||
|
||
[Column("ACQ_FILE_TAKE_TYPE_CODE")] | ||
[StringLength(20)] | ||
public string AcqFileTakeTypeCode { get; set; } | ||
|
||
[Column("CONCURRENCY_CONTROL_NUMBER")] | ||
public long ConcurrencyControlNumber { get; set; } | ||
|
||
[Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime AppCreateTimestamp { get; set; } | ||
|
||
[Required] | ||
[Column("APP_CREATE_USERID")] | ||
[StringLength(30)] | ||
public string AppCreateUserid { get; set; } | ||
|
||
[Column("APP_CREATE_USER_GUID")] | ||
public Guid? AppCreateUserGuid { get; set; } | ||
|
||
[Required] | ||
[Column("APP_CREATE_USER_DIRECTORY")] | ||
[StringLength(30)] | ||
public string AppCreateUserDirectory { get; set; } | ||
|
||
[Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime AppLastUpdateTimestamp { get; set; } | ||
|
||
[Required] | ||
[Column("APP_LAST_UPDATE_USERID")] | ||
[StringLength(30)] | ||
public string AppLastUpdateUserid { get; set; } | ||
|
||
[Column("APP_LAST_UPDATE_USER_GUID")] | ||
public Guid? AppLastUpdateUserGuid { get; set; } | ||
|
||
[Required] | ||
[Column("APP_LAST_UPDATE_USER_DIRECTORY")] | ||
[StringLength(30)] | ||
public string AppLastUpdateUserDirectory { get; set; } | ||
|
||
[Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime DbCreateTimestamp { get; set; } | ||
|
||
[Required] | ||
[Column("DB_CREATE_USERID")] | ||
[StringLength(30)] | ||
public string DbCreateUserid { get; set; } | ||
|
||
[Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime DbLastUpdateTimestamp { get; set; } | ||
|
||
[Required] | ||
[Column("DB_LAST_UPDATE_USERID")] | ||
[StringLength(30)] | ||
public string DbLastUpdateUserid { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations.Schema; | ||
using Microsoft.EntityFrameworkCore; | ||
|
||
namespace Pims.Dal.Entities; | ||
|
||
[Table("PIMS_ACQ_FILE_ACQ_PROGRESS")] | ||
[Index("AcquisitionFileId", Name = "AQFFLP_ACQUISITION_FILE_ID_IDX")] | ||
[Index("AcqFileProgessTypeCode", Name = "AQFFLP_ACQ_FILE_PROGESS_TYPE_CODE_IDX")] | ||
public partial class PimsAcqFileAcqProgress | ||
{ | ||
/// <summary> | ||
/// Generated surrogate primary key. | ||
/// </summary> | ||
[Key] | ||
[Column("ACQ_FILE_ACQ_PROGRESS_ID")] | ||
public long AcqFileAcqProgressId { get; set; } | ||
|
||
/// <summary> | ||
/// Foreign key to the PIMS_ACQUISITION_FILE table. | ||
/// </summary> | ||
[Column("ACQUISITION_FILE_ID")] | ||
public long? AcquisitionFileId { get; set; } | ||
|
||
/// <summary> | ||
/// Foreign key to the PIMS_ACQUISITION_FILE table. | ||
/// </summary> | ||
[Column("ACQ_FILE_PROGESS_TYPE_CODE")] | ||
[StringLength(20)] | ||
public string AcqFileProgessTypeCode { get; set; } | ||
|
||
/// <summary> | ||
/// Application code is responsible for retrieving the row and then incrementing the value of the CONCURRENCY_CONTROL_NUMBER column by one prior to issuing an update. If this is done then the update will succeed, provided that the row was not updated by any o | ||
/// </summary> | ||
[Column("CONCURRENCY_CONTROL_NUMBER")] | ||
public long ConcurrencyControlNumber { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the user created the record. | ||
/// </summary> | ||
[Column("APP_CREATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime AppCreateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user account that created the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_CREATE_USERID")] | ||
[StringLength(30)] | ||
public string AppCreateUserid { get; set; } | ||
|
||
/// <summary> | ||
/// The GUID of the user account that created the record. | ||
/// </summary> | ||
[Column("APP_CREATE_USER_GUID")] | ||
public Guid? AppCreateUserGuid { get; set; } | ||
|
||
/// <summary> | ||
/// The directory of the user account that created the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_CREATE_USER_DIRECTORY")] | ||
[StringLength(30)] | ||
public string AppCreateUserDirectory { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the user updated the record. | ||
/// </summary> | ||
[Column("APP_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime AppLastUpdateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user account that updated the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_LAST_UPDATE_USERID")] | ||
[StringLength(30)] | ||
public string AppLastUpdateUserid { get; set; } | ||
|
||
/// <summary> | ||
/// The GUID of the user account that updated the record. | ||
/// </summary> | ||
[Column("APP_LAST_UPDATE_USER_GUID")] | ||
public Guid? AppLastUpdateUserGuid { get; set; } | ||
|
||
/// <summary> | ||
/// The directory of the user account that updated the record. | ||
/// </summary> | ||
[Required] | ||
[Column("APP_LAST_UPDATE_USER_DIRECTORY")] | ||
[StringLength(30)] | ||
public string AppLastUpdateUserDirectory { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the record was created. | ||
/// </summary> | ||
[Column("DB_CREATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime DbCreateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user or proxy account that created the record. | ||
/// </summary> | ||
[Required] | ||
[Column("DB_CREATE_USERID")] | ||
[StringLength(30)] | ||
public string DbCreateUserid { get; set; } | ||
|
||
/// <summary> | ||
/// The date and time the record was created or last updated. | ||
/// </summary> | ||
[Column("DB_LAST_UPDATE_TIMESTAMP", TypeName = "datetime")] | ||
public DateTime DbLastUpdateTimestamp { get; set; } | ||
|
||
/// <summary> | ||
/// The user or proxy account that created or last updated the record. | ||
/// </summary> | ||
[Required] | ||
[Column("DB_LAST_UPDATE_USERID")] | ||
[StringLength(30)] | ||
public string DbLastUpdateUserid { get; set; } | ||
|
||
[ForeignKey("AcqFileProgessTypeCode")] | ||
[InverseProperty("PimsAcqFileAcqProgresses")] | ||
public virtual PimsAcqFileProgessType AcqFileProgessTypeCodeNavigation { get; set; } | ||
|
||
[ForeignKey("AcquisitionFileId")] | ||
[InverseProperty("PimsAcqFileAcqProgresses")] | ||
public virtual PimsAcquisitionFile AcquisitionFile { get; set; } | ||
} |
Oops, something went wrong.